Repro for IBMa/equal-access issue #1892

Steps:

  • open 2 terminal windows
    • in the first run npm run server (expected to run on port 8080)
    • in the second run npm run test
  • wait until the test is finished or you see Navigation timeout of 30000 ms exceeded

Run npm run test-ok to verify that the test can pass when a lazily loaded iframe is visible.

Broken test contains a hidden lazy iframe:

<div style="display: none;">
	<iframe loading="lazy" src="https://example.com/" frameborder="0"></iframe>
</div>

The ok test contains a visible lazy iframe:

<div>
	<iframe loading="lazy" src="https://example.com/" frameborder="0"></iframe>
</div>