From a8e4d0f3ea15b7f4eb6429dafcffe7929a67c836 Mon Sep 17 00:00:00 2001 From: Julian Speckmann <176780813+KingIronMan2011@users.noreply.github.com> Date: Mon, 29 Dec 2025 03:14:44 +0100 Subject: [PATCH] Enhance e2e testing scripts by adding playwright installation step --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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",