Commit 8cd04b8
fix(tests): use OOM-safe polling in e2e incident lifecycle test
Replace the simple waitUntil loop with the OOM-protected
findIncidentWithAlert — it uses cy.reload(), _quietSearch, and
hard timeout to safely poll for up to 30 minutes without OOM.
The previous approach accumulated Cypress command snapshots and
browser DOM across 15+ retry cycles, causing exit 137 in CI.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 44d7134 commit 8cd04b8
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | 45 | | |
47 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
48 | 53 | | |
49 | | - | |
50 | | - | |
| 54 | + | |
| 55 | + | |
51 | 56 | | |
52 | 57 | | |
53 | 58 | | |
| |||
0 commit comments