Skip to content

Commit a4e160c

Browse files
Programcodeclaude
andcommitted
Open Ask options before picking the canary's model
The production canary's streamed-answer test looked for the Ask model picker on the page, but Ask keeps it in the Options popover, which starts closed. Open Options first, pick Claude Haiku 5.5, then close it before typing. The test also waits up to 90 s for the stream, so give it its own 120 s timeout instead of the 30 s default. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent e237d9f commit a4e160c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎e2e/production/canary.spec.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,13 @@ test("the canary account signs in and loads its account", async ({ page }) => {
9595
});
9696

9797
test("the canary account gets a streamed answer from a real model", async ({ page }) => {
98+
test.setTimeout(120_000);
9899
await signInAsCanary(page, { aiRequest: true });
99100
await page.goto("/app/ask");
101+
// Ask keeps its model picker in the Options popover above the message box.
102+
await page.getByRole("button", { name: "Options" }).click();
100103
await pickBasicDefault(page, "ask");
104+
await page.keyboard.press("Escape");
101105
await page.getByPlaceholder("Ask your debate coach").fill("Reply with one short sentence: what is a rebuttal?");
102106
const stream = page.waitForResponse((response) => response.url().endsWith("/functions/v1/ai-stream"), { timeout: 90_000 });
103107
await page.getByRole("button", { name: "Send message" }).click();

0 commit comments

Comments
 (0)