Commits
FrancescoMolinaro authored and github-actions[bot] committed a80b324f1fd
23 23 | } as Options); |
24 24 | }); |
25 25 | }); |
26 26 | |
27 27 | describe('Health Page > Info Tab', () => { |
28 28 | it('should pass accessibility tests', () => { |
29 29 | // Page must first be visible |
30 30 | cy.get('ds-health-page').should('be.visible'); |
31 31 | cy.get('a[data-test="health-page.info-tab"]').click(); |
32 32 | |
33 - | // Analyze <ds-health-page> for accessibility issues |
34 - | testA11y('ds-health-page', { |
33 + | cy.get('ds-health-info').should('be.visible'); |
34 + | |
35 + | // Analyze <ds-health-info> for accessibility issues |
36 + | testA11y('ds-health-info', { |
35 37 | rules: { |
36 38 | // All panels are accordians & fail "aria-required-children" and "nested-interactive". |
37 39 | // Seem to require updating ng-bootstrap and https://github.com/DSpace/dspace-angular/issues/2216 |
38 40 | 'aria-required-children': { enabled: false }, |
39 41 | 'nested-interactive': { enabled: false }, |
40 42 | }, |
41 43 | } as Options); |
42 44 | }); |
43 45 | }); |