From 45ad26c770f877ec4f2d4df74d9f040b6c88c803 Mon Sep 17 00:00:00 2001 From: Ichim David Date: Tue, 26 Nov 2024 12:18:34 +0200 Subject: [PATCH] a11y.js test now use naming Type tested for a11y axe violations --- packages/volto/cypress/tests/core/content/a11y.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/volto/cypress/tests/core/content/a11y.js b/packages/volto/cypress/tests/core/content/a11y.js index 94b45c54fb..c266399a4b 100644 --- a/packages/volto/cypress/tests/core/content/a11y.js +++ b/packages/volto/cypress/tests/core/content/a11y.js @@ -5,7 +5,7 @@ describe('Accessibility Tests Content Types', () => { cy.injectAxe(); // make sure axe is available on the page }); - it('Event has no a11y violations', () => { + it('Event tested for a11y axe violations', () => { cy.get('#toolbar-add').click(); cy.get('#toolbar-add-event').click(); cy.get('.documentFirstHeading').type('Test Event Content Type'); @@ -17,7 +17,7 @@ describe('Accessibility Tests Content Types', () => { cy.checkA11y(); }); - it('File has no a11y violations', () => { + it('File tested for a11y axe violations', () => { cy.get('#toolbar-add').click(); cy.get('#toolbar-add-file').click(); cy.get('#field-title').type('Test File Content Type'); @@ -36,7 +36,7 @@ describe('Accessibility Tests Content Types', () => { cy.checkA11y(); }); - it('Image has no a11y violations', () => { + it('Image tested for a11y axe violations', () => { cy.get('#toolbar-add').click(); cy.get('#toolbar-add-image').click(); cy.get('#field-title').type('Test Image Content Type'); @@ -59,7 +59,7 @@ describe('Accessibility Tests Content Types', () => { cy.checkA11y(); }); - it('Link has no a11y violations', () => { + it('Link tested for a11y axe violations', () => { cy.get('#toolbar-add').click(); cy.get('#toolbar-add-link').click(); cy.get('#field-title').type('Test Link Content Type'); @@ -76,7 +76,7 @@ describe('Accessibility Tests Content Types', () => { cy.checkA11y(); }); - it('News Item has no a11y violations', () => { + it('News Item tested for a11y axe violations', () => { cy.get('#toolbar-add').click(); cy.get('#toolbar-add-news-item').click(); cy.get('.documentFirstHeading').type('Test News Content Type'); @@ -88,7 +88,7 @@ describe('Accessibility Tests Content Types', () => { cy.checkA11y(); }); - it('Page has no a11y violations', () => { + it('Page tested for a11y axe violations', () => { cy.get('#toolbar-add').click(); cy.get('#toolbar-add-document').click(); cy.get('.documentFirstHeading').type('My Page');