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
This commit is contained in:
Richard van der Hoff
2026-04-21 12:34:22 +01:00
committed by GitHub
parent 133a56da65
commit 3f3ed93b8a
+1 -1
View File
@@ -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"]
}