mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 02:24:11 +00:00
Reenable accessibility test which is now fixed
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
import { testA11y } from 'cypress/support/utils';
|
import { testA11y } from 'cypress/support/utils';
|
||||||
import { Options } from 'cypress-axe';
|
|
||||||
|
|
||||||
describe('Admin Sidebar', () => {
|
describe('Admin Sidebar', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
@@ -16,13 +15,6 @@ describe('Admin Sidebar', () => {
|
|||||||
cy.get('ds-expandable-admin-sidebar-section').click({ multiple: true });
|
cy.get('ds-expandable-admin-sidebar-section').click({ multiple: true });
|
||||||
|
|
||||||
// Analyze <ds-admin-sidebar> for accessibility
|
// Analyze <ds-admin-sidebar> for accessibility
|
||||||
testA11y('ds-admin-sidebar',
|
testA11y('ds-admin-sidebar');
|
||||||
{
|
|
||||||
rules: {
|
|
||||||
// Currently all expandable sections have nested interactive elements
|
|
||||||
// See https://github.com/DSpace/dspace-angular/issues/2178
|
|
||||||
'nested-interactive': { enabled: false },
|
|
||||||
},
|
|
||||||
} as Options);
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user