fix: separated e2e tests in mode of local testing and CI testing
This commit is contained in:
parent
b36983b583
commit
f7294c96d1
2
.github/workflows/node-ci.yml
vendored
2
.github/workflows/node-ci.yml
vendored
|
@ -41,5 +41,5 @@ jobs:
|
|||
# run: npm run e2e:tests
|
||||
|
||||
- name: Run e2e tests
|
||||
run: npm run e2e:tests -- --baseUrl http://localhost:8080
|
||||
run: npm run e2e:tests:ci
|
||||
# Ensure your e2e tests can accept a baseUrl parameter
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
"start": "vinxi start",
|
||||
"codegen": "graphql-codegen",
|
||||
"e2e:tests": "npx playwright test --project=webkit",
|
||||
"e2e:tests:ci": "BASE_URL=http://staging.example.com npx playwright test --project=webkit",
|
||||
"e2e:install": "npx playwright install webkit && npx playwright install-deps ",
|
||||
"fix": "npx @biomejs/biome check . --fix && stylelint **/*.{scss,css} --fix",
|
||||
"format": "npx @biomejs/biome format src/. --write",
|
||||
|
|
Loading…
Reference in New Issue
Block a user