diff --git a/cypress/generated/addon-viewport.spec.ts b/cypress/generated/addon-viewport.spec.ts index 0177cbbb7d08..9f99e37ded06 100644 --- a/cypress/generated/addon-viewport.spec.ts +++ b/cypress/generated/addon-viewport.spec.ts @@ -4,7 +4,7 @@ describe('addon-viewport', () => { }); it('should have viewport button in the toolbar', () => { - cy.navigateToStory('button', 'Text'); + cy.navigateToStory('example-button', 'Primary'); // Click on viewport button and select small mobile cy.get('[title="Change the size of the preview"]').click();