Enhance e2e testing scripts by adding playwright installation step
This commit is contained in:
parent
9d90e864d1
commit
a8e4d0f3ea
@ -30,8 +30,8 @@
|
|||||||
"test-backend": "node test/test-backend.mjs",
|
"test-backend": "node test/test-backend.mjs",
|
||||||
"test-backend-22": "cross-env TEST_BACKEND=1 node --test \"test/backend-test/**/*.js\"",
|
"test-backend-22": "cross-env TEST_BACKEND=1 node --test \"test/backend-test/**/*.js\"",
|
||||||
"test-backend-20": "cross-env TEST_BACKEND=1 node --test test/backend-test",
|
"test-backend-20": "cross-env TEST_BACKEND=1 node --test test/backend-test",
|
||||||
"test-e2e": "playwright test --config ./config/playwright.config.js",
|
"test-e2e": "playwright install && playwright test --config ./config/playwright.config.js",
|
||||||
"test-e2e-ui": "playwright test --config ./config/playwright.config.js --ui --ui-port=51063",
|
"test-e2e-ui": "playwright install && playwright test --config ./config/playwright.config.js --ui --ui-port=51063",
|
||||||
"playwright-codegen": "playwright codegen localhost:3000 --save-storage=./private/e2e-auth.json",
|
"playwright-codegen": "playwright codegen localhost:3000 --save-storage=./private/e2e-auth.json",
|
||||||
"playwright-show-report": "playwright show-report ./private/playwright-report",
|
"playwright-show-report": "playwright show-report ./private/playwright-report",
|
||||||
"tsc": "tsc --project ./tsconfig-backend.json",
|
"tsc": "tsc --project ./tsconfig-backend.json",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user