chore: change cypress settings to run tests in cypress without needing to modify the config
This commit is contained in:
parent
50799a7b3e
commit
d13f3b9b19
2 changed files with 4 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
"baseUrl": "http://localhost:5000",
|
"baseUrl": "http://localhost:5000",
|
||||||
"env": {
|
"env": {
|
||||||
"API_URL": "http://localhost:3456/api/v1",
|
"API_URL": "http://localhost:3456/api/v1",
|
||||||
"TEST_SECRET": "testingS3cr3et"
|
"TEST_SECRET": "averyLongSecretToSe33dtheDB"
|
||||||
},
|
},
|
||||||
"video": false,
|
"video": false,
|
||||||
"retries": {
|
"retries": {
|
||||||
|
|
|
@ -2,10 +2,12 @@ version: '3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
api:
|
api:
|
||||||
image: vikunja/api
|
image: vikunja/api:unstable
|
||||||
environment:
|
environment:
|
||||||
VIKUNJA_LOG_LEVEL: DEBUG
|
VIKUNJA_LOG_LEVEL: DEBUG
|
||||||
VIKUNJA_SERVICE_TESTINGTOKEN: averyLongSecretToSe33dtheDB
|
VIKUNJA_SERVICE_TESTINGTOKEN: averyLongSecretToSe33dtheDB
|
||||||
|
ports:
|
||||||
|
- 3456:3456
|
||||||
cypress:
|
cypress:
|
||||||
image: cypress/browsers:node12.18.3-chrome87-ff82
|
image: cypress/browsers:node12.18.3-chrome87-ff82
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in a new issue