web_renderjs_ui_test: fix flaky testFormViewHistoricalRevisionLink

This test was using a blind `pause` instead of an explicit waitFor*, so
it was failing when machine was not fast enough.

Also refactor the test a bit to simplify the assertion by first
selecting the iframe we are going to inspect.
3 jobs for fix/testFormViewHistoricalRevisionLink in 0 seconds
Status Job ID Name Coverage
  External
failed ERP5-TestRunner1

07:53:11

failed ERP5-TestRunner1

05:37:53

canceled ERP5-TestRunner1