Remove more cypress remainds

This commit is contained in:
Matthias 2024-04-14 09:28:02 +02:00
parent 0d27a036de
commit dac388dff2
5 changed files with 0 additions and 38 deletions

View File

@ -57,13 +57,6 @@ jobs:
# End Playwright section # 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 - name: Build build
run: yarn build run: yarn build

View File

@ -101,12 +101,3 @@ yarn dev
``` ```
You now have useful vscode extensions, git support, your command history of the project. 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
```

View File

@ -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',
},
});

View File

@ -14,7 +14,6 @@
"allowJs": true, "allowJs": true,
"baseUrl": "src", "baseUrl": "src",
"types": [ "types": [
"cypress",
"vite/client", "vite/client",
"unplugin-icons/types/vue", "unplugin-icons/types/vue",
], ],
@ -28,7 +27,6 @@
"src/**/*.ts", "src/**/*.ts",
"src/**/*.tsx", "src/**/*.tsx",
"src/**/*.vue", "src/**/*.vue",
"cypress/support/*.ts",
"components.d.ts", "components.d.ts",
], ],
"exclude": [ "exclude": [

View File

@ -68,7 +68,6 @@ export default defineConfig({
exclude: [ exclude: [
'**/node_modules/**', '**/node_modules/**',
'**/dist/**', '**/dist/**',
'**/cypress/**',
'**/e2e/**', '**/e2e/**',
'**/.{idea,git,cache,output,temp}/**', '**/.{idea,git,cache,output,temp}/**',
'**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build}.config.*', '**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build}.config.*',