diff --git a/code/cypress/generated/addon-docs.spec.ts b/code/cypress/generated/addon-docs.spec.ts deleted file mode 100644 index 2c53141f7cf0..000000000000 --- a/code/cypress/generated/addon-docs.spec.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { skipOn } from '@cypress/skip-test'; - -describe('addon-docs', () => { - beforeEach(() => { - cy.visitStorybook(); - cy.navigateToStory('example-button', 'docs'); - }); - - skipOn('vue3', () => { - skipOn('html', () => { - it('should provide source snippet', () => { - cy.getDocsElement() - .find('.docblock-code-toggle') - .each(($div) => { - cy.wrap($div) - .should('contain.text', 'Show code') - // use force click so cypress does not automatically scroll, making the source block visible on this step - .click({ force: true }); - }); - - cy.getDocsElement() - .find('pre.prismjs') - .each(($div) => { - const text = $div.text(); - expect(text).not.match(/^\(args\) => /); - }); - }); - }); - }); -}); diff --git a/examples/official-storybook/stories/title/AutoTitle.stories.js b/examples/official-storybook/stories/title/AutoTitle.stories.js index 3a2b02502232..125c1157c1c1 100644 --- a/examples/official-storybook/stories/title/AutoTitle.stories.js +++ b/examples/official-storybook/stories/title/AutoTitle.stories.js @@ -10,4 +10,3 @@ export default { }; export const Basic = () =>