Skip to content

Commit 976810f

Browse files
authored
Merge pull request DSpace#5598 from tdonohue/disable_flakey_test
[e2e tests] Disable "aria-required-children" accessibility check on the Item Edit page, as it's gotten very flakey
2 parents 54417ab + ac33454 commit 976810f

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)