Repository navigation
Commit f756aab
committed
test(e2e): settle expected display says before detaching listener (CI event race)
CI e2e-mock failed 2 !== 3 on "exactly three thinkingEffort display says":
the final display say is observed on the Message channel after the
TaskCompleted event resolved waitUntilCompleted (separate event channels,
no cross-channel ordering guarantee; under CI load the queue lags by more
than one turn). Await the expected says with a bounded settle (5s, 100ms)
before detaching the listener: a genuine shortfall still fails the same
assertion, the race no longer does.1 parent 2983975 commit f756aab
1 file changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
134 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
135 | 147 | | |
136 | 148 | | |
137 | 149 | | |
| |||
0 commit comments