Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update test-fixtures to fix lazy load #458

Merged
merged 2 commits into from
May 9, 2024
Merged

Conversation

straker
Copy link
Contributor

@straker straker commented May 9, 2024

Fixes the broken lazy load iframe tests.

Ref: dequelabs/axe-core-npm#1052

No QA needed.

@straker straker requested a review from a team as a code owner May 9, 2024 16:11
@@ -557,7 +555,6 @@ public void withMultipleIncludes() {

assertTrue(targets.stream().anyMatch(selector -> selector.equalsIgnoreCase(".include")));
assertTrue(targets.stream().anyMatch(selector -> selector.equalsIgnoreCase(".include2")));
assertEquals(axeResults.getPasses().get(0).getNodes().size(), 2);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In javascript land we don't check the size of the nodes but the size of the nodes are 4 instead of 2 with the new test fixtures with how they are laid out

@straker straker merged commit a98f328 into develop May 9, 2024
15 checks passed
@straker straker deleted the update-test-fixtures branch May 9, 2024 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants