Commit 9fc5548
fix(e2e): Retry replay_id check in e2e replay assertion
The captureReplay e2e test fails when replay_id is missing from the
error event. This can happen on slow CI when the native replay buffer
hasn't captured a frame before the error is sent. Add a retry loop
(10 attempts, 3s apart) around the replay_id extraction instead of
failing immediately.
Reverts the waitForReplayBuffer.yml approach in favour of this
simpler server-side retry.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 0a22be5 commit 9fc5548
3 files changed
Lines changed: 20 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | 8 | | |
13 | 9 | | |
14 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
71 | 87 | | |
72 | | - | |
| 88 | + | |
73 | 89 | | |
74 | 90 | | |
75 | 91 | | |
| |||
Lines changed: 0 additions & 23 deletions
This file was deleted.
0 commit comments