test(web): drop the obsolete settled-title wait from the steering scenario

Master's 07dcdb46e5 moved the question step's settled title into the
`Ask question waiting` row of mid-steer.expected.md, so the button this
scenario waited for no longer renders. The wait therefore never resolved and
parked the scenario on the question page, producing the lane's cascade: `no
turn/end within 30000ms`, no live root session matching session.v4.jsonl, and
`llm-replay: fixture not fully consumed`. `captureStableAria` already polls
until two consecutive normalized captures agree, so the settled state is
captured without the extra wait.

DSH_SNAPSHOT=replay pnpm exec vitest run --config vitest.web.config.ts
apps/web/tests/steering.e2e.ts -> 7 passed (reproduced twice); with the wait
present the same command fails at its 10 s bound and again widened to 30 s.
This commit is contained in:
Tianyi Cui committed 2026-09-27 19:06:39 +08:00
1 parent 55bcb56684
commit 751724c88e
1 file changed
-5
-5
View File
@@ -149,11 +149,6 @@ describe('web e2e: mid-turn steering lands durably and visibly', () => {
expect(await page.getByText(STEER, { exact: true }).count()).toBe(1)
expect(await pendingSteering.count()).toBe(1)
expect(await page.getByRole('button', { name: 'Edit queued message' }).count()).toBe(0)
// The question step's process title reaches its settled text a minimum
// display interval after the takeover; capture that text, not the
// transient one the golden does not record.
await page.getByRole('button', { name: 'Waiting for your action · Ready to continue?' })
.waitFor({ timeout: 10_000 })
const snapshot = await captureStableAria(page, '[class*="centerCol"]', scaffold.workspaceCwd)
await compareOrRefreshGolden(MID_EXPECTED, snapshot, MODE)
}