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: 4 additions & 0 deletions e2e/production/canary.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Loading