Commit 94d4596
committed
e2e: shorten visit-site-editor canvas-loader visible wait
The site-editor performance suite has been spending ~60s per
`visitSiteEditor` call since #77443 because the loader element no longer
becomes visible (the editor resolves inside the 100ms artificial-delay
in `useIsSiteEditorLoading` before React commits the loading render).
The visible-state wait then times out at 60s and the catch block
recovers, costing ~10-13 min per perf workflow run.
Drop the visible-state timeout to 3s. The loader either appears within
a tick or it doesn't appear at all, so the long wait is just wasted
wall clock when the loader is skipped.1 parent 7d8facb commit 94d4596
1 file changed
Lines changed: 6 additions & 2 deletions
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
72 | 76 | | |
73 | 77 | | |
74 | 78 | | |
| |||
0 commit comments