This is an automated email from the ASF dual-hosted git repository.
riemer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampipes.git
The following commit(s) were added to refs/heads/dev by this push:
new 4c6124da20 Add env variables to cypress scripts (#3377)
4c6124da20 is described below
commit 4c6124da20e449806abb6a2baf920fbb83276bee
Author: Marcel Früholz <[email protected]>
AuthorDate: Mon Dec 16 13:48:44 2024 +0100
Add env variables to cypress scripts (#3377)
---
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": {