diff --git a/.circleci/config.yml b/.circleci/config.yml index 831dcd0f48bc..c5222aac5d6a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -195,7 +195,7 @@ jobs: command: yarn wait-on http://localhost:6000 - run: name: Run E2E tests - command: yarn test:e2e-framework --clean --all --skip angular11 --skip angular --skip vue3 --skip web_components_typescript --skip cra + command: yarn test:e2e-framework --clean --all --skip angular11 --skip angular --skip angular12 --skip vue3 --skip web_components_typescript --skip cra no_output_timeout: 5m - store_artifacts: path: /tmp/cypress-record @@ -221,7 +221,8 @@ jobs: name: Run E2E tests # Do not test CRA here because it's done in PnP part # TODO: Remove `web_components_typescript` as soon as Lit 2 stable is released - command: yarn test:e2e-framework vue3 angular angular11 web_components_typescript web_components_lit2 + # TODO: Add `angular` as soon as Storybook is compatible with Angular 13 + command: yarn test:e2e-framework vue3 angular12 angular11 web_components_typescript web_components_lit2 no_output_timeout: 5m - store_artifacts: path: /tmp/cypress-record diff --git a/app/preact/preset.js b/app/preact/preset.js index 4496115b389c..324b0db8eda2 100644 --- a/app/preact/preset.js +++ b/app/preact/preset.js @@ -1 +1 @@ -module.exports = require('./dist/cjs/server/framework-preset-babel-preact'); +module.exports = require('./dist/cjs/server/framework-preset-preact'); diff --git a/cypress/generated/addon-docs.spec.ts b/cypress/generated/addon-docs.spec.ts index 0126bd9e2abd..0efffca5d2b5 100644 --- a/cypress/generated/addon-docs.spec.ts +++ b/cypress/generated/addon-docs.spec.ts @@ -16,21 +16,23 @@ describe('addon-docs', () => { }); skipOn('vue3', () => { - it('should provide source snippet', () => { - cy.getDocsElement() - .find('.docblock-code-toggle') - .first() - .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 }); + skipOn('html', () => { + it('should provide source snippet', () => { + cy.getDocsElement() + .find('.docblock-code-toggle') + .first() + .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') - .first() - .should(($div) => { - const text = $div.text(); - expect(text).not.match(/^\(args\) => /); - }); + cy.getDocsElement() + .find('pre.prismjs') + .first() + .should(($div) => { + const text = $div.text(); + expect(text).not.match(/^\(args\) => /); + }); + }); }); }); }); diff --git a/lib/cli/src/repro-generators/configs.ts b/lib/cli/src/repro-generators/configs.ts index 20eab4bfea92..c3b2f6e79660 100644 --- a/lib/cli/src/repro-generators/configs.ts +++ b/lib/cli/src/repro-generators/configs.ts @@ -111,6 +111,12 @@ export const angular11: Parameters = { version: 'v11-lts', }; +export const angular12: Parameters = { + ...baseAngular, + name: 'angular12', + version: 'v12-lts', +}; + export const angular: Parameters = baseAngular; // #endregion