Fix playwright modules tests

This commit is contained in:
Michael Telatynski
2026-06-09 18:17:37 +01:00
parent a16b72732e
commit bb2c6d68ff
5 changed files with 20 additions and 12 deletions
+3 -2
View File
@@ -1,16 +1,17 @@
{
"$schema": "../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"implicitDependencies": ["modules/*"],
"targets": {
"test:playwright": {
"command": "playwright test",
"options": { "cwd": "modules" },
"dependsOn": ["^build:playwright"]
"dependsOn": ["^build:playwright", "^build"]
},
"test:playwright:screenshots": {
"command": "playwright-screenshots playwright test --update-snapshots --grep @screenshot",
"options": { "cwd": "modules" },
"dependsOn": ["^build:playwright"]
"dependsOn": ["^build:playwright", "^build"]
}
}
}