[CST-15592] improve tests, add attributes for testing, fix wrong references

This commit is contained in:
FrancescoMolinaro
2024-07-23 17:13:20 +02:00
parent 4cd55d6669
commit 69f618e856
9 changed files with 50 additions and 17 deletions

View File

@@ -12,6 +12,9 @@ describe('Admin Workflow Page', () => {
cy.get('ds-admin-workflow-page').should('be.visible');
// At least one search result should be displayed
cy.get('[data-test="list-object"]').should('be.visible');
// Click each filter toggle to open *every* filter
// (As we want to scan filter section for accessibility issues as well)
cy.get('[data-test="filter-toggle"]').click({ multiple: true });
// Analyze <ds-admin-workflow-page> for accessibility issues
testA11y('ds-admin-workflow-page');
});