ENV for CI e2e test
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ test:e2e:
|
|||||||
needs: ["install", "build"]
|
needs: ["install", "build"]
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- npm run test:e2e
|
- NEXT_PUBLIC_API_URL=https://api.dev.sik.party/api npm run test:e2e
|
||||||
|
|
||||||
publish:dev:
|
publish:dev:
|
||||||
stage: publish
|
stage: publish
|
||||||
|
|||||||
+1
-1
@@ -28,7 +28,7 @@
|
|||||||
"start": "next dev",
|
"start": "next dev",
|
||||||
"start-prod": "next start",
|
"start-prod": "next start",
|
||||||
"test": "npm run test:e2e:verbose",
|
"test": "npm run test:e2e:verbose",
|
||||||
"test:e2e": "npm-run-all -p -r NEXT_PUBLIC_API_URL=https://api.dev.sik.party/api start-prod test:e2e:testcafe",
|
"test:e2e": "npm-run-all -p -r start-prod test:e2e:testcafe",
|
||||||
"test:e2e:verbose": "npm-run-all -p -r start-prod test:e2e:testcafe:verbose",
|
"test:e2e:verbose": "npm-run-all -p -r start-prod test:e2e:testcafe:verbose",
|
||||||
"test:e2e:testcafe": "testcafe -S -s 'tests/testcafe/screenshots' --app-init-delay 2000 chrome:headless tests/testcafe",
|
"test:e2e:testcafe": "testcafe -S -s 'tests/testcafe/screenshots' --app-init-delay 2000 chrome:headless tests/testcafe",
|
||||||
"test:e2e:testcafe:verbose": "testcafe -S -s 'tests/testcafe/screenshots' --app-init-delay 2000 chrome tests/testcafe"
|
"test:e2e:testcafe:verbose": "testcafe -S -s 'tests/testcafe/screenshots' --app-init-delay 2000 chrome tests/testcafe"
|
||||||
|
|||||||
Reference in New Issue
Block a user