Commit cdd189c
test: enable Playwright trace on all E2E test runs (#987)
* test: enable Playwright trace on all E2E test runs
Change trace from 'on-first-retry' to 'on' so every test run captures
screenshots and DOM snapshots at each Playwright action. This makes
debugging easier — especially when traces are reviewed by AI — since
the full interaction flow is always available, not just on retries.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: use retain-on-failure in CI, remove manual tracing
Address review comments:
- Use 'retain-on-failure' in CI to limit artifact size, 'on' locally
- Remove manual tracing.start/stop from fixture — Playwright's built-in
use.trace config handles it automatically, avoiding 'Tracing has been
already started' conflicts
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 3a886bd commit cdd189c
2 files changed
+8
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
| 139 | + | |
| 140 | + | |
143 | 141 | | |
144 | 142 | | |
145 | 143 | | |
146 | 144 | | |
147 | 145 | | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
| 146 | + | |
| 147 | + | |
158 | 148 | | |
159 | 149 | | |
160 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
0 commit comments