Skip to content

Commit ac33454

Browse files
committed
Disable "aria-required-children" accessibility check on the Item Edit page. This check is returning false failures more frequently.
1 parent 54417ab commit ac33454

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)