diff --git a/packages/components/cypress/e2e/card-control.cy.ts b/packages/components/cypress/e2e/card-control.cy.ts index defc851015..339afc4dd3 100644 --- a/packages/components/cypress/e2e/card-control.cy.ts +++ b/packages/components/cypress/e2e/card-control.cy.ts @@ -504,7 +504,7 @@ describe('Card-Control', () => { describe('Accessibility', () => { it('Has no detectable a11y violations on load for all variants', () => { - cy.getSnapshots('card-control'); + cy.getSnapshots('post-card-control'); cy.checkA11y('#root-inner'); }); }); diff --git a/packages/documentation/cypress/e2e/components/card-control-standard-html.cy.ts b/packages/documentation/cypress/e2e/components/card-control-standard-html.cy.ts index 038338820c..e2467ed202 100644 --- a/packages/documentation/cypress/e2e/components/card-control-standard-html.cy.ts +++ b/packages/documentation/cypress/e2e/components/card-control-standard-html.cy.ts @@ -1,7 +1,7 @@ describe('Choice-card', () => { describe('Accessibility', () => { beforeEach(() => { - cy.visit('/iframe.html?id=snapshots--card-control-standard-html'); + cy.visit('/iframe.html?id=snapshots--card-control'); cy.get('.radio-button-card', { timeout: 30000 }).should('be.visible'); cy.injectAxe(); });