[CST-15592] change health page test target for second tab

(cherry picked from commit 2369b27178)
This commit is contained in:
FrancescoMolinaro
2024-07-23 18:03:26 +02:00
committed by github-actions[bot]
parent 75981cf46e
commit a80b324f1f

View File

@@ -30,8 +30,10 @@ describe('Health Page > Info Tab', () => {
cy.get('ds-health-page').should('be.visible');
cy.get('a[data-test="health-page.info-tab"]').click();
// Analyze <ds-health-page> for accessibility issues
testA11y('ds-health-page', {
cy.get('ds-health-info').should('be.visible');
// Analyze <ds-health-info> for accessibility issues
testA11y('ds-health-info', {
rules: {
// All panels are accordians & fail "aria-required-children" and "nested-interactive".
// Seem to require updating ng-bootstrap and https://github.com/DSpace/dspace-angular/issues/2216