Skip to content

Commit 4a43ee9

Browse files
authored
Merge pull request #5601 from DSpace/backport-5598-to-dspace-9_x
[Port dspace-9_x] [e2e tests] Disable "aria-required-children" accessibility check on the Item Edit page, as it's gotten very flakey
2 parents af47b09 + 774cabf commit 4a43ee9

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

cypress/e2e/item-edit.cy.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,16 @@ describe('Edit Item > Edit Metadata tab', () => {
3434
});
3535

3636
// Analyze <ds-edit-item-page> for accessibility issues
37-
testA11y('ds-edit-item-page');
37+
testA11y('ds-edit-item-page',
38+
{
39+
rules: {
40+
// Disable flakey "aria-required-children" test. While this test passes when run locally,
41+
// in GitHub CI it will return random failures roughly 1/3 of the time saying that the
42+
// "tablist" doesn't contain required "tab" elements, even though they do exist.
43+
'aria-required-children': { enabled: false },
44+
},
45+
} as Options,
46+
);
3847
});
3948
});
4049

0 commit comments

Comments
 (0)