From 6e7e64c6c7e6d037f34160af6f3fb9c2aac55a56 Mon Sep 17 00:00:00 2001 From: Marcelfrueh <78954450+Marcelfrueh@users.noreply.github.com> Date: Mon, 16 Dec 2024 10:39:33 +0100 Subject: [PATCH] Add env variables to cypress scripts --- ui/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/package.json b/ui/package.json index a0b9eb57ff..0aea233794 100644 --- a/ui/package.json +++ b/ui/package.json @@ -23,9 +23,9 @@ "format": "prettier --check .", "format:fix": "prettier --write .", "lint-staged": "lint-staged", - "test-cypress-open": "cypress open --env DEVELOPMENT=true", - "test-cypress-smoke": "npx cypress run --spec 'cypress/tests/**/*.smoke.spec.ts'", - "test-cypress-all": "npx cypress run --spec 'cypress/tests/**/*.spec.ts'", + "test-cypress-open": "cypress open --config baseUrl=http://localhost:8082 --env DEVELOPMENT=true", + "test-cypress-smoke": "npx cypress run --spec 'cypress/tests/**/*.smoke.spec.ts' --config baseUrl=http://localhost:8082", + "test-cypress-all": "npx cypress run --spec 'cypress/tests/**/*.spec.ts' --config baseUrl=http://localhost:8082", "prepare": "cd ../ && husky install ./ui/.husky" }, "dependencies": {