Commit 02a8073
committed
test(e2e): increase timing budget for CI and assert repos before save
The LoadingScreen runs in a background thread and then fires a 1.5 s
set_timer before pushing DashboardScreen. On slow CI runners the combined
latency can exceed the previous 3 s (30x100 ms) polling budget, leaving
app.original_repo / app.forked_repo still None when Save is clicked. This
caused save_member() to raise RuntimeError, which was silently absorbed by
on_button_pressed, so the screen never transitioned to SaveLoadingScreen.
- Increase LoadingScreen poll budget to 5 s (50x100 ms)
- Increase SaveLoadingScreen poll budget to 5 s (50x100 ms)
- Assert app.original_repo and app.forked_repo are not None after
DashboardScreen is reached, making the failure obvious if repos are
not initialised in time1 parent 3a6bda9 commit 02a8073
1 file changed
Lines changed: 9 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | 68 | | |
72 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
112 | | - | |
113 | | - | |
| 113 | + | |
| 114 | + | |
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
| |||
0 commit comments