From d13f3b9b19a2872474260021383b0610b155a4f2 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sat, 2 Oct 2021 20:07:38 +0200 Subject: [PATCH] chore: change cypress settings to run tests in cypress without needing to modify the config --- cypress.json | 2 +- cypress/docker-compose.yml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cypress.json b/cypress.json index 404249f3..27f12495 100644 --- a/cypress.json +++ b/cypress.json @@ -2,7 +2,7 @@ "baseUrl": "http://localhost:5000", "env": { "API_URL": "http://localhost:3456/api/v1", - "TEST_SECRET": "testingS3cr3et" + "TEST_SECRET": "averyLongSecretToSe33dtheDB" }, "video": false, "retries": { diff --git a/cypress/docker-compose.yml b/cypress/docker-compose.yml index 1c496de4..98a24edd 100644 --- a/cypress/docker-compose.yml +++ b/cypress/docker-compose.yml @@ -2,10 +2,12 @@ version: '3' services: api: - image: vikunja/api + image: vikunja/api:unstable environment: VIKUNJA_LOG_LEVEL: DEBUG VIKUNJA_SERVICE_TESTINGTOKEN: averyLongSecretToSe33dtheDB + ports: + - 3456:3456 cypress: image: cypress/browsers:node12.18.3-chrome87-ff82 volumes: