mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
120243: Disable 'aria-valid-attr-value' for community-list e2e test
This commit is contained in:
@@ -12,6 +12,13 @@ describe('Community List Page', () => {
|
|||||||
cy.get('[data-test="expand-button"]').click({ multiple: true });
|
cy.get('[data-test="expand-button"]').click({ multiple: true });
|
||||||
|
|
||||||
// Analyze <ds-community-list-page> for accessibility issues
|
// Analyze <ds-community-list-page> for accessibility issues
|
||||||
testA11y('ds-community-list-page');
|
testA11y('ds-community-list-page', {
|
||||||
|
rules: {
|
||||||
|
// When expanding a cdk node on the community-list page, the 'aria-posinset' property becomes 0.
|
||||||
|
// 0 is not a valid value for 'aria-posinset' so the test fails.
|
||||||
|
// see https://github.com/DSpace/dspace-angular/issues/4068
|
||||||
|
'aria-valid-attr-value': { enabled: false },
|
||||||
|
},
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user