From 18789ee04d069fddc1b6e8bcf0d67302fdb87116 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Mon, 20 Apr 2026 19:12:49 +0100 Subject: [PATCH 1/2] nx test:playwright:screenshots: only do snapshots for Chrome `nx` eats the `--project` option unless we prefix with `--`. --- apps/web/project.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/project.json b/apps/web/project.json index 59fa9f3a66c..486691e4d57 100644 --- a/apps/web/project.json +++ b/apps/web/project.json @@ -60,7 +60,7 @@ "dependsOn": ["^build:playwright"] }, "test:playwright:screenshots": { - "command": "playwright-screenshots nx test:playwright --update-snapshots --project=Chrome --grep @screenshot", + "command": "playwright-screenshots nx test:playwright -- --update-snapshots --project=Chrome --grep @screenshot", "options": { "cwd": "apps/web" }, "dependsOn": ["^build:playwright"] } From 8f634af1cb7815d6d31aedefb620a2535cc7dd4e Mon Sep 17 00:00:00 2001 From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Date: Tue, 21 Apr 2026 10:00:01 +0100 Subject: [PATCH 2/2] Apply suggestion from @richvdh --- apps/web/project.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/project.json b/apps/web/project.json index 486691e4d57..9e8aecd4c9a 100644 --- a/apps/web/project.json +++ b/apps/web/project.json @@ -60,7 +60,7 @@ "dependsOn": ["^build:playwright"] }, "test:playwright:screenshots": { - "command": "playwright-screenshots nx test:playwright -- --update-snapshots --project=Chrome --grep @screenshot", + "command": "playwright-screenshots playwright test --update-snapshots --project=Chrome --grep @screenshot", "options": { "cwd": "apps/web" }, "dependsOn": ["^build:playwright"] }