Skip to content

Commit 3f3ed93

Browse files
authored
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
1 parent 133a56d commit 3f3ed93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/web/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"dependsOn": ["^build:playwright"]
6161
},
6262
"test:playwright:screenshots": {
63-
"command": "playwright-screenshots nx test:playwright -- --update-snapshots --project=Chrome --grep @screenshot",
63+
"command": "playwright-screenshots playwright test --update-snapshots --project=Chrome --grep @screenshot",
6464
"options": { "cwd": "apps/web" },
6565
"dependsOn": ["^build:playwright"]
6666
}

0 commit comments

Comments
 (0)