storybook/cypress/generated/addon-docs.spec.ts
2021-09-14 12:21:57 +08:00

12 lines
276 B
TypeScript

describe('addon-action', () => {
before(() => {
cy.visitStorybook();
});
it('should have docs tab', () => {
cy.navigateToStory('example-button', 'primary');
cy.viewAddonTab('Docs');
cy.getDocsElement().get('.sbdocs-title').contains('Button');
});
});