[e2e tests] Disable "aria-required-children" accessibility check on the Item Edit page, as it's gotten very flakey#5598
Merged
Conversation
… page. This check is returning false failures more frequently.
0a51123 to
ac33454
Compare
Member
Author
|
Merging immediately as this test has been problematic in our Will also port to all branches. |
Contributor
|
Successfully created backport PR for |
Contributor
|
Successfully created backport PR for |
Contributor
|
Successfully created backport PR for |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This small PR is disabling the
aria-required-childrenaccessibility rule from running on the Item Edit page (initem-edit.cy.ts). This test always succeeds when run locally. However, when in our CI environment in GitHub, it is randomly failing approximately 1/3 of the time.When the test fails, it returns this:
The failure is essentially saying that the
role="tablist"element (displayed in the error) doesn't contain anyrole="tab"elements. However, our Tabs on that page all have the requiredrole="tab"attribute and all appear as children of therole="tablist"element.We've tried various workarounds (e.g. #5518) to attempt to wait for the page to fully load before running the accessibility scan. But, these fixes don't have any impact on the random failures of the
aria-required-childrenrule on this page.Therefore, this PR is disabling that
aria-required-childrenrule only for this single e2e test. It is active in all other tests and on all other pages.This PR should be backported to all active branches as all branches show the same flakey behavior in this test.
Instructions for Reviewers