From a6095a4a44710e52d8d4aab171ef4b4cd5ba1b5f Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Fri, 30 Sep 2022 11:21:16 +0200 Subject: [PATCH] delete cypress usage --- .circleci/config.yml | 161 ------ CONTRIBUTING.old.md | 17 +- code/.eslintrc.js | 1 - code/cypress/.eslintrc.json | 6 - code/cypress/fixtures/example.json | 5 - code/cypress/generated/addon-action.spec.ts | 19 - .../generated/addon-backgrounds.spec.ts | 26 - code/cypress/generated/addon-controls.spec.ts | 49 -- code/cypress/generated/addon-docs.spec.ts | 30 -- .../generated/addon-interactions.spec.ts | 53 -- code/cypress/generated/addon-viewport.spec.ts | 16 - code/cypress/generated/basic.spec.ts | 80 --- code/cypress/helper.ts | 51 -- code/cypress/integration/navigation.spec.ts | 40 -- code/cypress/plugins/index.js | 22 - code/cypress/plugins/webpack.config.js | 21 - code/cypress/report-teamcity-metadata.ts | 70 --- code/cypress/support/commands.js | 134 ----- code/cypress/support/index.d.ts | 59 --- code/cypress/support/index.js | 28 - code/cypress/tsconfig.json | 11 - code/cypress/typings.d.ts | 1 - code/package.json | 6 - code/yarn.lock | 410 ++------------- scripts/package.json | 4 - scripts/run-e2e.ts | 26 - scripts/yarn.lock | 485 +----------------- 27 files changed, 74 insertions(+), 1757 deletions(-) delete mode 100644 code/cypress/.eslintrc.json delete mode 100644 code/cypress/fixtures/example.json delete mode 100644 code/cypress/generated/addon-action.spec.ts delete mode 100644 code/cypress/generated/addon-backgrounds.spec.ts delete mode 100644 code/cypress/generated/addon-controls.spec.ts delete mode 100644 code/cypress/generated/addon-docs.spec.ts delete mode 100644 code/cypress/generated/addon-interactions.spec.ts delete mode 100644 code/cypress/generated/addon-viewport.spec.ts delete mode 100644 code/cypress/generated/basic.spec.ts delete mode 100644 code/cypress/helper.ts delete mode 100644 code/cypress/integration/navigation.spec.ts delete mode 100644 code/cypress/plugins/index.js delete mode 100644 code/cypress/plugins/webpack.config.js delete mode 100644 code/cypress/report-teamcity-metadata.ts delete mode 100644 code/cypress/support/commands.js delete mode 100644 code/cypress/support/index.d.ts delete mode 100644 code/cypress/support/index.js delete mode 100644 code/cypress/tsconfig.json delete mode 100644 code/cypress/typings.d.ts diff --git a/.circleci/config.yml b/.circleci/config.yml index 93f1a3ae5562..b5fa854bc912 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -27,21 +27,6 @@ executors: environment: NODE_OPTIONS: --max_old_space_size=3076 resource_class: <> - sb_cypress_8_node_14: - parameters: - class: - description: The Resource class - type: enum - enum: ['small', 'medium', 'medium+', 'large', 'xlarge'] - default: 'medium' - working_directory: /tmp/storybook - docker: - # ⚠️ The Cypress docker image is based on Node.js one so be careful when updating it because it can also - # cause an upgrade of Node.js version too. Cypress 8.5 image is based on Node.js 14 - - image: cypress/included:8.7.0 - environment: - NODE_OPTIONS: --max_old_space_size=3076 - resource_class: <> sb_playwright: parameters: class: @@ -184,85 +169,6 @@ jobs: root: . paths: - .verdaccio-cache - e2e-tests-extended: - executor: - class: medium - name: sb_cypress_8_node_14 - parallelism: 14 - steps: - - when: - condition: - and: - - not: - equal: [main, << pipeline.git.branch >>] - - not: - equal: [next, << pipeline.git.branch >>] - steps: - - ensure-pr-is-labeled-with: - label: 'run e2e extended test suite' - - git-shallow-clone/checkout_advanced: - clone_options: '--depth 1 --verbose' - - attach_workspace: - at: . - - run: - name: running local registry - command: | - cd code - yarn local-registry --port 6001 --open - background: true - - run: - name: Wait for registry - command: | - cd code - yarn wait-on http://localhost:6001 - - run: - name: Run E2E (extended) tests - command: | - cd code - yarn test:e2e-framework --clean --all --skip angular --skip angular12 --skip vue3 --skip web_components_typescript --skip cra --skip react - no_output_timeout: 5m - - store_artifacts: - path: /tmp/cypress-record - destination: cypress - e2e-tests-core: - executor: - class: large - name: sb_cypress_8_node_14 - parallelism: 8 - steps: - - git-shallow-clone/checkout_advanced: - clone_options: '--depth 1 --verbose' - - attach_workspace: - at: . - - run: - name: Running local registry - command: | - cd code - yarn local-registry --port 6001 --open - background: true - - run: - name: Wait for registry - command: | - cd code - yarn wait-on http://localhost:6001 - - run: - name: Run E2E (core) 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: | - cd code - yarn test:e2e-framework vue3 angular130 angular13 angular12 web_components_typescript web_components_lit2 react react_legacy_root_api - no_output_timeout: 5m - - run: - name: prep artifacts - when: always - command: zip -r /tmp/storybook-e2e-testing-out.zip /tmp/storybook-e2e-testing - - store_artifacts: - path: /tmp/cypress-record - destination: cypress - - store_artifacts: - path: /tmp/storybook-e2e-testing-out.zip - destination: e2e # NOTE: this currently tests each story in docs mode, which doesn't make sense any more as stories # can no longer run in docs mode. Instead we should probably change the test runner to test each # docs entry if you run it in `VIEW_MODE=docs` @@ -325,73 +231,6 @@ jobs: - store_artifacts: path: /tmp/sb-bench.tar.gz destination: sb-bench.tar.gz - e2e-tests-pnp: - executor: - class: medium - name: sb_cypress_8_node_14 - working_directory: /tmp/storybook - steps: - - git-shallow-clone/checkout_advanced: - clone_options: '--depth 1 --verbose' - - attach_workspace: - at: . - - run: - name: Running local registry - command: | - cd code - yarn local-registry --port 6001 --open - background: true - - run: - name: Wait for registry - command: | - cd code - yarn wait-on http://localhost:6001 - - run: - name: run e2e tests cra - command: | - cd code - yarn test:e2e-framework --pnp cra - # - run: - # name: run e2e tests vue - # command: yarn test:e2e-framework --pnp sfcVue - - run: - name: prep artifacts - when: always - command: zip -r /tmp/storybook-e2e-testing-out.zip /tmp/storybook-e2e-testing - - store_artifacts: - path: /tmp/cypress-record - destination: cypress - - store_artifacts: - path: /tmp/storybook-e2e-testing-out.zip - destination: e2e - e2e-tests-examples: - executor: - class: small - name: sb_cypress_8_node_14 - steps: - - git-shallow-clone/checkout_advanced: - clone_options: '--depth 1 --verbose' - - attach_workspace: - at: . - - run: - name: running example - command: | - cd code - yarn serve-storybooks - background: true - - run: - name: await running examples - command: | - cd code - yarn await-serve-storybooks - - run: - name: cypress run - command: | - cd code - yarn test:e2e-examples - - store_artifacts: - path: /tmp/cypress-record - destination: cypress smoke-tests: executor: class: medium+ diff --git a/CONTRIBUTING.old.md b/CONTRIBUTING.old.md index f12a07c76a13..e8cfb2842867 100644 --- a/CONTRIBUTING.old.md +++ b/CONTRIBUTING.old.md @@ -6,7 +6,6 @@ - [2a. Run unit tests](#2a-run-unit-tests) - [Core & Examples Tests](#core--examples-tests) - [2b. Run Linter](#2b-run-linter) - - [2c. Run Cypress tests](#2c-run-cypress-tests) - [Reproductions](#reproductions) - [In the monorepo](#in-the-monorepo) - [Outside the monorepo](#outside-the-monorepo) @@ -32,8 +31,8 @@ - [Verify your local version is working](#verify-your-local-version-is-working) - [Documentation](#documentation) - [Release Guide](#release-guide) - - [Prerelease:](#prerelease) - - [Full release:](#full-release) + - [Prerelease:](#prerelease) + - [Full release:](#full-release) Thanks for your interest in improving Storybook! We are a community-driven project and welcome contributions of all kinds: from discussion to documentation to bugfixes to feature improvements. @@ -129,18 +128,6 @@ It can be immensely helpful to get feedback in your editor, if you're using VsCo This should enable auto-fix for all source files, and give linting warnings and errors within your editor. -### 2c. Run Cypress tests - -First make sure the repo is bootstrapped. - -Then run `yarn build-storybooks --all`, this creates a static website from all examples. - -Then run `yarn serve-storybooks`, this will run the static site on the port cypress expects. - -Then run `yarn add cypress -W --optional`. When this has completed cypress should be installed on your system. If it is already on your system, this step can be skipped. - -Then run `yarn cypress open` if you want to see the tests run in the UI, or `yarn cypress run` to run the tests headless. - ### Reproductions #### In the monorepo diff --git a/code/.eslintrc.js b/code/.eslintrc.js index 0e590a380807..8fb5803f5c0b 100644 --- a/code/.eslintrc.js +++ b/code/.eslintrc.js @@ -55,7 +55,6 @@ module.exports = { }, }, { files: '**/.storybook/config.js', rules: { 'global-require': 'off' } }, - { files: 'cypress/**', rules: { 'jest/expect-expect': 'off' } }, { files: ['**/*.stories.*'], rules: { diff --git a/code/cypress/.eslintrc.json b/code/cypress/.eslintrc.json deleted file mode 100644 index e4128155205f..000000000000 --- a/code/cypress/.eslintrc.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": ["plugin:cypress/recommended"], - "rules": { - "import/no-extraneous-dependencies": ["error", { "devDependencies": true }] - } -} diff --git a/code/cypress/fixtures/example.json b/code/cypress/fixtures/example.json deleted file mode 100644 index 02e4254378e9..000000000000 --- a/code/cypress/fixtures/example.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "Using fixtures to represent data", - "email": "hello@cypress.io", - "body": "Fixtures are a great way to mock data for responses to routes" -} diff --git a/code/cypress/generated/addon-action.spec.ts b/code/cypress/generated/addon-action.spec.ts deleted file mode 100644 index 16cd34e68d6c..000000000000 --- a/code/cypress/generated/addon-action.spec.ts +++ /dev/null @@ -1,19 +0,0 @@ -describe('addon-action', () => { - before(() => { - cy.visitStorybook(); - }); - - it('should trigger an action', () => { - // click on the button - cy.navigateToStory('example-button', 'primary'); - - cy.getStoryElement().contains('Button').click(); - cy.viewAddonPanel('Actions'); - - // TODO @yannbf improve tab identifier on addons - // get the logs - cy.get('#storybook-panel-root') - .contains(/onClick/) - .should('be.visible'); - }); -}); diff --git a/code/cypress/generated/addon-backgrounds.spec.ts b/code/cypress/generated/addon-backgrounds.spec.ts deleted file mode 100644 index 04201f225952..000000000000 --- a/code/cypress/generated/addon-backgrounds.spec.ts +++ /dev/null @@ -1,26 +0,0 @@ -describe('addon-backgrounds', () => { - before(() => { - cy.visitStorybook(); - }); - - it('should have a dark background', () => { - // click on the button - cy.navigateToStory('example-button', 'primary'); - - // Click on the addon and select dark background - cy.get('[title="Change the background of the preview"]').click(); - cy.get('#dark').click(); - - cy.getCanvasBodyElement().should('have.css', 'background-color', 'rgb(51, 51, 51)'); - }); - - it('should apply a grid', () => { - // click on the button - cy.navigateToStory('example-button', 'primary'); - - // Toggle grid view - cy.get('[title="Apply a grid to the preview"]').click(); - - cy.getCanvasBodyElement().should('have.css', 'background-image'); - }); -}); diff --git a/code/cypress/generated/addon-controls.spec.ts b/code/cypress/generated/addon-controls.spec.ts deleted file mode 100644 index abe6f162adba..000000000000 --- a/code/cypress/generated/addon-controls.spec.ts +++ /dev/null @@ -1,49 +0,0 @@ -describe('addon-controls', () => { - it('should change component when changing controls', () => { - cy.visitStorybook(); - - cy.navigateToStory('example-button', 'Primary'); - - cy.viewAddonPanel('Controls'); - - // Text input: Label - cy.getStoryElement().find('button').should('contain.text', 'Button'); - cy.get('textarea[name=label]').clear().type('Hello world'); - cy.getStoryElement().find('button').should('contain.text', 'Hello world'); - - // Args in URL - cy.url().should('include', 'args=label:Hello+world'); - - // Boolean toggle: Primary/secondary - cy.getStoryElement().find('button').should('have.css', 'background-color', 'rgb(30, 167, 253)'); - cy.get('input[name=primary]').click(); - cy.getStoryElement().find('button').should('have.css', 'background-color', 'rgba(0, 0, 0, 0)'); - - // Color picker: Background color - cy.get('input[placeholder="Choose color..."]').type('red'); - cy.getStoryElement().find('button').should('have.css', 'background-color', 'rgb(255, 0, 0)'); - - // TODO: enable this once the controls for size are aligned in all CLI templates. - // Radio buttons: Size - // cy.getStoryElement().find('button').should('have.css', 'font-size', '14px'); - // cy.get('label[for="size-large"]').click(); - // cy.getStoryElement().find('button').should('have.css', 'font-size', '16px'); - - // Reset controls: assert that the component is back to original state - cy.get('button[title="Reset controls"]').click(); - cy.getStoryElement().find('button').should('have.css', 'font-size', '14px'); - cy.getStoryElement().find('button').should('have.css', 'background-color', 'rgb(30, 167, 253)'); - cy.getStoryElement().find('button').should('contain.text', 'Button'); - }); - - it('should apply controls automatically when passed via url', () => { - cy.visit('/', { - qs: { - path: '/story/example-button--primary', - args: 'label:Hello world', - }, - }); - - cy.getStoryElement().find('button').should('contain.text', 'Hello world'); - }); -}); 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/code/cypress/generated/addon-interactions.spec.ts b/code/cypress/generated/addon-interactions.spec.ts deleted file mode 100644 index 665fa9449049..000000000000 --- a/code/cypress/generated/addon-interactions.spec.ts +++ /dev/null @@ -1,53 +0,0 @@ -/* eslint-disable jest/no-identical-title */ -import { onlyOn } from '@cypress/skip-test'; - -describe('addon-interactions', () => { - before(() => { - cy.visitStorybook(); - }); - - const test = () => { - // click on the button - cy.navigateToStory('example-page', 'logged-in'); - - cy.viewAddonPanel('Interactions'); - - cy.getStoryElement().find('.welcome').should('contain.text', 'Welcome, Jane Doe!'); - - cy.get('#tabbutton-interactions').contains(/(1)/).should('be.visible'); - cy.get('#storybook-panel-root') - .contains(/userEvent.click/) - .should('be.visible'); - cy.get('[data-testid=icon-done]').should('be.visible'); - }; - - // Having multiple of onlyOn for the same test is a workaround instead - // of having to use skipOn a long list of frameworks - onlyOn('angular', () => { - it('should have interactions', test); - }); - - onlyOn('react', () => { - it('should have interactions', test); - }); - - // onlyOn('vite_react', () => { - // it('should have interactions', test); - // }); - - onlyOn('preact', () => { - it('should have interactions', test); - }); - - onlyOn('html', () => { - it('should have interactions', test); - }); - - onlyOn('svelte', () => { - it('should have interactions', test); - }); - - onlyOn('vue3', () => { - it('should have interactions', test); - }); -}); diff --git a/code/cypress/generated/addon-viewport.spec.ts b/code/cypress/generated/addon-viewport.spec.ts deleted file mode 100644 index 9f99e37ded06..000000000000 --- a/code/cypress/generated/addon-viewport.spec.ts +++ /dev/null @@ -1,16 +0,0 @@ -describe('addon-viewport', () => { - before(() => { - cy.visitStorybook(); - }); - - it('should have viewport button in the toolbar', () => { - cy.navigateToStory('example-button', 'Primary'); - - // Click on viewport button and select small mobile - cy.get('[title="Change the size of the preview"]').click(); - cy.get('#mobile1').click(); - - // Check that Welcome story is still displayed - cy.getStoryElement().should('contain.text', 'Button'); - }); -}); diff --git a/code/cypress/generated/basic.spec.ts b/code/cypress/generated/basic.spec.ts deleted file mode 100644 index 3300a7268d6f..000000000000 --- a/code/cypress/generated/basic.spec.ts +++ /dev/null @@ -1,80 +0,0 @@ -import { skipOn } from '@cypress/skip-test'; - -describe('Basic CLI', () => { - before(() => { - cy.visitStorybook(); - }); - - describe('Welcome story (MDX)', () => { - it('should load and display', () => { - cy.navigateToStory('example-introduction', 'docs'); - cy.getDocsElement().should('contain.text', 'Welcome to Storybook'); - }); - }); - - describe('Button story', () => { - it('should load primary story', () => { - cy.navigateToStory('example-button', 'primary'); - cy.getStoryElement() - .find('button') - .should('have.class', 'storybook-button') - .and('have.class', 'storybook-button--primary'); - }); - - it('should load secondary story', () => { - cy.navigateToStory('example-button', 'secondary'); - cy.getStoryElement() - .find('button') - .should('have.class', 'storybook-button') - .and('have.class', 'storybook-button--secondary'); - }); - it('should load small story', () => { - cy.navigateToStory('example-button', 'small'); - cy.getStoryElement() - .find('button') - .should('have.class', 'storybook-button') - .and('have.class', 'storybook-button--small'); - }); - it('should load large story', () => { - cy.navigateToStory('example-button', 'large'); - cy.getStoryElement() - .find('button') - .should('have.class', 'storybook-button') - .and('have.class', 'storybook-button--large'); - }); - }); - - describe('Header story', () => { - it('should load and display logged in', () => { - cy.navigateToStory('example-header', 'logged-in'); - cy.getStoryElement().find('header').should('contain.text', 'Acme'); - cy.getStoryElement().find('button').should('contain.text', 'Log out'); - }); - - it('should load and display logged out', () => { - cy.navigateToStory('example-header', 'logged-out'); - cy.getStoryElement().find('header').should('contain.text', 'Acme'); - cy.getStoryElement().find('button').first().should('contain.text', 'Log in'); - cy.getStoryElement().find('button').last().should('contain.text', 'Sign up'); - }); - }); - - describe('Page story', () => { - skipOn('vue', () => { - it('should load and display logged out', () => { - cy.navigateToStory('example-page', 'logged-out'); - cy.getStoryElement().should('contain.text', 'Acme'); - cy.getStoryElement().find('button').first().should('contain.text', 'Log in'); - cy.getStoryElement().find('button').last().should('contain.text', 'Sign up'); - cy.getStoryElement().should('contain.text', 'Pages in Storybook'); - }); - - it('should load and display logged in', () => { - cy.navigateToStory('example-page', 'logged-in'); - cy.getStoryElement().find('header').should('contain.text', 'Acme'); - cy.getStoryElement().find('button').should('contain.text', 'Log out'); - cy.getStoryElement().should('contain.text', 'Pages in Storybook'); - }); - }); - }); -}); diff --git a/code/cypress/helper.ts b/code/cypress/helper.ts deleted file mode 100644 index 9da3864a6cb8..000000000000 --- a/code/cypress/helper.ts +++ /dev/null @@ -1,51 +0,0 @@ -/* eslint-disable no-unused-expressions */ -/* eslint-disable jest/valid-expect */ -type StorybookApps = 'official-storybook'; - -type Addons = 'Actions' | 'Knobs'; - -const getUrl = (route: string) => { - const host = Cypress.env('location') || 'http://localhost:8001'; - - return `${host}/${route}`; -}; - -export const visit = (route = '') => { - cy.clearLocalStorage().visit(getUrl(route)); - return cy.get(`#storybook-preview-iframe`).then({ timeout: 15000 }, (iframe) => { - return cy.wrap(iframe, { timeout: 10000 }).should(() => { - const content: Document | null = (iframe[0] as HTMLIFrameElement).contentDocument; - const element: HTMLElement | null = content !== null ? content.documentElement : null; - - expect(element).not.null; - - if (element !== null) { - expect(element.querySelector('#storybook-root > *, #storybook-docs > *')).not.null; - } - }); - }); -}; - -export const clickAddon = (addonName: Addons) => { - return cy.get(`[role=tablist] button[role=tab]`).contains(addonName).click(); -}; - -export const getStorybookPreview = () => { - return cy.get(`#storybook-preview-iframe`).then({ timeout: 10000 }, (iframe) => { - const content: Document | null = (iframe[0] as HTMLIFrameElement).contentDocument; - const element: HTMLElement | null = content !== null ? content.documentElement : null; - - return cy - .wrap(iframe) - .should(() => { - expect(element).not.null; - - if (element !== null) { - expect(element.querySelector('#storybook-root > *')).not.null; - } - }) - .then(() => { - return cy.wrap(element).get('#storybook-root'); - }); - }); -}; diff --git a/code/cypress/integration/navigation.spec.ts b/code/cypress/integration/navigation.spec.ts deleted file mode 100644 index 0db350ececee..000000000000 --- a/code/cypress/integration/navigation.spec.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { visit } from '../helper'; - -describe('Navigation', () => { - before(() => { - visit('official-storybook'); - }); - - it('should search navigation item', () => { - cy.get('#storybook-explorer-searchfield').click({ force: true }); - cy.get('#storybook-explorer-searchfield').clear(); - cy.get('#storybook-explorer-searchfield').type('syntax'); - - cy.get('#storybook-explorer-menu button') - .should('contain', 'SyntaxHighlighter') - .and('not.contain', 'a11y'); - }); - - it('should display no results after searching a non-existing navigation item', () => { - cy.get('#storybook-explorer-searchfield').click({ force: true }); - cy.get('#storybook-explorer-searchfield').clear(); - cy.get('#storybook-explorer-searchfield').type('zzzzzzzzzz'); - - cy.get('#storybook-explorer-menu button').should('be.hidden'); - }); -}); - -describe('Routing', () => { - it('should navigate to sibling story sibling', () => { - visit('official-storybook/?path=/story/basics-actionbar--single-item'); - - cy.get('#basics-actionbar--many-items').click({ force: true }); - cy.url().should('include', 'path=/story/basics-actionbar--many-items'); - }); - - it('should directly visit a certain story and render correctly', () => { - visit('official-storybook/?path=/story/basics-actionbar--single-item'); - - cy.getStoryElement().should('contain.text', 'Clear'); - }); -}); diff --git a/code/cypress/plugins/index.js b/code/cypress/plugins/index.js deleted file mode 100644 index 6396b2eae7e9..000000000000 --- a/code/cypress/plugins/index.js +++ /dev/null @@ -1,22 +0,0 @@ -// *********************************************************** -// This example plugins/index.js can be used to load plugins -// -// You can change the location of this file or turn off loading -// the plugins file with the 'pluginsFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/plugins-guide -// *********************************************************** - -// This function is called when a project is opened or re-opened (e.g. due to -// the project's config changing) - -const wp = require('@cypress/webpack-preprocessor'); -const webpackConfig = require('./webpack.config'); - -module.exports = (on) => { - const options = { - webpackOptions: webpackConfig, - }; - on('file:preprocessor', wp(options)); -}; diff --git a/code/cypress/plugins/webpack.config.js b/code/cypress/plugins/webpack.config.js deleted file mode 100644 index e26dabb46577..000000000000 --- a/code/cypress/plugins/webpack.config.js +++ /dev/null @@ -1,21 +0,0 @@ -module.exports = { - resolve: { - extensions: ['.ts', '.js'], - }, - module: { - rules: [ - { - test: /\.ts$/, - exclude: [/node_modules/], - use: [ - { - loader: require.resolve('ts-loader'), - options: { - transpileOnly: true, - }, - }, - ], - }, - ], - }, -}; diff --git a/code/cypress/report-teamcity-metadata.ts b/code/cypress/report-teamcity-metadata.ts deleted file mode 100644 index 3ab8e24ff3cd..000000000000 --- a/code/cypress/report-teamcity-metadata.ts +++ /dev/null @@ -1,70 +0,0 @@ -import path from 'path'; -import fs from 'fs-extra'; - -import { findSuitesAndTests } from 'mocha-list-tests'; - -const testsDir = path.join(__dirname, 'integration'); -const videosDir = path.join(__dirname, 'videos'); -const screensDir = path.join(__dirname, 'screenshots'); - -let prevFoundTests: string[] = []; -function getTests(fileName: string) { - const { tests } = findSuitesAndTests(path.join(testsDir, fileName)); - const newTests = tests.filter((test: string) => !prevFoundTests.includes(test)); - prevFoundTests = tests; - return newTests.map((test: string) => test.split(/\./)); -} - -const fullTestName = (suite: string, testName: string) => `${suite}: ${testName}`; - -async function report() { - const hookFailures: { [file: string]: [string, string][] } = {}; - const reports: any[] = []; - try { - const testFiles = await fs.readdir(screensDir); - await Promise.all( - testFiles.map(async (testFile) => { - const files = await fs.readdir(path.join(screensDir, testFile)); - files.forEach((file) => { - const match = file.match(/^(.*) \(failed\).png$/); - if (match == null) { - return; - } - - const [suite, test, hookPart] = match[1].split(' -- '); - let testName = test; - const hook = hookPart?.match(/^(.*) hook$/)?.[1]; - if (hook != null) { - testName = `"${hook}" hook for "${test}"`; - hookFailures[testFile] = hookFailures[testFile] || []; - hookFailures[testFile].push([suite, testName]); - } - reports.push({ - name: 'Screenshot', - testName: fullTestName(suite, testName), - type: 'image', - value: `screenshots.tar.gz!${testFile}/${file}`, - }); - }); - }) - ); - } catch (e) { - // ignore - } - - const videoFiles = await fs.readdir(videosDir); - videoFiles.forEach((videoFile) => { - const testFile = videoFile.replace(/\.mp4$/, ''); - const tests = [...getTests(testFile), ...(hookFailures[testFile] || [])]; - tests.forEach(([suite, testName]) => - reports.unshift({ - name: 'Video', - testName: fullTestName(suite, testName), - type: 'video', - value: `videos.tar.gz!${videoFile}`, - }) - ); - }); -} - -report(); diff --git a/code/cypress/support/commands.js b/code/cypress/support/commands.js deleted file mode 100644 index 376013794398..000000000000 --- a/code/cypress/support/commands.js +++ /dev/null @@ -1,134 +0,0 @@ -// *********************************************** -// This example commands.js shows you how to -// create various custom commands and overwrite -// existing commands. -// -// For more comprehensive examples of custom -// commands please read more here: -// https://on.cypress.io/custom-commands -// *********************************************** -// -// -// -- This is a parent command -- -// Cypress.Commands.add("login", (email, password) => { ... }) -// -// -// -- This is a child command -- -// Cypress.Commands.add("drag", { prevSubject: 'element'}, (subject, options) => { ... }) -// -// -// -- This is a dual command -- -// Cypress.Commands.add("dismiss", { prevSubject: 'optional'}, (subject, options) => { ... }) -// -// -// -- This is will overwrite an existing command -- -// Cypress.Commands.overwrite("visit", (originalFn, url, options) => { ... }) - -const logger = console; -Cypress.Commands.add( - 'console', - { - prevSubject: true, - }, - (subject, method = 'log') => { - logger[method]('The subject is', subject); - return subject; - } -); - -Cypress.Commands.add('visitStorybook', () => { - cy.log('visitStorybook'); - const host = Cypress.env('location') || 'http://localhost:8001'; - return cy - .clearLocalStorage() - .visit(`${host}/?path=/story/example-introduction--docs`) - .get(`#storybook-preview-iframe`, { log: false }) - .its('0.contentDocument.body', { log: false }) - .should('not.be.empty') - .then((body) => cy.wrap(body, { log: false })) - .find('#storybook-docs', { log: false }) - .should('not.be.empty'); -}); - -Cypress.Commands.add('getStoryElement', {}, () => { - cy.log('getStoryElement'); - return cy - .get(`#storybook-preview-iframe`, { log: false }) - .its('0.contentDocument.body', { log: false }) - .should('not.be.empty') - .then((body) => cy.wrap(body, { log: false })) - .find('#storybook-root', { log: false }) - .should('not.be.empty') - .then((storyRoot) => cy.wrap(storyRoot, { log: false })); -}); - -Cypress.Commands.add('getDocsElement', {}, () => { - cy.log('getDocsElement'); - return cy - .get(`#storybook-preview-iframe`, { log: false }) - .its('0.contentDocument.body', { log: false }) - .should('not.be.empty') - .then((body) => cy.wrap(body, { log: false })) - .find('#storybook-docs', { log: false }) - .should('not.be.empty') - .then((storyRoot) => cy.wrap(storyRoot, { log: false })); -}); - -Cypress.Commands.add('getCanvasElement', {}, () => { - cy.log('getCanvasElement'); - return cy - .get(`#storybook-preview-iframe`, { log: false }) - .then((iframe) => cy.wrap(iframe, { log: false })); -}); - -Cypress.Commands.add('getCanvasBodyElement', {}, () => { - cy.log('getCanvasBodyElement'); - return cy - .getCanvasElement() - .its('0.contentDocument.body', { log: false }) - .should('not.be.empty') - .then((body) => cy.wrap(body, { log: false })); -}); - -Cypress.Commands.add('navigateToStory', (kind, name) => { - const kindId = kind.replace(/ /g, '-').toLowerCase(); - const storyId = name.replace(/ /g, '-').toLowerCase(); - - const storyLinkId = `#${kindId}--${storyId}`; - cy.log(`navigateToStory ${kind} ${name}`); - - // Section might be collapsed - if (Cypress.$(`#${kindId}`).length) { - cy.get(`#${kindId}`).then(async ($item) => { - if ($item.attr('aria-expanded') === 'false') { - await $item.click(); - // eslint-disable-next-line cypress/no-unnecessary-waiting - cy.wait(300); - } - }); - } - - cy.get(storyLinkId).click({ force: true }); - - // FIXME: Find a way to not wait like this but check for an element in the UI - // A pause is good when switching stories - // eslint-disable-next-line cypress/no-unnecessary-waiting - cy.wait(300); - - // assert url changes - const viewMode = name === 'docs' ? 'docs' : 'story'; - cy.url().should('include', `path=/${viewMode}/${kindId}--${storyId}`); - cy.get(storyLinkId).should('have.attr', 'data-selected', 'true'); - - // A pause is good when switching stories - // eslint-disable-next-line cypress/no-unnecessary-waiting - cy.wait(50); -}); - -Cypress.Commands.add('viewAddonPanel', (name) => { - cy.get(`[role=tablist] button[role=tab]`).contains(name).click(); -}); - -Cypress.Commands.add('viewAddonTab', (name) => { - cy.get(`[role=main] button[type=button]`).contains(name).click(); -}); diff --git a/code/cypress/support/index.d.ts b/code/cypress/support/index.d.ts deleted file mode 100644 index 1a921997251c..000000000000 --- a/code/cypress/support/index.d.ts +++ /dev/null @@ -1,59 +0,0 @@ -/// - -type LoggerMethod = 'log' | 'info' | 'debug'; - -declare namespace Cypress { - interface Chainable { - /** - * Visit storybook's introduction page - */ - visitStorybook(): Chainable; - - /** - * Custom command to select the DOM element of a story in the canvas tab. - */ - getStoryElement(): Chainable; - - /** - * Custom command to select the DOM element of a docs story in the canvas tab. - */ - getDocsElement(): Chainable; - - /** - * Custom command to select the DOM element of the preview iframe in the canvas tab. - */ - getCanvasElement(): Chainable; - - /** - * Custom command to select the DOM element of the body from the preview iframe in the canvas tab. - */ - getCanvasBodyElement(): Chainable; - - /** - * Navigate to a story. - * 'Storybook Example/Button' - * - kind: `Storybook Example` - * - name: `Button` - * @param kind Story kind - * @param name name of the story - */ - navigateToStory(kind: string, name: string): Chainable; - - /** - * Display addon panel - * @param name of the addon - */ - viewAddonPanel(name: string): Chainable; - - /** - * Display main tab - * @param name of the addon - */ - viewAddonTab(name: string): Chainable; - - /** - * Returns the element while logging it. - */ - console(method: LoggerMethod): Chainable; - } -} diff --git a/code/cypress/support/index.js b/code/cypress/support/index.js deleted file mode 100644 index 6aea86aa3f62..000000000000 --- a/code/cypress/support/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// *********************************************************** -// This example support/index.js is processed and -// loaded automatically before your test files. -// -// This is a great place to put global configuration and -// behavior that modifies Cypress. -// -// You can change the location of this file or turn off -// automatically serving support files with the -// 'supportFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/configuration -// *********************************************************** - -// Import commands.js using ES2015 syntax: -import './commands'; - -// Turn off all uncaught exception handling -// https://docs.cypress.io/guides/references/migration-guide#Uncaught-exception-and-unhandled-rejections -Cypress.on('uncaught:exception', (err, runnable) => { - // returning false here prevents Cypress from - // failing the test - return false; -}); - -// Alternatively you can use CommonJS syntax: -// require('./commands') diff --git a/code/cypress/tsconfig.json b/code/cypress/tsconfig.json deleted file mode 100644 index cae4f81611a5..000000000000 --- a/code/cypress/tsconfig.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "compilerOptions": { - "strict": true, - "baseUrl": "../node_modules", - "target": "es5", - "lib": ["es2017", "dom"], - "types": ["cypress", "node"], - "esModuleInterop": true - }, - "include": ["**/*.ts"] -} diff --git a/code/cypress/typings.d.ts b/code/cypress/typings.d.ts deleted file mode 100644 index f2b7868fdee3..000000000000 --- a/code/cypress/typings.d.ts +++ /dev/null @@ -1 +0,0 @@ -declare module 'mocha-list-tests'; diff --git a/code/package.json b/code/package.json index 7afc2e6ffbd5..56fab589dbe8 100644 --- a/code/package.json +++ b/code/package.json @@ -88,8 +88,6 @@ "test": "NODE_OPTIONS=--max_old_space_size=4096 jest --config ./jest.config.js", "test-puppeteer": "jest --projects examples/official-storybook/storyshots-puppeteer", "test:cli": "npm --prefix lib/cli run test", - "test:e2e-examples": "cypress run", - "test:e2e-examples-gui": "concurrently --success first --kill-others \"cypress open\" \"yarn serve-storybooks\"", "test:e2e-examples-playwright": "playwright test", "test:e2e-framework": "ts-node --project=../scripts/tsconfig.json ../scripts/run-e2e.ts" }, @@ -283,7 +281,6 @@ "esbuild-loader": "^2.19.0", "esbuild-plugin-alias": "^0.2.1", "eslint": "^7.17.0", - "eslint-plugin-cypress": "^2.11.2", "eslint-plugin-import": "^2.22.1", "eslint-plugin-react": "^7.22.0", "eslint-plugin-storybook": "^0.3.5", @@ -379,9 +376,6 @@ } }, "optionalDependencies": { - "@cypress/skip-test": "^2.6.1", - "@cypress/webpack-preprocessor": "^5.9.1", - "cypress": "8.7.0", "puppeteer": "^2.1.1", "ts-loader": "^9.2.8", "verdaccio": "^4.10.0", diff --git a/code/yarn.lock b/code/yarn.lock index c8662fd4d0eb..d34b0f415168 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -2416,65 +2416,6 @@ __metadata: languageName: node linkType: hard -"@cypress/request@npm:^2.88.6": - version: 2.88.10 - resolution: "@cypress/request@npm:2.88.10" - dependencies: - aws-sign2: ~0.7.0 - aws4: ^1.8.0 - caseless: ~0.12.0 - combined-stream: ~1.0.6 - extend: ~3.0.2 - forever-agent: ~0.6.1 - form-data: ~2.3.2 - http-signature: ~1.3.6 - is-typedarray: ~1.0.0 - isstream: ~0.1.2 - json-stringify-safe: ~5.0.1 - mime-types: ~2.1.19 - performance-now: ^2.1.0 - qs: ~6.5.2 - safe-buffer: ^5.1.2 - tough-cookie: ~2.5.0 - tunnel-agent: ^0.6.0 - uuid: ^8.3.2 - checksum: 9e42c1d923e17cdda6d6f8d0f338c3adbeb52d348b399e3aa9703f272b89a673660bc412f321b1db8f0dbef809a217dd6dca96e80a33ca2294d77f5898d6001a - languageName: node - linkType: hard - -"@cypress/skip-test@npm:^2.6.1": - version: 2.6.1 - resolution: "@cypress/skip-test@npm:2.6.1" - checksum: 1d0d2cb4b3094c6dee2d2339b75d60f85e5fb17b4e281cbee854e6cd4a124fad61cc65db8335b9a169ccc24b490df5b29c3385f09fa590124dc4d5b57e110019 - languageName: node - linkType: hard - -"@cypress/webpack-preprocessor@npm:^5.9.1": - version: 5.12.2 - resolution: "@cypress/webpack-preprocessor@npm:5.12.2" - dependencies: - bluebird: 3.7.1 - debug: ^4.3.2 - lodash: ^4.17.20 - peerDependencies: - "@babel/core": ^7.0.1 - "@babel/preset-env": ^7.0.0 - babel-loader: ^8.0.2 - webpack: ^4 || ^5 - checksum: d295234d9802b6aaf37014fdcc7199d799e68d746c42f180b59f0f586f76ac91527b2570cbb29a6987a7bf59bd8f6a196c352e3e4f3948ff1625e1d58a61ce7a - languageName: node - linkType: hard - -"@cypress/xvfb@npm:^1.2.4": - version: 1.2.4 - resolution: "@cypress/xvfb@npm:1.2.4" - dependencies: - debug: ^3.1.0 - lodash.once: ^4.1.1 - checksum: 1bf6224b244f6093033d77f04f6bef719280542656de063cf8ac3f38957b62aa633e6918af0b9673a8bf0123b42a850db51d9729a3ae3da885ac179bc7fc1d26 - languageName: node - linkType: hard - "@design-systems/utils@npm:2.12.0": version: 2.12.0 resolution: "@design-systems/utils@npm:2.12.0" @@ -8577,8 +8518,6 @@ __metadata: "@babel/preset-typescript": ^7.16.7 "@babel/runtime": ^7.17.2 "@compodoc/compodoc": ^1.1.18 - "@cypress/skip-test": ^2.6.1 - "@cypress/webpack-preprocessor": ^5.9.1 "@emotion/babel-plugin": ^11.10.2 "@emotion/jest": ^11.10.0 "@linear/sdk": ^1.21.0 @@ -8707,7 +8646,6 @@ __metadata: commander: ^6.2.1 concurrently: ^5.3.0 cross-env: ^7.0.3 - cypress: 8.7.0 danger: ^10.6.2 detect-port: ^1.3.0 ejs-lint: ^1.2.2 @@ -8717,7 +8655,6 @@ __metadata: esbuild-loader: ^2.19.0 esbuild-plugin-alias: ^0.2.1 eslint: ^7.17.0 - eslint-plugin-cypress: ^2.11.2 eslint-plugin-import: ^2.22.1 eslint-plugin-react: ^7.22.0 eslint-plugin-storybook: ^0.3.5 @@ -8788,12 +8725,6 @@ __metadata: dependenciesMeta: "@compodoc/compodoc": built: false - "@cypress/skip-test": - optional: true - "@cypress/webpack-preprocessor": - optional: true - cypress: - optional: true ejs: built: false level: @@ -10121,13 +10052,6 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^14.14.31": - version: 14.18.30 - resolution: "@types/node@npm:14.18.30" - checksum: d3c800a4ea6124c4a055453f37fb45b3530d857c1852e76efb513515c329eedbd99a60531ba4cb066fe24361ead1cd2a70d8d092f50344427e1b2d91fd43f32e - languageName: node - linkType: hard - "@types/node@npm:^17.0.23": version: 17.0.45 resolution: "@types/node@npm:17.0.45" @@ -10449,20 +10373,6 @@ __metadata: languageName: node linkType: hard -"@types/sinonjs__fake-timers@npm:^6.0.2": - version: 6.0.4 - resolution: "@types/sinonjs__fake-timers@npm:6.0.4" - checksum: ba880e2451a439d9696c9adbea1b163a4077cf3d48eb8282f1ec9b640c9f063d66df9af44ec73d35c64a2bb9cd780cff02de61043c3b0d501dbaa4280ad26d19 - languageName: node - linkType: hard - -"@types/sizzle@npm:^2.3.2": - version: 2.3.3 - resolution: "@types/sizzle@npm:2.3.3" - checksum: a19de697d2d444c0a3e3cdbfb303b337aeef9dc54b8bdb4a2f15b1fbd7ab1f7b7bf85065b17b5d2da48ea80d38d659fa213ae706880787ff92323e9fce76d841 - languageName: node - linkType: hard - "@types/sockjs@npm:^0.3.33": version: 0.3.33 resolution: "@types/sockjs@npm:0.3.33" @@ -12525,7 +12435,7 @@ __metadata: languageName: node linkType: hard -"arch@npm:^2.1.0, arch@npm:^2.1.1, arch@npm:^2.2.0": +"arch@npm:^2.1.0, arch@npm:^2.1.1": version: 2.2.0 resolution: "arch@npm:2.2.0" checksum: 4ceaf8d8207817c216ebc4469742052cb0a097bc45d9b7fcd60b7507220da545a28562ab5bdd4dfe87921bb56371a0805da4e10d704e01f93a15f83240f1284c @@ -13011,7 +12921,7 @@ __metadata: languageName: node linkType: hard -"async@npm:^3.2.0, async@npm:^3.2.3": +"async@npm:^3.2.3": version: 3.2.4 resolution: "async@npm:3.2.4" checksum: b5d02fed64717edf49e35b2b156debd9cf524934ea670108fa5528e7615ed66a5e0bf6c65f832c9483b63aa7f0bffe3e588ebe8d58a539b833798d324516e1c9 @@ -13832,13 +13742,6 @@ __metadata: languageName: node linkType: hard -"blob-util@npm:^2.0.2": - version: 2.0.2 - resolution: "blob-util@npm:2.0.2" - checksum: ed82d587827e5c86be122301a7c250f8364963e9582f72a826255bfbd32f8d69cc10169413d666667bb1c4fc8061329ae89d176ffe46fee8f32080af944ccddc - languageName: node - linkType: hard - "blocking-proxy@npm:^1.0.0": version: 1.0.1 resolution: "blocking-proxy@npm:1.0.1" @@ -13850,13 +13753,6 @@ __metadata: languageName: node linkType: hard -"bluebird@npm:3.7.1": - version: 3.7.1 - resolution: "bluebird@npm:3.7.1" - checksum: ed3aa4e0de2b794afa95deb78d868b832e51df5a3e4564da09a6a6a0956d46b6e3bfdc62f075230eed96347329bc5c70729d52b5d3d5c4fc118cf6db63574eb7 - languageName: node - linkType: hard - "bluebird@npm:^3.1.1, bluebird@npm:^3.4.6, bluebird@npm:^3.5.1, bluebird@npm:^3.5.3, bluebird@npm:^3.5.5, bluebird@npm:^3.7.2": version: 3.7.2 resolution: "bluebird@npm:3.7.2" @@ -15023,13 +14919,6 @@ __metadata: languageName: node linkType: hard -"cachedir@npm:^2.3.0": - version: 2.3.0 - resolution: "cachedir@npm:2.3.0" - checksum: 8380a4a4aa824b20cbc246c38ae2b3379a865f52ea1f31f7b057d07545ea1ab27f93c4323d4bd1bd398991489f18a226880c3166b19ecbf49a77b18c519d075a - languageName: node - linkType: hard - "calculate-cache-key-for-tree@npm:^2.0.0": version: 2.0.0 resolution: "calculate-cache-key-for-tree@npm:2.0.0" @@ -15418,13 +15307,6 @@ __metadata: languageName: node linkType: hard -"check-more-types@npm:^2.24.0": - version: 2.24.0 - resolution: "check-more-types@npm:2.24.0" - checksum: 93fda2c32eb5f6cd1161a84a2f4107c0e00b40a851748516791dd9a0992b91bdf504e3bf6bf7673ce603ae620042e11ed4084d16d6d92b36818abc9c2e725520 - languageName: node - linkType: hard - "checkup@npm:^1.3.0": version: 1.3.0 resolution: "checkup@npm:1.3.0" @@ -15686,7 +15568,7 @@ __metadata: languageName: node linkType: hard -"cli-table3@npm:^0.6.1, cli-table3@npm:~0.6.0": +"cli-table3@npm:^0.6.1": version: 0.6.3 resolution: "cli-table3@npm:0.6.3" dependencies: @@ -16062,13 +15944,6 @@ __metadata: languageName: node linkType: hard -"commander@npm:^5.1.0": - version: 5.1.0 - resolution: "commander@npm:5.1.0" - checksum: da9d71dbe4ce039faf1fe9eac3771dca8c11d66963341f62602f7b66e36d2a3f8883407af4f9a37b1db1a55c59c0c1325f186425764c2e963dc1d67aec2a4b6d - languageName: node - linkType: hard - "commander@npm:^6.2.0, commander@npm:^6.2.1": version: 6.2.1 resolution: "commander@npm:6.2.1" @@ -17176,58 +17051,6 @@ __metadata: languageName: node linkType: hard -"cypress@npm:8.7.0": - version: 8.7.0 - resolution: "cypress@npm:8.7.0" - dependencies: - "@cypress/request": ^2.88.6 - "@cypress/xvfb": ^1.2.4 - "@types/node": ^14.14.31 - "@types/sinonjs__fake-timers": ^6.0.2 - "@types/sizzle": ^2.3.2 - arch: ^2.2.0 - blob-util: ^2.0.2 - bluebird: ^3.7.2 - cachedir: ^2.3.0 - chalk: ^4.1.0 - check-more-types: ^2.24.0 - cli-cursor: ^3.1.0 - cli-table3: ~0.6.0 - commander: ^5.1.0 - common-tags: ^1.8.0 - dayjs: ^1.10.4 - debug: ^4.3.2 - enquirer: ^2.3.6 - eventemitter2: ^6.4.3 - execa: 4.1.0 - executable: ^4.1.1 - extract-zip: 2.0.1 - figures: ^3.2.0 - fs-extra: ^9.1.0 - getos: ^3.2.1 - is-ci: ^3.0.0 - is-installed-globally: ~0.4.0 - lazy-ass: ^1.6.0 - listr2: ^3.8.3 - lodash: ^4.17.21 - log-symbols: ^4.0.0 - minimist: ^1.2.5 - ospath: ^1.2.2 - pretty-bytes: ^5.6.0 - proxy-from-env: 1.0.0 - ramda: ~0.27.1 - request-progress: ^3.0.0 - supports-color: ^8.1.1 - tmp: ~0.2.1 - untildify: ^4.0.0 - url: ^0.11.0 - yauzl: ^2.10.0 - bin: - cypress: bin/cypress - checksum: be3ed1e25dc53d1523674c2632f79eab8676330d4f247ca1beba74e12bb7817473d4f238dd26c0f763f93c41516b40dfbd9afb9df1f75dcd8a8f3f85107405af - languageName: node - linkType: hard - "d@npm:1, d@npm:^1.0.1": version: 1.0.1 resolution: "d@npm:1.0.1" @@ -17392,13 +17215,6 @@ __metadata: languageName: node linkType: hard -"dayjs@npm:^1.10.4": - version: 1.11.5 - resolution: "dayjs@npm:1.11.5" - checksum: 1d719b3c821254cbcee93879030c581dee41249ba9b825119881a941656bb885554b03094e2265c2f646945a4e23c3f05a6af5b4ff4d5a51c3e0e962669ee94b - languageName: node - linkType: hard - "de-indent@npm:^1.0.2": version: 1.0.2 resolution: "de-indent@npm:1.0.2" @@ -20045,17 +19861,6 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-cypress@npm:^2.11.2": - version: 2.12.1 - resolution: "eslint-plugin-cypress@npm:2.12.1" - dependencies: - globals: ^11.12.0 - peerDependencies: - eslint: ">= 3.2.1" - checksum: 4295bbd0ceb8d182f79bbad3f73eb462df5e2e1cb8ff1e9fd99d7fda10dcbd964522bfdfa0d8cf011396d2265f2f1a0f1aeb9340b224974ba02d0d681641eac9 - languageName: node - linkType: hard - "eslint-plugin-html@npm:^6.0.2": version: 6.2.0 resolution: "eslint-plugin-html@npm:6.2.0" @@ -20577,13 +20382,6 @@ __metadata: languageName: node linkType: hard -"eventemitter2@npm:^6.4.3": - version: 6.4.9 - resolution: "eventemitter2@npm:6.4.9" - checksum: b2adf7d9f1544aa2d95ee271b0621acaf1e309d85ebcef1244fb0ebc7ab0afa6ffd5e371535d0981bc46195ad67fd6ff57a8d1db030584dee69aa5e371a27ea7 - languageName: node - linkType: hard - "eventemitter3@npm:^3.1.0": version: 3.1.2 resolution: "eventemitter3@npm:3.1.2" @@ -20619,23 +20417,6 @@ __metadata: languageName: node linkType: hard -"execa@npm:4.1.0, execa@npm:^4.0.0, execa@npm:^4.0.2, execa@npm:^4.1.0": - version: 4.1.0 - resolution: "execa@npm:4.1.0" - dependencies: - cross-spawn: ^7.0.0 - get-stream: ^5.0.0 - human-signals: ^1.1.1 - is-stream: ^2.0.0 - merge-stream: ^2.0.0 - npm-run-path: ^4.0.0 - onetime: ^5.1.0 - signal-exit: ^3.0.2 - strip-final-newline: ^2.0.0 - checksum: 02211601bb1c52710260edcc68fb84c3c030dc68bafc697c90ada3c52cc31375337de8c24826015b8382a58d63569ffd203b79c94fef217d65503e3e8d2c52ba - languageName: node - linkType: hard - "execa@npm:^0.8.0": version: 0.8.0 resolution: "execa@npm:0.8.0" @@ -20683,6 +20464,23 @@ __metadata: languageName: node linkType: hard +"execa@npm:^4.0.0, execa@npm:^4.0.2, execa@npm:^4.1.0": + version: 4.1.0 + resolution: "execa@npm:4.1.0" + dependencies: + cross-spawn: ^7.0.0 + get-stream: ^5.0.0 + human-signals: ^1.1.1 + is-stream: ^2.0.0 + merge-stream: ^2.0.0 + npm-run-path: ^4.0.0 + onetime: ^5.1.0 + signal-exit: ^3.0.2 + strip-final-newline: ^2.0.0 + checksum: 02211601bb1c52710260edcc68fb84c3c030dc68bafc697c90ada3c52cc31375337de8c24826015b8382a58d63569ffd203b79c94fef217d65503e3e8d2c52ba + languageName: node + linkType: hard + "execa@npm:^5.0.0, execa@npm:^5.1.1": version: 5.1.1 resolution: "execa@npm:5.1.1" @@ -20700,15 +20498,6 @@ __metadata: languageName: node linkType: hard -"executable@npm:^4.1.1": - version: 4.1.1 - resolution: "executable@npm:4.1.1" - dependencies: - pify: ^2.2.0 - checksum: c3cc5d2d2e3cdb1b7d7b0639ebd5566d113d7ada21cfa07f5226d55ba2a210320116720e07570ed5659ef2ec516bc00c8f0488dac75d112fd324ef25c2100173 - languageName: node - linkType: hard - "exenv@npm:^1.2.0": version: 1.2.2 resolution: "exenv@npm:1.2.2" @@ -21011,7 +20800,21 @@ __metadata: languageName: node linkType: hard -"extract-zip@npm:2.0.1, extract-zip@npm:^2.0.0": +"extract-zip@npm:^1.6.6": + version: 1.7.0 + resolution: "extract-zip@npm:1.7.0" + dependencies: + concat-stream: ^1.6.2 + debug: ^2.6.9 + mkdirp: ^0.5.4 + yauzl: ^2.10.0 + bin: + extract-zip: cli.js + checksum: 333f1349ee678d47268315f264dbfcd7003747d25640441e186e87c66efd7129f171f1bcfe8ff1151a24da19d5f8602daff002ee24145dc65516bc9a8e40ee08 + languageName: node + linkType: hard + +"extract-zip@npm:^2.0.0": version: 2.0.1 resolution: "extract-zip@npm:2.0.1" dependencies: @@ -21028,20 +20831,6 @@ __metadata: languageName: node linkType: hard -"extract-zip@npm:^1.6.6": - version: 1.7.0 - resolution: "extract-zip@npm:1.7.0" - dependencies: - concat-stream: ^1.6.2 - debug: ^2.6.9 - mkdirp: ^0.5.4 - yauzl: ^2.10.0 - bin: - extract-zip: cli.js - checksum: 333f1349ee678d47268315f264dbfcd7003747d25640441e186e87c66efd7129f171f1bcfe8ff1151a24da19d5f8602daff002ee24145dc65516bc9a8e40ee08 - languageName: node - linkType: hard - "extsprintf@npm:1.3.0": version: 1.3.0 resolution: "extsprintf@npm:1.3.0" @@ -21260,7 +21049,7 @@ __metadata: languageName: node linkType: hard -"figures@npm:3.2.0, figures@npm:^3.0.0, figures@npm:^3.2.0": +"figures@npm:3.2.0, figures@npm:^3.0.0": version: 3.2.0 resolution: "figures@npm:3.2.0" dependencies: @@ -22448,15 +22237,6 @@ __metadata: languageName: node linkType: hard -"getos@npm:^3.2.1": - version: 3.2.1 - resolution: "getos@npm:3.2.1" - dependencies: - async: ^3.2.0 - checksum: 21556fca1da4dfc8f1707261b4f9ff19b9e9bfefa76478249d2abddba3cd014bd6c5360634add1590b27e0b27d422e8f997dddaa0234aae1fa4c54f33f82e841 - languageName: node - linkType: hard - "getpass@npm:^0.1.1": version: 0.1.7 resolution: "getpass@npm:0.1.7" @@ -22795,7 +22575,7 @@ __metadata: languageName: node linkType: hard -"globals@npm:^11.1.0, globals@npm:^11.12.0": +"globals@npm:^11.1.0": version: 11.12.0 resolution: "globals@npm:11.12.0" checksum: 758f9f258e7b19226bd8d4af5d3b0dcf7038780fb23d82e6f98932c44e239f884847f1766e8fa9cc5635ccb3204f7fa7314d4408dd4002a5e8ea827b4018f0a1 @@ -24030,17 +23810,6 @@ __metadata: languageName: node linkType: hard -"http-signature@npm:~1.3.6": - version: 1.3.6 - resolution: "http-signature@npm:1.3.6" - dependencies: - assert-plus: ^1.0.0 - jsprim: ^2.0.2 - sshpk: ^1.14.1 - checksum: f8d15d8c91a5a80805530e2f401a3f83ed55162058651d86ad00df294b159a54e001b5d00e04983f7542a55865aee02d2d83d68c8499137ff2bc142553d8dfc2 - languageName: node - linkType: hard - "http-status-codes@npm:1.4.0": version: 1.4.0 resolution: "http-status-codes@npm:1.4.0" @@ -24814,17 +24583,6 @@ __metadata: languageName: node linkType: hard -"is-ci@npm:^3.0.0": - version: 3.0.1 - resolution: "is-ci@npm:3.0.1" - dependencies: - ci-info: ^3.2.0 - bin: - is-ci: bin.js - checksum: 0e81caa62f4520d4088a5bef6d6337d773828a88610346c4b1119fb50c842587ed8bef1e5d9a656835a599e7209405b5761ddf2339668f2d0f4e889a92fe6051 - languageName: node - linkType: hard - "is-core-module@npm:^2.5.0, is-core-module@npm:^2.8.1, is-core-module@npm:^2.9.0": version: 2.10.0 resolution: "is-core-module@npm:2.10.0" @@ -25054,7 +24812,7 @@ __metadata: languageName: node linkType: hard -"is-installed-globally@npm:^0.4.0, is-installed-globally@npm:~0.4.0": +"is-installed-globally@npm:^0.4.0": version: 0.4.0 resolution: "is-installed-globally@npm:0.4.0" dependencies: @@ -27957,18 +27715,6 @@ __metadata: languageName: node linkType: hard -"jsprim@npm:^2.0.2": - version: 2.0.2 - resolution: "jsprim@npm:2.0.2" - dependencies: - assert-plus: 1.0.0 - extsprintf: 1.3.0 - json-schema: 0.4.0 - verror: 1.10.0 - checksum: 677be2d41df536c92c6d0114a492ef197084018cfbb1a3e10b1fa1aad889564b2e3a7baa6af7949cc2d73678f42368b0be165a26bd4e4de6883a30dd6a24e98d - languageName: node - linkType: hard - "jstransformer@npm:1.0.0": version: 1.0.0 resolution: "jstransformer@npm:1.0.0" @@ -28181,13 +27927,6 @@ __metadata: languageName: node linkType: hard -"lazy-ass@npm:^1.6.0": - version: 1.6.0 - resolution: "lazy-ass@npm:1.6.0" - checksum: 4af6cb9a333fbc811268c745f9173fba0f99ecb817cc9c0fae5dbf986b797b730ff525504128f6623b91aba32b02124553a34b0d14de3762b637b74d7233f3bd - languageName: node - linkType: hard - "lazy-universal-dotenv@npm:^3.0.1": version: 3.0.1 resolution: "lazy-universal-dotenv@npm:3.0.1" @@ -28623,7 +28362,7 @@ __metadata: languageName: node linkType: hard -"listr2@npm:^3.2.2, listr2@npm:^3.8.3": +"listr2@npm:^3.2.2": version: 3.14.0 resolution: "listr2@npm:3.14.0" dependencies: @@ -29176,7 +28915,7 @@ __metadata: languageName: node linkType: hard -"lodash.once@npm:^4.0.0, lodash.once@npm:^4.1.1": +"lodash.once@npm:^4.0.0": version: 4.1.1 resolution: "lodash.once@npm:4.1.1" checksum: 46a9a0a66c45dd812fcc016e46605d85ad599fe87d71a02f6736220554b52ffbe82e79a483ad40f52a8a95755b0d1077fba259da8bfb6694a7abbf4a48f1fc04 @@ -32767,13 +32506,6 @@ __metadata: languageName: node linkType: hard -"ospath@npm:^1.2.2": - version: 1.2.2 - resolution: "ospath@npm:1.2.2" - checksum: e485a6ca91964f786163408b093860bf26a9d9704d83ec39ccf463b9f11ea712b780b23b73d1f64536de62c5f66244dd94ed83fc9ffe3c1564dd1eed5cdae923 - languageName: node - linkType: hard - "overlayscrollbars@npm:^1.13.1": version: 1.13.3 resolution: "overlayscrollbars@npm:1.13.3" @@ -33577,7 +33309,7 @@ __metadata: languageName: node linkType: hard -"pify@npm:^2.0.0, pify@npm:^2.2.0, pify@npm:^2.3.0": +"pify@npm:^2.0.0, pify@npm:^2.3.0": version: 2.3.0 resolution: "pify@npm:2.3.0" checksum: 551ff8ab830b1052633f59cb8adc9ae8407a436e06b4a9718bcb27dc5844b83d535c3a8512b388b6062af65a98c49bdc0dd523d8b2617b188f7c8fee457158dc @@ -34874,7 +34606,7 @@ __metadata: languageName: node linkType: hard -"pretty-bytes@npm:^5.3.0, pretty-bytes@npm:^5.6.0": +"pretty-bytes@npm:^5.3.0": version: 5.6.0 resolution: "pretty-bytes@npm:5.6.0" checksum: f69f494dcc1adda98dbe0e4a36d301e8be8ff99bfde7a637b2ee2820e7cb583b0fc0f3a63b0e3752c01501185a5cf38602c7be60da41bdf84ef5b70e89c370f3 @@ -35255,13 +34987,6 @@ __metadata: languageName: node linkType: hard -"proxy-from-env@npm:1.0.0": - version: 1.0.0 - resolution: "proxy-from-env@npm:1.0.0" - checksum: c64df9b21f7f820dc882cd6f7f81671840acd28b9688ee3e3e6af47a56ec7f0edcabe5bc96b32b26218b35eeff377bcc27ac27f89b6b21401003e187ff13256f - languageName: node - linkType: hard - "proxy-from-env@npm:^1.0.0": version: 1.1.0 resolution: "proxy-from-env@npm:1.1.0" @@ -35473,13 +35198,6 @@ __metadata: languageName: node linkType: hard -"punycode@npm:1.3.2": - version: 1.3.2 - resolution: "punycode@npm:1.3.2" - checksum: 281fd20eaf4704f79d80cb0dc65065bf6452ee67989b3e8941aed6360a5a9a8a01d3e2ed71d0bde3cd74fb5a5dd9db4160bed5a8c20bed4b6764c24ce4c7d2d2 - languageName: node - linkType: hard - "punycode@npm:2.x.x, punycode@npm:^2.1.0, punycode@npm:^2.1.1": version: 2.1.1 resolution: "punycode@npm:2.1.1" @@ -35640,13 +35358,6 @@ __metadata: languageName: node linkType: hard -"querystring@npm:0.2.0": - version: 0.2.0 - resolution: "querystring@npm:0.2.0" - checksum: 2036c9424beaacd3978bac9e4ba514331cc73163bea7bf3ad7e2c7355e55501938ec195312c607753f9c6e70b1bf9dfcda38db6241bd299c034e27ac639d64ed - languageName: node - linkType: hard - "querystring@npm:^0.2.0": version: 0.2.1 resolution: "querystring@npm:0.2.1" @@ -35729,13 +35440,6 @@ __metadata: languageName: node linkType: hard -"ramda@npm:~0.27.1": - version: 0.27.2 - resolution: "ramda@npm:0.27.2" - checksum: 1bbcb5bcde33ab2669810644f920b8af4e228967ff800962100803dcdad57b09c5eeee50d9871c74aa20ce496a2d96ec48774e545d7943c8f742ccac5e0fa072 - languageName: node - linkType: hard - "randexp@npm:0.4.6": version: 0.4.6 resolution: "randexp@npm:0.4.6" @@ -37330,15 +37034,6 @@ __metadata: languageName: node linkType: hard -"request-progress@npm:^3.0.0": - version: 3.0.0 - resolution: "request-progress@npm:3.0.0" - dependencies: - throttleit: ^1.0.0 - checksum: d5dcb7155a738572c8781436f6b418e866066a30eea0f99a9ab26b6f0ed6c13637462bba736357de3899b8d30431ee9202ac956a5f8ccdd0d9d1ed0962000d14 - languageName: node - linkType: hard - "request-promise-core@npm:1.1.4": version: 1.1.4 resolution: "request-promise-core@npm:1.1.4" @@ -39360,7 +39055,7 @@ __metadata: languageName: node linkType: hard -"sshpk@npm:^1.14.1, sshpk@npm:^1.7.0": +"sshpk@npm:^1.7.0": version: 1.17.0 resolution: "sshpk@npm:1.17.0" dependencies: @@ -40225,7 +39920,7 @@ __metadata: languageName: node linkType: hard -"supports-color@npm:^8.0.0, supports-color@npm:^8.1.1": +"supports-color@npm:^8.0.0": version: 8.1.1 resolution: "supports-color@npm:8.1.1" dependencies: @@ -40885,13 +40580,6 @@ __metadata: languageName: node linkType: hard -"throttleit@npm:^1.0.0": - version: 1.0.0 - resolution: "throttleit@npm:1.0.0" - checksum: e7c82628e5d7e3bf377878481203702a735e4310bb0c35f563a18c10ba291562332a6b61c57120c6445da1e17e7b0ff52f014b9dd310793843d4d92fa92baf2c - languageName: node - linkType: hard - "through2-filter@npm:^3.0.0": version: 3.0.0 resolution: "through2-filter@npm:3.0.0" @@ -42538,16 +42226,6 @@ __metadata: languageName: node linkType: hard -"url@npm:^0.11.0": - version: 0.11.0 - resolution: "url@npm:0.11.0" - dependencies: - punycode: 1.3.2 - querystring: 0.2.0 - checksum: bbe05f9f570ec5c06421c50ca63f287e61279092eed0891db69a9619323703ccd3987e6eed234c468794cf25680c599680d5c1f58d26090f1956c8e9ed8346a2 - languageName: node - linkType: hard - "urlgrey@npm:0.4.4": version: 0.4.4 resolution: "urlgrey@npm:0.4.4" diff --git a/scripts/package.json b/scripts/package.json index e0a237f82de9..7fa7afc67d7f 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -110,7 +110,6 @@ "esbuild": "^0.14.48", "esbuild-plugin-alias": "^0.2.1", "eslint": "^7.17.0", - "eslint-plugin-cypress": "^2.11.2", "eslint-plugin-import": "^2.22.1", "eslint-plugin-react": "^7.22.0", "eslint-plugin-storybook": "^0.3.5", @@ -177,9 +176,6 @@ "@types/lodash": "^4" }, "optionalDependencies": { - "@cypress/skip-test": "^2.6.1", - "@cypress/webpack-preprocessor": "^5.9.1", - "cypress": "8.7.0", "puppeteer": "^2.1.1", "ts-loader": "^9.2.8", "verdaccio": "^4.10.0", diff --git a/scripts/run-e2e.ts b/scripts/run-e2e.ts index 712bc0c2ccdd..03860fa765fa 100644 --- a/scripts/run-e2e.ts +++ b/scripts/run-e2e.ts @@ -13,7 +13,6 @@ import { Parameters } from '../code/lib/cli/src/repro-generators/configs'; import { exec } from '../code/lib/cli/src/repro-generators/scripts'; const logger = console; -let openCypressInUIMode = !process.env.CI; export interface Options { /** CLI repro template to use */ @@ -24,7 +23,6 @@ export interface Options { cwd?: string; } -const rootDir = path.join(__dirname, '..'); const siblingDir = path.join(__dirname, '..', '..', 'storybook-e2e-testing'); program @@ -41,7 +39,6 @@ program (value, previous) => previous.concat([value]), [] ) - .option('--test-runner', 'Run Storybook test runner instead of cypress', false) .option('--docs-mode', 'Run Storybook test runner in docs mode', false) .option('--all', `run e2e tests for every framework`, false); program.parse(process.argv); @@ -114,18 +111,6 @@ const serveStorybook = async ({ cwd }: Options, port: string) => { return serve(staticDirectory, port); }; -const runCypress = async (location: string, name: string) => { - const cypressCommand = openCypressInUIMode ? 'open' : 'run'; - await exec( - `CYPRESS_ENVIRONMENT=${name} yarn cypress ${cypressCommand} --config pageLoadTimeout=4000,execTimeout=4000,taskTimeout=4000,responseTimeout=4000,defaultCommandTimeout=4000,integrationFolder="cypress/generated",videosFolder="/tmp/cypress-record/${name}" --env location="${location}"`, - { cwd: join(rootDir, 'code') }, - { - startMessage: `🤖 Running Cypress tests`, - errorMessage: `🚨 E2E tests fails`, - } - ); -}; - const runStorybookTestRunner = async (options: Options) => { const viewMode = runTestsInDocsMode ? 'docs' : 'story'; await exec( @@ -196,8 +181,6 @@ const runTests = async ({ name, ...rest }: Parameters) => { try { if (shouldUseTestRunner) { await runStorybookTestRunner(options); - } else { - await runCypress('http://localhost:4000', name); } logger.info(`🎉 Storybook is working great with ${name}!`); @@ -269,14 +252,6 @@ const getConfig = async (): Promise => { e2eConfigsToRun = e2eConfigsToRun.filter((config) => frameworkArgs.includes(config.name)); } else if (!process.env.CI) { const selectedValues = await prompts([ - { - type: 'toggle', - name: 'openCypressInUIMode', - message: 'Open cypress in UI mode', - initial: false, - active: 'yes', - inactive: 'no', - }, { type: 'toggle', name: 'useLocalSbCli', @@ -310,7 +285,6 @@ const getConfig = async (): Promise => { } useLocalSbCli = selectedValues.useLocalSbCli; - openCypressInUIMode = selectedValues.openCypressInUIMode; e2eConfigsToRun = selectedValues.frameworks; } diff --git a/scripts/yarn.lock b/scripts/yarn.lock index 7a3bacfc39af..ae8256570163 100644 --- a/scripts/yarn.lock +++ b/scripts/yarn.lock @@ -1611,13 +1611,6 @@ __metadata: languageName: node linkType: hard -"@colors/colors@npm:1.5.0": - version: 1.5.0 - resolution: "@colors/colors@npm:1.5.0" - checksum: eb42729851adca56d19a08e48d5a1e95efd2a32c55ae0323de8119052be0510d4b7a1611f2abcbf28c044a6c11e6b7d38f99fccdad7429300c37a8ea5fb95b44 - languageName: node - linkType: hard - "@compodoc/compodoc@npm:^1.1.18": version: 1.1.19 resolution: "@compodoc/compodoc@npm:1.1.19" @@ -1719,65 +1712,6 @@ __metadata: languageName: node linkType: hard -"@cypress/request@npm:^2.88.6": - version: 2.88.10 - resolution: "@cypress/request@npm:2.88.10" - dependencies: - aws-sign2: ~0.7.0 - aws4: ^1.8.0 - caseless: ~0.12.0 - combined-stream: ~1.0.6 - extend: ~3.0.2 - forever-agent: ~0.6.1 - form-data: ~2.3.2 - http-signature: ~1.3.6 - is-typedarray: ~1.0.0 - isstream: ~0.1.2 - json-stringify-safe: ~5.0.1 - mime-types: ~2.1.19 - performance-now: ^2.1.0 - qs: ~6.5.2 - safe-buffer: ^5.1.2 - tough-cookie: ~2.5.0 - tunnel-agent: ^0.6.0 - uuid: ^8.3.2 - checksum: 9e42c1d923e17cdda6d6f8d0f338c3adbeb52d348b399e3aa9703f272b89a673660bc412f321b1db8f0dbef809a217dd6dca96e80a33ca2294d77f5898d6001a - languageName: node - linkType: hard - -"@cypress/skip-test@npm:^2.6.1": - version: 2.6.1 - resolution: "@cypress/skip-test@npm:2.6.1" - checksum: 1d0d2cb4b3094c6dee2d2339b75d60f85e5fb17b4e281cbee854e6cd4a124fad61cc65db8335b9a169ccc24b490df5b29c3385f09fa590124dc4d5b57e110019 - languageName: node - linkType: hard - -"@cypress/webpack-preprocessor@npm:^5.9.1": - version: 5.12.2 - resolution: "@cypress/webpack-preprocessor@npm:5.12.2" - dependencies: - bluebird: 3.7.1 - debug: ^4.3.2 - lodash: ^4.17.20 - peerDependencies: - "@babel/core": ^7.0.1 - "@babel/preset-env": ^7.0.0 - babel-loader: ^8.0.2 - webpack: ^4 || ^5 - checksum: d295234d9802b6aaf37014fdcc7199d799e68d746c42f180b59f0f586f76ac91527b2570cbb29a6987a7bf59bd8f6a196c352e3e4f3948ff1625e1d58a61ce7a - languageName: node - linkType: hard - -"@cypress/xvfb@npm:^1.2.4": - version: 1.2.4 - resolution: "@cypress/xvfb@npm:1.2.4" - dependencies: - debug: ^3.1.0 - lodash.once: ^4.1.1 - checksum: 1bf6224b244f6093033d77f04f6bef719280542656de063cf8ac3f38957b62aa633e6918af0b9673a8bf0123b42a850db51d9729a3ae3da885ac179bc7fc1d26 - languageName: node - linkType: hard - "@emotion/babel-plugin@npm:^11.10.2": version: 11.10.2 resolution: "@emotion/babel-plugin@npm:11.10.2" @@ -3407,8 +3341,6 @@ __metadata: "@babel/preset-typescript": ^7.16.7 "@babel/runtime": ^7.17.2 "@compodoc/compodoc": ^1.1.18 - "@cypress/skip-test": ^2.6.1 - "@cypress/webpack-preprocessor": ^5.9.1 "@emotion/babel-plugin": ^11.10.2 "@emotion/jest": ^11.10.0 "@jest/globals": ^26.6.2 @@ -3459,7 +3391,6 @@ __metadata: codecov: ^3.8.1 commander: ^6.2.1 cross-env: ^7.0.3 - cypress: 8.7.0 danger: ^10.6.2 detect-port: ^1.3.0 ejs: ^3.1.8 @@ -3468,7 +3399,6 @@ __metadata: esbuild: ^0.14.48 esbuild-plugin-alias: ^0.2.1 eslint: ^7.17.0 - eslint-plugin-cypress: ^2.11.2 eslint-plugin-import: ^2.22.1 eslint-plugin-react: ^7.22.0 eslint-plugin-storybook: ^0.3.5 @@ -3535,12 +3465,6 @@ __metadata: window-size: ^1.1.1 zx: ^7.0.3 dependenciesMeta: - "@cypress/skip-test": - optional: true - "@cypress/webpack-preprocessor": - optional: true - cypress: - optional: true puppeteer: optional: true ts-loader: @@ -4059,13 +3983,6 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^14.14.31": - version: 14.18.30 - resolution: "@types/node@npm:14.18.30" - checksum: d3c800a4ea6124c4a055453f37fb45b3530d857c1852e76efb513515c329eedbd99a60531ba4cb066fe24361ead1cd2a70d8d092f50344427e1b2d91fd43f32e - languageName: node - linkType: hard - "@types/normalize-package-data@npm:^2.4.0": version: 2.4.1 resolution: "@types/normalize-package-data@npm:2.4.1" @@ -4189,20 +4106,6 @@ __metadata: languageName: node linkType: hard -"@types/sinonjs__fake-timers@npm:^6.0.2": - version: 6.0.4 - resolution: "@types/sinonjs__fake-timers@npm:6.0.4" - checksum: ba880e2451a439d9696c9adbea1b163a4077cf3d48eb8282f1ec9b640c9f063d66df9af44ec73d35c64a2bb9cd780cff02de61043c3b0d501dbaa4280ad26d19 - languageName: node - linkType: hard - -"@types/sizzle@npm:^2.3.2": - version: 2.3.3 - resolution: "@types/sizzle@npm:2.3.3" - checksum: a19de697d2d444c0a3e3cdbfb303b337aeef9dc54b8bdb4a2f15b1fbd7ab1f7b7bf85065b17b5d2da48ea80d38d659fa213ae706880787ff92323e9fce76d841 - languageName: node - linkType: hard - "@types/stack-utils@npm:^1.0.1": version: 1.0.1 resolution: "@types/stack-utils@npm:1.0.1" @@ -4290,15 +4193,6 @@ __metadata: languageName: node linkType: hard -"@types/yauzl@npm:^2.9.1": - version: 2.10.0 - resolution: "@types/yauzl@npm:2.10.0" - dependencies: - "@types/node": "*" - checksum: e917cf11c78e9ca7d037d0e6e0d6d5d99443d9d7201f8f1a556f02a2bc57ae457487e9bfec89dfa848d16979b35de6e5b34840d4d0bb9e5f33849d077ac15154 - languageName: node - linkType: hard - "@typescript-eslint/eslint-plugin@npm:^5.15.0": version: 5.38.0 resolution: "@typescript-eslint/eslint-plugin@npm:5.38.0" @@ -4987,13 +4881,6 @@ __metadata: languageName: node linkType: hard -"arch@npm:^2.2.0": - version: 2.2.0 - resolution: "arch@npm:2.2.0" - checksum: 4ceaf8d8207817c216ebc4469742052cb0a097bc45d9b7fcd60b7507220da545a28562ab5bdd4dfe87921bb56371a0805da4e10d704e01f93a15f83240f1284c - languageName: node - linkType: hard - "are-we-there-yet@npm:^2.0.0": version: 2.0.0 resolution: "are-we-there-yet@npm:2.0.0" @@ -5302,7 +5189,7 @@ __metadata: languageName: node linkType: hard -"async@npm:^3.2.0, async@npm:^3.2.3": +"async@npm:^3.2.3": version: 3.2.4 resolution: "async@npm:3.2.4" checksum: b5d02fed64717edf49e35b2b156debd9cf524934ea670108fa5528e7615ed66a5e0bf6c65f832c9483b63aa7f0bffe3e588ebe8d58a539b833798d324516e1c9 @@ -5739,27 +5626,6 @@ __metadata: languageName: node linkType: hard -"blob-util@npm:^2.0.2": - version: 2.0.2 - resolution: "blob-util@npm:2.0.2" - checksum: ed82d587827e5c86be122301a7c250f8364963e9582f72a826255bfbd32f8d69cc10169413d666667bb1c4fc8061329ae89d176ffe46fee8f32080af944ccddc - languageName: node - linkType: hard - -"bluebird@npm:3.7.1": - version: 3.7.1 - resolution: "bluebird@npm:3.7.1" - checksum: ed3aa4e0de2b794afa95deb78d868b832e51df5a3e4564da09a6a6a0956d46b6e3bfdc62f075230eed96347329bc5c70729d52b5d3d5c4fc118cf6db63574eb7 - languageName: node - linkType: hard - -"bluebird@npm:^3.7.2": - version: 3.7.2 - resolution: "bluebird@npm:3.7.2" - checksum: 680de03adc54ff925eaa6c7bb9a47a0690e8b5de60f4792604aae8ed618c65e6b63a7893b57ca924beaf53eee69c5af4f8314148c08124c550fe1df1add897d2 - languageName: node - linkType: hard - "body-parser@npm:1.19.0": version: 1.19.0 resolution: "body-parser@npm:1.19.0" @@ -6109,13 +5975,6 @@ __metadata: languageName: node linkType: hard -"cachedir@npm:^2.3.0": - version: 2.3.0 - resolution: "cachedir@npm:2.3.0" - checksum: 8380a4a4aa824b20cbc246c38ae2b3379a865f52ea1f31f7b057d07545ea1ab27f93c4323d4bd1bd398991489f18a226880c3166b19ecbf49a77b18c519d075a - languageName: node - linkType: hard - "call-bind@npm:^1.0.0, call-bind@npm:^1.0.2": version: 1.0.2 resolution: "call-bind@npm:1.0.2" @@ -6280,13 +6139,6 @@ __metadata: languageName: node linkType: hard -"check-more-types@npm:^2.24.0": - version: 2.24.0 - resolution: "check-more-types@npm:2.24.0" - checksum: 93fda2c32eb5f6cd1161a84a2f4107c0e00b40a851748516791dd9a0992b91bdf504e3bf6bf7673ce603ae620042e11ed4084d16d6d92b36818abc9c2e725520 - languageName: node - linkType: hard - "checkup@npm:^1.3.0": version: 1.3.0 resolution: "checkup@npm:1.3.0" @@ -6426,19 +6278,6 @@ __metadata: languageName: node linkType: hard -"cli-table3@npm:~0.6.0": - version: 0.6.3 - resolution: "cli-table3@npm:0.6.3" - dependencies: - "@colors/colors": 1.5.0 - string-width: ^4.2.0 - dependenciesMeta: - "@colors/colors": - optional: true - checksum: 39e580cb346c2eaf1bd8f4ff055ae644e902b8303c164a1b8894c0dc95941f92e001db51f49649011be987e708d9fa3183ccc2289a4d376a057769664048cc0c - languageName: node - linkType: hard - "cli-truncate@npm:^2.1.0": version: 2.1.0 resolution: "cli-truncate@npm:2.1.0" @@ -6623,13 +6462,6 @@ __metadata: languageName: node linkType: hard -"commander@npm:^5.1.0": - version: 5.1.0 - resolution: "commander@npm:5.1.0" - checksum: da9d71dbe4ce039faf1fe9eac3771dca8c11d66963341f62602f7b66e36d2a3f8883407af4f9a37b1db1a55c59c0c1325f186425764c2e963dc1d67aec2a4b6d - languageName: node - linkType: hard - "commander@npm:^6.2.0, commander@npm:^6.2.1": version: 6.2.1 resolution: "commander@npm:6.2.1" @@ -6644,13 +6476,6 @@ __metadata: languageName: node linkType: hard -"common-tags@npm:^1.8.0": - version: 1.8.2 - resolution: "common-tags@npm:1.8.2" - checksum: 23efe47ff0a1a7c91489271b3a1e1d2a171c12ec7f9b35b29b2fce51270124aff0ec890087e2bc2182c1cb746e232ab7561aaafe05f1e7452aea733d2bfe3f63 - languageName: node - linkType: hard - "commondir@npm:^1.0.1": version: 1.0.1 resolution: "commondir@npm:1.0.1" @@ -7022,58 +6847,6 @@ __metadata: languageName: node linkType: hard -"cypress@npm:8.7.0": - version: 8.7.0 - resolution: "cypress@npm:8.7.0" - dependencies: - "@cypress/request": ^2.88.6 - "@cypress/xvfb": ^1.2.4 - "@types/node": ^14.14.31 - "@types/sinonjs__fake-timers": ^6.0.2 - "@types/sizzle": ^2.3.2 - arch: ^2.2.0 - blob-util: ^2.0.2 - bluebird: ^3.7.2 - cachedir: ^2.3.0 - chalk: ^4.1.0 - check-more-types: ^2.24.0 - cli-cursor: ^3.1.0 - cli-table3: ~0.6.0 - commander: ^5.1.0 - common-tags: ^1.8.0 - dayjs: ^1.10.4 - debug: ^4.3.2 - enquirer: ^2.3.6 - eventemitter2: ^6.4.3 - execa: 4.1.0 - executable: ^4.1.1 - extract-zip: 2.0.1 - figures: ^3.2.0 - fs-extra: ^9.1.0 - getos: ^3.2.1 - is-ci: ^3.0.0 - is-installed-globally: ~0.4.0 - lazy-ass: ^1.6.0 - listr2: ^3.8.3 - lodash: ^4.17.21 - log-symbols: ^4.0.0 - minimist: ^1.2.5 - ospath: ^1.2.2 - pretty-bytes: ^5.6.0 - proxy-from-env: 1.0.0 - ramda: ~0.27.1 - request-progress: ^3.0.0 - supports-color: ^8.1.1 - tmp: ~0.2.1 - untildify: ^4.0.0 - url: ^0.11.0 - yauzl: ^2.10.0 - bin: - cypress: bin/cypress - checksum: be3ed1e25dc53d1523674c2632f79eab8676330d4f247ca1beba74e12bb7817473d4f238dd26c0f763f93c41516b40dfbd9afb9df1f75dcd8a8f3f85107405af - languageName: node - linkType: hard - "d@npm:1, d@npm:^1.0.1": version: 1.0.1 resolution: "d@npm:1.0.1" @@ -7197,13 +6970,6 @@ __metadata: languageName: node linkType: hard -"dayjs@npm:^1.10.4": - version: 1.11.5 - resolution: "dayjs@npm:1.11.5" - checksum: 1d719b3c821254cbcee93879030c581dee41249ba9b825119881a941656bb885554b03094e2265c2f646945a4e23c3f05a6af5b4ff4d5a51c3e0e962669ee94b - languageName: node - linkType: hard - "debug@npm:2.6.9, debug@npm:^2.2.0, debug@npm:^2.3.3, debug@npm:^2.6.9": version: 2.6.9 resolution: "debug@npm:2.6.9" @@ -8589,17 +8355,6 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-cypress@npm:^2.11.2": - version: 2.12.1 - resolution: "eslint-plugin-cypress@npm:2.12.1" - dependencies: - globals: ^11.12.0 - peerDependencies: - eslint: ">= 3.2.1" - checksum: 4295bbd0ceb8d182f79bbad3f73eb462df5e2e1cb8ff1e9fd99d7fda10dcbd964522bfdfa0d8cf011396d2265f2f1a0f1aeb9340b224974ba02d0d681641eac9 - languageName: node - linkType: hard - "eslint-plugin-html@npm:^6.0.2": version: 6.2.0 resolution: "eslint-plugin-html@npm:6.2.0" @@ -8987,13 +8742,6 @@ __metadata: languageName: node linkType: hard -"eventemitter2@npm:^6.4.3": - version: 6.4.9 - resolution: "eventemitter2@npm:6.4.9" - checksum: b2adf7d9f1544aa2d95ee271b0621acaf1e309d85ebcef1244fb0ebc7ab0afa6ffd5e371535d0981bc46195ad67fd6ff57a8d1db030584dee69aa5e371a27ea7 - languageName: node - linkType: hard - "eventemitter3@npm:^4.0.0": version: 4.0.7 resolution: "eventemitter3@npm:4.0.7" @@ -9008,23 +8756,6 @@ __metadata: languageName: node linkType: hard -"execa@npm:4.1.0, execa@npm:^4.0.0, execa@npm:^4.0.2, execa@npm:^4.1.0": - version: 4.1.0 - resolution: "execa@npm:4.1.0" - dependencies: - cross-spawn: ^7.0.0 - get-stream: ^5.0.0 - human-signals: ^1.1.1 - is-stream: ^2.0.0 - merge-stream: ^2.0.0 - npm-run-path: ^4.0.0 - onetime: ^5.1.0 - signal-exit: ^3.0.2 - strip-final-newline: ^2.0.0 - checksum: 02211601bb1c52710260edcc68fb84c3c030dc68bafc697c90ada3c52cc31375337de8c24826015b8382a58d63569ffd203b79c94fef217d65503e3e8d2c52ba - languageName: node - linkType: hard - "execa@npm:^1.0.0": version: 1.0.0 resolution: "execa@npm:1.0.0" @@ -9057,6 +8788,23 @@ __metadata: languageName: node linkType: hard +"execa@npm:^4.0.0, execa@npm:^4.0.2, execa@npm:^4.1.0": + version: 4.1.0 + resolution: "execa@npm:4.1.0" + dependencies: + cross-spawn: ^7.0.0 + get-stream: ^5.0.0 + human-signals: ^1.1.1 + is-stream: ^2.0.0 + merge-stream: ^2.0.0 + npm-run-path: ^4.0.0 + onetime: ^5.1.0 + signal-exit: ^3.0.2 + strip-final-newline: ^2.0.0 + checksum: 02211601bb1c52710260edcc68fb84c3c030dc68bafc697c90ada3c52cc31375337de8c24826015b8382a58d63569ffd203b79c94fef217d65503e3e8d2c52ba + languageName: node + linkType: hard + "execa@npm:^5.0.0": version: 5.1.1 resolution: "execa@npm:5.1.1" @@ -9074,15 +8822,6 @@ __metadata: languageName: node linkType: hard -"executable@npm:^4.1.1": - version: 4.1.1 - resolution: "executable@npm:4.1.1" - dependencies: - pify: ^2.2.0 - checksum: c3cc5d2d2e3cdb1b7d7b0639ebd5566d113d7ada21cfa07f5226d55ba2a210320116720e07570ed5659ef2ec516bc00c8f0488dac75d112fd324ef25c2100173 - languageName: node - linkType: hard - "exit@npm:^0.1.2": version: 0.1.2 resolution: "exit@npm:0.1.2" @@ -9282,23 +9021,6 @@ __metadata: languageName: node linkType: hard -"extract-zip@npm:2.0.1": - version: 2.0.1 - resolution: "extract-zip@npm:2.0.1" - dependencies: - "@types/yauzl": ^2.9.1 - debug: ^4.1.1 - get-stream: ^5.1.0 - yauzl: ^2.10.0 - dependenciesMeta: - "@types/yauzl": - optional: true - bin: - extract-zip: cli.js - checksum: 9afbd46854aa15a857ae0341a63a92743a7b89c8779102c3b4ffc207516b2019337353962309f85c66ee3d9092202a83cdc26dbf449a11981272038443974aee - languageName: node - linkType: hard - "extract-zip@npm:^1.6.6": version: 1.7.0 resolution: "extract-zip@npm:1.7.0" @@ -9471,7 +9193,7 @@ __metadata: languageName: node linkType: hard -"figures@npm:3.2.0, figures@npm:^3.0.0, figures@npm:^3.2.0": +"figures@npm:3.2.0, figures@npm:^3.0.0": version: 3.2.0 resolution: "figures@npm:3.2.0" dependencies: @@ -9789,7 +9511,7 @@ __metadata: languageName: node linkType: hard -"fs-extra@npm:^9.0.1, fs-extra@npm:^9.1.0": +"fs-extra@npm:^9.0.1": version: 9.1.0 resolution: "fs-extra@npm:9.1.0" dependencies: @@ -9999,7 +9721,7 @@ __metadata: languageName: node linkType: hard -"get-stream@npm:^5.0.0, get-stream@npm:^5.1.0": +"get-stream@npm:^5.0.0": version: 5.2.0 resolution: "get-stream@npm:5.2.0" dependencies: @@ -10032,15 +9754,6 @@ __metadata: languageName: node linkType: hard -"getos@npm:^3.2.1": - version: 3.2.1 - resolution: "getos@npm:3.2.1" - dependencies: - async: ^3.2.0 - checksum: 21556fca1da4dfc8f1707261b4f9ff19b9e9bfefa76478249d2abddba3cd014bd6c5360634add1590b27e0b27d422e8f997dddaa0234aae1fa4c54f33f82e841 - languageName: node - linkType: hard - "getpass@npm:^0.1.1": version: 0.1.7 resolution: "getpass@npm:0.1.7" @@ -10172,15 +9885,6 @@ __metadata: languageName: node linkType: hard -"global-dirs@npm:^3.0.0": - version: 3.0.0 - resolution: "global-dirs@npm:3.0.0" - dependencies: - ini: 2.0.0 - checksum: 2b3c05967873662204dfe7159cfef20019e898b5ebe2ac70fc155e4cbe2207732f4b72d4ea1e72f10e91cee139d237ab4d39f1e282751093e7fe83c53abba46f - languageName: node - linkType: hard - "global@npm:^4.4.0": version: 4.4.0 resolution: "global@npm:4.4.0" @@ -10191,7 +9895,7 @@ __metadata: languageName: node linkType: hard -"globals@npm:^11.1.0, globals@npm:^11.12.0": +"globals@npm:^11.1.0": version: 11.12.0 resolution: "globals@npm:11.12.0" checksum: 758f9f258e7b19226bd8d4af5d3b0dcf7038780fb23d82e6f98932c44e239f884847f1766e8fa9cc5635ccb3204f7fa7314d4408dd4002a5e8ea827b4018f0a1 @@ -10751,17 +10455,6 @@ __metadata: languageName: node linkType: hard -"http-signature@npm:~1.3.6": - version: 1.3.6 - resolution: "http-signature@npm:1.3.6" - dependencies: - assert-plus: ^1.0.0 - jsprim: ^2.0.2 - sshpk: ^1.14.1 - checksum: f8d15d8c91a5a80805530e2f401a3f83ed55162058651d86ad00df294b159a54e001b5d00e04983f7542a55865aee02d2d83d68c8499137ff2bc142553d8dfc2 - languageName: node - linkType: hard - "http-status-codes@npm:1.4.0": version: 1.4.0 resolution: "http-status-codes@npm:1.4.0" @@ -11011,13 +10704,6 @@ __metadata: languageName: node linkType: hard -"ini@npm:2.0.0": - version: 2.0.0 - resolution: "ini@npm:2.0.0" - checksum: 2e0c8f386369139029da87819438b20a1ff3fe58372d93fb1a86e9d9344125ace3a806b8ec4eb160a46e64cbc422fe68251869441676af49b7fc441af2389c25 - languageName: node - linkType: hard - "ini@npm:^1.3.5": version: 1.3.8 resolution: "ini@npm:1.3.8" @@ -11199,17 +10885,6 @@ __metadata: languageName: node linkType: hard -"is-ci@npm:^3.0.0": - version: 3.0.1 - resolution: "is-ci@npm:3.0.1" - dependencies: - ci-info: ^3.2.0 - bin: - is-ci: bin.js - checksum: 0e81caa62f4520d4088a5bef6d6337d773828a88610346c4b1119fb50c842587ed8bef1e5d9a656835a599e7209405b5761ddf2339668f2d0f4e889a92fe6051 - languageName: node - linkType: hard - "is-core-module@npm:^2.8.1, is-core-module@npm:^2.9.0": version: 2.10.0 resolution: "is-core-module@npm:2.10.0" @@ -11360,16 +11035,6 @@ __metadata: languageName: node linkType: hard -"is-installed-globally@npm:~0.4.0": - version: 0.4.0 - resolution: "is-installed-globally@npm:0.4.0" - dependencies: - global-dirs: ^3.0.0 - is-path-inside: ^3.0.2 - checksum: f3e6220ee5824b845c9ed0d4b42c24272701f1f9926936e30c0e676254ca5b34d1b92c6205cae11b283776f9529212c0cdabb20ec280a6451677d6493ca9c22d - languageName: node - linkType: hard - "is-interactive@npm:^1.0.0": version: 1.0.0 resolution: "is-interactive@npm:1.0.0" @@ -13300,18 +12965,6 @@ __metadata: languageName: node linkType: hard -"jsprim@npm:^2.0.2": - version: 2.0.2 - resolution: "jsprim@npm:2.0.2" - dependencies: - assert-plus: 1.0.0 - extsprintf: 1.3.0 - json-schema: 0.4.0 - verror: 1.10.0 - checksum: 677be2d41df536c92c6d0114a492ef197084018cfbb1a3e10b1fa1aad889564b2e3a7baa6af7949cc2d73678f42368b0be165a26bd4e4de6883a30dd6a24e98d - languageName: node - linkType: hard - "jsx-ast-utils@npm:^2.4.1 || ^3.0.0, jsx-ast-utils@npm:^3.3.2": version: 3.3.3 resolution: "jsx-ast-utils@npm:3.3.3" @@ -13442,13 +13095,6 @@ __metadata: languageName: node linkType: hard -"lazy-ass@npm:^1.6.0": - version: 1.6.0 - resolution: "lazy-ass@npm:1.6.0" - checksum: 4af6cb9a333fbc811268c745f9173fba0f99ecb817cc9c0fae5dbf986b797b730ff525504128f6623b91aba32b02124553a34b0d14de3762b637b74d7233f3bd - languageName: node - linkType: hard - "left-pad@npm:^1.3.0": version: 1.3.0 resolution: "left-pad@npm:1.3.0" @@ -13645,7 +13291,7 @@ __metadata: languageName: node linkType: hard -"listr2@npm:^3.2.2, listr2@npm:^3.8.3": +"listr2@npm:^3.2.2": version: 3.14.0 resolution: "listr2@npm:3.14.0" dependencies: @@ -13929,7 +13575,7 @@ __metadata: languageName: node linkType: hard -"lodash.once@npm:^4.0.0, lodash.once@npm:^4.1.1": +"lodash.once@npm:^4.0.0": version: 4.1.1 resolution: "lodash.once@npm:4.1.1" checksum: 46a9a0a66c45dd812fcc016e46605d85ad599fe87d71a02f6736220554b52ffbe82e79a483ad40f52a8a95755b0d1077fba259da8bfb6694a7abbf4a48f1fc04 @@ -13964,7 +13610,7 @@ __metadata: languageName: node linkType: hard -"lodash@npm:4.17.21, lodash@npm:4.x, lodash@npm:^4.17.14, lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.20, lodash@npm:^4.17.21, lodash@npm:^4.17.4, lodash@npm:^4.7.0": +"lodash@npm:4.17.21, lodash@npm:4.x, lodash@npm:^4.17.14, lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.21, lodash@npm:^4.17.4, lodash@npm:^4.7.0": version: 4.17.21 resolution: "lodash@npm:4.17.21" checksum: d8cbea072bb08655bb4c989da418994b073a608dffa608b09ac04b43a791b12aeae7cd7ad919aa4c925f33b48490b5cfe6c1f71d827956071dae2e7bb3a6b74c @@ -15461,13 +15107,6 @@ __metadata: languageName: node linkType: hard -"ospath@npm:^1.2.2": - version: 1.2.2 - resolution: "ospath@npm:1.2.2" - checksum: e485a6ca91964f786163408b093860bf26a9d9704d83ec39ccf463b9f11ea712b780b23b73d1f64536de62c5f66244dd94ed83fc9ffe3c1564dd1eed5cdae923 - languageName: node - linkType: hard - "override-require@npm:^1.1.1": version: 1.1.1 resolution: "override-require@npm:1.1.1" @@ -15849,7 +15488,7 @@ __metadata: languageName: node linkType: hard -"pify@npm:^2.2.0, pify@npm:^2.3.0": +"pify@npm:^2.3.0": version: 2.3.0 resolution: "pify@npm:2.3.0" checksum: 551ff8ab830b1052633f59cb8adc9ae8407a436e06b4a9718bcb27dc5844b83d535c3a8512b388b6062af65a98c49bdc0dd523d8b2617b188f7c8fee457158dc @@ -16048,13 +15687,6 @@ __metadata: languageName: node linkType: hard -"pretty-bytes@npm:^5.6.0": - version: 5.6.0 - resolution: "pretty-bytes@npm:5.6.0" - checksum: f69f494dcc1adda98dbe0e4a36d301e8be8ff99bfde7a637b2ee2820e7cb583b0fc0f3a63b0e3752c01501185a5cf38602c7be60da41bdf84ef5b70e89c370f3 - languageName: node - linkType: hard - "pretty-format@npm:^26.0.0, pretty-format@npm:^26.6.2": version: 26.6.2 resolution: "pretty-format@npm:26.6.2" @@ -16200,13 +15832,6 @@ __metadata: languageName: node linkType: hard -"proxy-from-env@npm:1.0.0": - version: 1.0.0 - resolution: "proxy-from-env@npm:1.0.0" - checksum: c64df9b21f7f820dc882cd6f7f81671840acd28b9688ee3e3e6af47a56ec7f0edcabe5bc96b32b26218b35eeff377bcc27ac27f89b6b21401003e187ff13256f - languageName: node - linkType: hard - "proxy-from-env@npm:^1.0.0": version: 1.1.0 resolution: "proxy-from-env@npm:1.1.0" @@ -16256,13 +15881,6 @@ __metadata: languageName: node linkType: hard -"punycode@npm:1.3.2": - version: 1.3.2 - resolution: "punycode@npm:1.3.2" - checksum: 281fd20eaf4704f79d80cb0dc65065bf6452ee67989b3e8941aed6360a5a9a8a01d3e2ed71d0bde3cd74fb5a5dd9db4160bed5a8c20bed4b6764c24ce4c7d2d2 - languageName: node - linkType: hard - "punycode@npm:^1.4.1": version: 1.4.1 resolution: "punycode@npm:1.4.1" @@ -16339,13 +15957,6 @@ __metadata: languageName: node linkType: hard -"querystring@npm:0.2.0": - version: 0.2.0 - resolution: "querystring@npm:0.2.0" - checksum: 2036c9424beaacd3978bac9e4ba514331cc73163bea7bf3ad7e2c7355e55501938ec195312c607753f9c6e70b1bf9dfcda38db6241bd299c034e27ac639d64ed - languageName: node - linkType: hard - "querystringify@npm:^2.1.1": version: 2.2.0 resolution: "querystringify@npm:2.2.0" @@ -16389,13 +16000,6 @@ __metadata: languageName: node linkType: hard -"ramda@npm:~0.27.1": - version: 0.27.2 - resolution: "ramda@npm:0.27.2" - checksum: 1bbcb5bcde33ab2669810644f920b8af4e228967ff800962100803dcdad57b09c5eeee50d9871c74aa20ce496a2d96ec48774e545d7943c8f742ccac5e0fa072 - languageName: node - linkType: hard - "randexp@npm:0.4.6": version: 0.4.6 resolution: "randexp@npm:0.4.6" @@ -17176,15 +16780,6 @@ __metadata: languageName: node linkType: hard -"request-progress@npm:^3.0.0": - version: 3.0.0 - resolution: "request-progress@npm:3.0.0" - dependencies: - throttleit: ^1.0.0 - checksum: d5dcb7155a738572c8781436f6b418e866066a30eea0f99a9ab26b6f0ed6c13637462bba736357de3899b8d30431ee9202ac956a5f8ccdd0d9d1ed0962000d14 - languageName: node - linkType: hard - "request-promise-core@npm:1.1.4": version: 1.1.4 resolution: "request-promise-core@npm:1.1.4" @@ -18270,7 +17865,7 @@ __metadata: languageName: node linkType: hard -"sshpk@npm:^1.14.1, sshpk@npm:^1.7.0": +"sshpk@npm:^1.7.0": version: 1.17.0 resolution: "sshpk@npm:1.17.0" dependencies: @@ -18689,7 +18284,7 @@ __metadata: languageName: node linkType: hard -"supports-color@npm:^8.0.0, supports-color@npm:^8.1.1": +"supports-color@npm:^8.0.0": version: 8.1.1 resolution: "supports-color@npm:8.1.1" dependencies: @@ -18893,13 +18488,6 @@ __metadata: languageName: node linkType: hard -"throttleit@npm:^1.0.0": - version: 1.0.0 - resolution: "throttleit@npm:1.0.0" - checksum: e7c82628e5d7e3bf377878481203702a735e4310bb0c35f563a18c10ba291562332a6b61c57120c6445da1e17e7b0ff52f014b9dd310793843d4d92fa92baf2c - languageName: node - linkType: hard - "through2@npm:^2.0.0, through2@npm:~2.0.3": version: 2.0.5 resolution: "through2@npm:2.0.5" @@ -19833,13 +19421,6 @@ __metadata: languageName: node linkType: hard -"untildify@npm:^4.0.0": - version: 4.0.0 - resolution: "untildify@npm:4.0.0" - checksum: d758e624c707d49f76f7511d75d09a8eda7f2020d231ec52b67ff4896bcf7013be3f9522d8375f57e586e9a2e827f5641c7e06ee46ab9c435fc2b2b2e9de517a - languageName: node - linkType: hard - "update-browserslist-db@npm:^1.0.9": version: 1.0.9 resolution: "update-browserslist-db@npm:1.0.9" @@ -19887,16 +19468,6 @@ __metadata: languageName: node linkType: hard -"url@npm:^0.11.0": - version: 0.11.0 - resolution: "url@npm:0.11.0" - dependencies: - punycode: 1.3.2 - querystring: 0.2.0 - checksum: bbe05f9f570ec5c06421c50ca63f287e61279092eed0891db69a9619323703ccd3987e6eed234c468794cf25680c599680d5c1f58d26090f1956c8e9ed8346a2 - languageName: node - linkType: hard - "urlgrey@npm:0.4.4": version: 0.4.4 resolution: "urlgrey@npm:0.4.4"