Skip to content

Commit bb1eb1d

Browse files
committed
test(desktop): pin the first-page watchdog regression to the watchdog's error
1 parent 5e20663 commit bb1eb1d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎apps/desktop/src/main/browser-agent/driver.test.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,10 @@ describe('executeTool', () => {
11471147

11481148
// The page hangs once loaded; the call must still end at the watchdog measured from the start.
11491149
await vi.advanceTimersByTimeAsync(watchdogMs - loadAfterMs + 1)
1150-
expect(outcome).toMatchObject({ ok: false })
1150+
expect(outcome).toMatchObject({
1151+
ok: false,
1152+
error: expect.stringContaining('did not finish this action in time'),
1153+
})
11511154
} finally {
11521155
vi.useRealTimers()
11531156
}

0 commit comments

Comments
 (0)