mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-21 23:53:52 +00:00
Remove more cypress remainds
This commit is contained in:
parent
0d27a036de
commit
dac388dff2
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
```
|
||||
|
|
|
@ -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',
|
||||
},
|
||||
});
|
|
@ -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": [
|
||||
|
|
|
@ -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.*',
|
||||
|
|
Loading…
Reference in New Issue
Block a user