Skip to content

Commit

Permalink
copy pasta
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-siek committed May 9, 2024
1 parent 16d8df0 commit bdb7cfb
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,11 @@ public void withUnloadedIframes() {

String[] expected = new String[] { "#ifr-lazy", "#lazy-iframe" };

// chrome version 124 (regardless of webdriver version) is able to load
// lazy loaded iframes and run axe on them without timing out, but we
// still want to test that our code works with versions <124 to handle
// the iframe by giving a frame-tested incomplete
// chrome version is unable to load the iframe
if (!axeResults.getIncomplete().isEmpty()) {
assertEquals(axeResults.getIncomplete().size(), 1);
assertEquals(axeResults.getIncomplete().get(0).getId(), "frame-tested");
Expand Down

0 comments on commit bdb7cfb

Please sign in to comment.