Skip to content

Commit

Permalink
fix(e2e): update test of viewport to match latest example stories
Browse files Browse the repository at this point in the history
Example stories used in CLI have been updated recently however the E2E tests were not changed accordingly.
  • Loading branch information
gaetanmaisse committed Jul 20, 2020
1 parent da9f907 commit b783ffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/generated/addon-viewport.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit b783ffc

Please sign in to comment.