diff --git a/package.json b/package.json index eb3046b35..5d71a5116 100644 --- a/package.json +++ b/package.json @@ -30,8 +30,8 @@ "test-backend": "node test/test-backend.mjs", "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-e2e": "playwright test --config ./config/playwright.config.js", - "test-e2e-ui": "playwright test --config ./config/playwright.config.js --ui --ui-port=51063", + "test-e2e": "playwright install && playwright test --config ./config/playwright.config.js", + "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-show-report": "playwright show-report ./private/playwright-report", "tsc": "tsc --project ./tsconfig-backend.json",