Commit 9136655
fix(laboratory): register the canary upload hook once per suite
Playwright scopes afterEach to the suite, not to the test object it was
registered on, so registering per canary fixture ran both hooks for every
test and uploaded each datapoint twice. Registering on the shared
timingFixture covers every test object in the file and fires once.
Applies the hook placement from #5753.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 2781a96 commit 9136655
1 file changed
Lines changed: 5 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 23 | + | |
29 | 24 | | |
30 | 25 | | |
31 | 26 | | |
| |||
0 commit comments