From dac388dff28affc414be9e5298842688fc0f62ee Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 14 Apr 2024 09:28:02 +0200 Subject: [PATCH] Remove more cypress remainds --- .github/workflows/ci.yml | 7 ------- README.md | 9 --------- cypress.config.ts | 19 ------------------- tsconfig.json | 2 -- vite.config.ts | 1 - 5 files changed, 38 deletions(-) delete mode 100644 cypress.config.ts diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 32abd99b..c6d614eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,13 +57,6 @@ jobs: # End Playwright section - - name: Cypress run - uses: cypress-io/github-action@v6 - with: - # build: yarn build - start: yarn dev --host - wait-on: 'http://127.0.0.1:3000' - - name: Build build run: yarn build diff --git a/README.md b/README.md index 5f3ffb27..5e1c298a 100644 --- a/README.md +++ b/README.md @@ -101,12 +101,3 @@ yarn dev ``` You now have useful vscode extensions, git support, your command history of the project. - -### Fix cypress errors - -Depending on the system configuration (node version, ...), there can failures when starting cypress. -This can be mitigated by using the following environment variable. - -``` -export NODE_OPTIONS=--openssl-legacy-provider -``` diff --git a/cypress.config.ts b/cypress.config.ts deleted file mode 100644 index 33d8e8f6..00000000 --- a/cypress.config.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { defineConfig } from 'cypress'; - -export default defineConfig({ - video: false, - e2e: { - // We've imported your old cypress plugins here. - // You may want to clean this up later by importing these. - specPattern: 'cypress/e2e/**/*.cy.ts', - baseUrl: 'http://localhost:3000', - }, - component: { - devServer: { - framework: 'vue', - bundler: 'vite', - }, - // setupNodeEvents(on, config) {}, - specPattern: 'src/**/*.cy.ts', - }, -}); diff --git a/tsconfig.json b/tsconfig.json index 3d131d22..fcb6bea2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -14,7 +14,6 @@ "allowJs": true, "baseUrl": "src", "types": [ - "cypress", "vite/client", "unplugin-icons/types/vue", ], @@ -28,7 +27,6 @@ "src/**/*.ts", "src/**/*.tsx", "src/**/*.vue", - "cypress/support/*.ts", "components.d.ts", ], "exclude": [ diff --git a/vite.config.ts b/vite.config.ts index 9a2009bd..bb31b596 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -68,7 +68,6 @@ export default defineConfig({ exclude: [ '**/node_modules/**', '**/dist/**', - '**/cypress/**', '**/e2e/**', '**/.{idea,git,cache,output,temp}/**', '**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build}.config.*',