You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Scoped Playwright discovery to `tests/ui` to run UI specs only when invoking `npx playwright test`.
23
+
-`.gitignore` already included required ignore entries; no `.gitignore` changes were needed:
24
+
-`node_modules/`
25
+
-`tests/results/`
26
+
-`tmp/`
23
27
24
28
## Validation Commands
25
29
-`node --check playwright.config.cjs` -> **PASS**
26
-
-`npx playwright test` -> **PASS**
30
+
-`npx playwright test tests/ui/workspace-v2.asset-manager.spec.js` -> **PASS**
27
31
28
32
## Output Verification
29
33
-`tests/results/` exists -> **YES**
@@ -33,5 +37,4 @@ Move Playwright outputs from defaults into `tests/results/**` via config-only ch
33
37
-`playwright-report/` created -> **NO**
34
38
35
39
## Constraint Note
36
-
- A direct combination of `outputDir = tests/results` and HTML reporter `outputFolder = tests/results/report` is rejected by Playwright due folder-clash protection.
37
-
- Final config keeps all output in `tests/results/**` without using default output folders.
40
+
- Playwright rejects direct HTML/outputDir folder collision. Final config keeps all output in `tests/results/**` by using top-level `outputDir` plus project-level artifact `outputDir`.
- Playwright rejects a config where HTML output folder is nested under the same root as `outputDir` when both are the same directory tree root (`tests/results`), because HTML reporter clears its output folder and can erase artifacts.
16
-
- This config keeps all outputs under `tests/results/**` while avoiding reporter/outputDir collision.
17
+
-`.gitignore` already includes required entries:
18
+
-`node_modules/`
19
+
-`tests/results/`
20
+
-`tmp/`
21
+
- Playwright rejects a config where HTML output folder and test artifact `outputDir` share a collision path. Project-level `outputDir` avoids that clash while keeping all outputs under `tests/results/**`.
17
22
18
23
## Validation
19
24
-`node --check playwright.config.cjs`
20
-
-`npx playwright test`
25
+
-`npx playwright test tests/ui/workspace-v2.asset-manager.spec.js`
0 commit comments