From a4e160cfdb3206646b9f16cb4997dca1577ac4a3 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 30 Oct 2026 13:46:09 +0000 Subject: [PATCH] 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 --- e2e/production/canary.spec.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/e2e/production/canary.spec.ts b/e2e/production/canary.spec.ts index 56347bd4..cf5795e2 100644 --- a/e2e/production/canary.spec.ts +++ b/e2e/production/canary.spec.ts @@ -95,9 +95,13 @@ test("the canary account signs in and loads its account", async ({ page }) => { }); test("the canary account gets a streamed answer from a real model", async ({ page }) => { + test.setTimeout(120_000); await signInAsCanary(page, { aiRequest: true }); await page.goto("/app/ask"); + // Ask keeps its model picker in the Options popover above the message box. + await page.getByRole("button", { name: "Options" }).click(); await pickBasicDefault(page, "ask"); + await page.keyboard.press("Escape"); await page.getByPlaceholder("Ask your debate coach").fill("Reply with one short sentence: what is a rebuttal?"); const stream = page.waitForResponse((response) => response.url().endsWith("/functions/v1/ai-stream"), { timeout: 90_000 }); await page.getByRole("button", { name: "Send message" }).click();