diff --git a/Dockerfile b/Dockerfile index e7df3b20..48cd0941 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,4 +8,4 @@ ENV PATH="$PNPM_HOME:$PATH" RUN corepack enable pnpm RUN corepack use pnpm@9 -RUN pnpm dlx playwright install --with-deps +RUN pnpm playwright install --with-deps diff --git a/e2e/package.json b/e2e/package.json index 8b659ca4..e66ef3a8 100644 --- a/e2e/package.json +++ b/e2e/package.json @@ -2,7 +2,8 @@ "private": true, "type": "module", "scripts": { - "e2e": "playwright test" + "e2e": "playwright test", + "playwright": "playwright" }, "devDependencies": { "@playwright/test": "1.47.2", diff --git a/package.json b/package.json index cdb9afc7..234089be 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ "lint": "eslint app/src ui/src", "check": "pnpm -C app check && pnpm -C ui check", "test": "pnpm -C app test", - "e2e": "pnpm -C e2e e2e" + "e2e": "pnpm -C e2e e2e", + "playwright": "pnpm -C e2e playwright" }, "devDependencies": { "eslint": "9.11.0",