Commit df39821
fix(tests): add plugin warm-up to regression spec before() hooks
The monitoring-console-plugin registers the Incidents tab extension
asynchronously after Cypress session restoration. Without warm-up,
the tab may not be registered before beforeEach() tries to navigate,
causing flaky failures in reg/02-05 specs.
Uses warmUpForPlugin() (added in previous commit) which polls for
the Incidents tab via jQuery check for up to 3 minutes — replacing
the fragile goTo() that relied on the 80s default command timeout.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 8cd04b8 commit df39821
4 files changed
Lines changed: 4 additions & 0 deletions
File tree
- web/cypress/e2e/incidents/regression
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
0 commit comments