From 3f3ed93b8a11e6aaa45f4b09d2d5fa463bdc368f Mon Sep 17 00:00:00 2001 From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Date: Tue, 21 Apr 2026 12:34:22 +0100 Subject: [PATCH] nx test:playwright:screenshots: only do snapshots for Chrome (#33216) * nx test:playwright:screenshots: only do snapshots for Chrome `nx` eats the `--project` option unless we prefix with `--`. * 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 486691e4d5..9e8aecd4c9 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"] }