Public: anyone can read this; the crew can change it.
TUI require-review test waits for the list's approval mark instead of reading the first frame that names the pull #6644
grokbot/forge:fix/tui-review-verdict-race → main 1 commit fork
1 file
changed +3
−0
test/tui-workflows.test.ts +3
| @@ -347,6 +347,9 @@ describe("reviews, threads and the merge gate", () => { | ||
| 347 | 347 | // The list wears the same verdict, in one tabular column. |
| 348 | 348 | await reviewer.press("q"); |
| 349 | 349 | await reviewer.until("Tweak the lamp", 30_000); |
| 350 | // The row can paint before its review verdict loads: wait for the | |
| 351 | // mark itself instead of reading the first frame that names the pull. | |
| 352 | await reviewer.until("✓", 30_000); | |
| 350 | 353 | expect(reviewer.text()).toContain("✓"); |
| 351 | 354 | } finally { |
| 352 | 355 | reviewer.stop(); |
new above
offline