Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/webui/test/integration/agent-transcript.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ it.each(["transcript", "cross-client", "external-active-mutation", "external-act
await page.context().grantPermissions(["clipboard-read", "clipboard-write"], {
origin: new URL(url).origin,
});
await browserExpect(page.locator("#webui-root")).toBeVisible();
await browserExpect(page.locator("#webui-root")).toBeVisible({ timeout: FIRST_SCREEN_TIMEOUT_MS });
// The event channel opens as the client boots, so this wait is bounded by
// the boot budget the file already documents — not by the default 5s, which
// a loaded runner can pass without the client having started at all.
Expand Down Expand Up @@ -859,7 +859,7 @@ it.each(["transcript", "cross-client", "external-active-mutation", "external-act
// message is part of that condition: it can only be on screen once the
// reloaded client has resumed the session and rendered what it read back.
await browserExpect(composer).toBeVisible({ timeout: FIRST_SCREEN_TIMEOUT_MS });
await browserExpect(page.locator("#webui-root")).toBeVisible();
await browserExpect(page.locator("#webui-root")).toBeVisible({ timeout: FIRST_SCREEN_TIMEOUT_MS });
await browserExpect(page.getByText("Please reason, then answer.")).toBeVisible();
try {
await browserExpect.poll(() => requests.filter((request) => request.operation === "resumeSession").length)
Expand Down
Loading