Skip to content

Commit

Permalink
a11y.js test now use naming Type tested for a11y axe violations
Browse files Browse the repository at this point in the history
  • Loading branch information
ichim-david authored Nov 26, 2024
1 parent 584ec97 commit 45ad26c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/volto/cypress/tests/core/content/a11y.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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');
Expand All @@ -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');
Expand All @@ -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');
Expand All @@ -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');
Expand All @@ -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');
Expand Down

0 comments on commit 45ad26c

Please sign in to comment.