Skip to content

Commit ef02db7

Browse files
authored
Merge pull request #282 from Programcode/t3/fix-canary-ask-model-picker
Fix the production canary's Ask model picker step
2 parents e237d9f + a4e160c commit ef02db7

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)