mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +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
|
# 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
|
||||||
|
|
||||||
|
|
|
@ -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
|
|
||||||
```
|
|
||||||
|
|
|
@ -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,
|
"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": [
|
||||||
|
|
|
@ -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.*',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user