chore: cypress clean

This commit is contained in:
Methapon2001 2023-12-06 09:51:24 +07:00
parent 8aaa72bbd6
commit a98074d339
No known key found for this signature in database
GPG key ID: 849924FEF46BD132
4 changed files with 10 additions and 31 deletions

View file

@ -92,20 +92,8 @@ npm run build
npm run test:unit
```
### Run End-to-End Tests with [Cypress](https://www.cypress.io/)
```sh
npm run test:e2e:dev
```
This runs the end-to-end tests against the Vite development server.
It is much faster than the production build.
But it's still recommended to test the production build with `test:e2e` before deploying (e.g. in CI environments):
```sh
npm run build
npm run test:e2e
```
### Lint with [ESLint](https://eslint.org/)

View file

@ -40,7 +40,6 @@
"@vue/test-utils": "^2.4.2",
"@vue/tsconfig": "^0.4.0",
"eslint": "^8.54.0",
"eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-vue": "^9.18.1",
"jsdom": "^23.0.0",
"npm-run-all": "^4.1.5",

View file

@ -17,6 +17,9 @@ dependencies:
keycloak-js:
specifier: ^23.0.0
version: 23.0.0
nanoid:
specifier: ^5.0.4
version: 5.0.4
pinia:
specifier: ^2.1.7
version: 2.1.7(typescript@5.3.2)(vue@3.3.9)
@ -70,9 +73,6 @@ devDependencies:
eslint:
specifier: ^8.54.0
version: 8.54.0
eslint-plugin-cypress:
specifier: ^2.15.1
version: 2.15.1(eslint@8.54.0)
eslint-plugin-vue:
specifier: ^9.18.1
version: 9.18.1(eslint@8.54.0)
@ -2945,15 +2945,6 @@ packages:
eslint: 8.54.0
dev: true
/eslint-plugin-cypress@2.15.1(eslint@8.54.0):
resolution: {integrity: sha512-eLHLWP5Q+I4j2AWepYq0PgFEei9/s5LvjuSqWrxurkg1YZ8ltxdvMNmdSf0drnsNo57CTgYY/NIHHLRSWejR7w==}
peerDependencies:
eslint: '>= 3.2.1'
dependencies:
eslint: 8.54.0
globals: 13.23.0
dev: true
/eslint-plugin-prettier@5.0.1(eslint-config-prettier@8.10.0)(eslint@8.54.0)(prettier@3.1.0):
resolution: {integrity: sha512-m3u5RnR56asrwV/lDC4GHorlW75DsFfmUcjfCYylTUs85dBRnB7VM6xG8eCMJdeDRnppzmxZVf1GEPJvl1JmNg==}
engines: {node: ^14.18.0 || >=16.0.0}
@ -4038,6 +4029,12 @@ packages:
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
hasBin: true
/nanoid@5.0.4:
resolution: {integrity: sha512-vAjmBf13gsmhXSgBrtIclinISzFFy22WwCYoyilZlsrRXNIHSwgFQ1bEdjRwMT3aoadeIF6HMuDRlOxzfXV8ig==}
engines: {node: ^18 || >=20}
hasBin: true
dev: false
/natural-compare@1.4.0:
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
dev: true

View file

@ -1,11 +1,6 @@
{
"extends": ["@tsconfig/node18/tsconfig.json", "@vue/tsconfig/tsconfig.json"],
"include": [
"vite.config.*",
"vitest.config.*",
"cypress.config.*",
"playwright.config.*"
],
"include": ["vite.config.*", "vitest.config.*", "playwright.config.*"],
"compilerOptions": {
"composite": true,
"ignoreDeprecations": "5.0",