|
|
@@ -354,10 +354,10 @@ describe('web e2e: empty-draft Cmd+Enter steers the whole queue', () => {
|
|
|
{ timeout: 10_000 },
|
|
|
).toBe(2)
|
|
|
expect(await page.locator('[data-queue-dock]').count()).toBe(0)
|
|
|
- // The reasoning row streams independently of the steering handoff; wait
|
|
|
- // for it so the mid snapshot pins the assistant step, not the pre-render
|
|
|
- // gap a fast machine can catch between steering acceptance and the block.
|
|
|
- await page.locator('[data-variant="think"]').first().waitFor({ timeout: 10_000 })
|
|
|
+ // The reasoning row streams independently of the steering handoff. Wait
|
|
|
+ // for the block to settle so the mid snapshot does not race its transient
|
|
|
+ // visually-hidden Running label while the question keeps the turn open.
|
|
|
+ await page.locator('[data-variant="think"][data-state="ok"]').first().waitFor({ timeout: 10_000 })
|
|
|
const mid = await captureStableAria(page, '[class*="centerCol"]', scaffold.workspaceCwd)
|
|
|
await compareOrRefreshGolden(STEER_ALL_MID, mid, MODE)
|
|
|
|