mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
use yarn instead of npm with cypress tests
This commit is contained in:
parent
0dca2725e7
commit
d419462b7b
@ -22,5 +22,5 @@ cd e2e-tests/cypress
|
|||||||
docker build -t gradido_e2e-tests-cypress .
|
docker build -t gradido_e2e-tests-cypress .
|
||||||
|
|
||||||
# run the Docker container and execute the given tests
|
# run the Docker container and execute the given tests
|
||||||
docker run -it gradido_e2e-tests-cypress cypress run
|
docker run -it gradido_e2e-tests-cypress yarn run cypress-e2e-tests
|
||||||
```
|
```
|
||||||
|
|||||||
17
e2e-tests/cypress/tests/package.json
Normal file
17
e2e-tests/cypress/tests/package.json
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"name": "gradido-e2e-tests-cypress",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "End-to-end tests with Cypress",
|
||||||
|
"main": "yarn run cypress run",
|
||||||
|
"repository": "https://github.com/gradido/gradido/e2e-tests/cypress",
|
||||||
|
"author": "Mathias Lenz",
|
||||||
|
"license": "Apache-2.0",
|
||||||
|
"private": false,
|
||||||
|
"scripts": {
|
||||||
|
"cypress-e2e-tests": "yarn run cypress run",
|
||||||
|
"lint": "eslint --max-warnings=0 --ext .js,.ts ."
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"cypress": "^10.3.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
1126
e2e-tests/cypress/tests/yarn.lock
Normal file
1126
e2e-tests/cypress/tests/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user