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

This commit is contained in:
FrancescoMolinaro
2024-07-23 18:03:26 +02:00
parent db891f2f16
commit 5479cc6274

View File

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