From c792803b6ccf38c7bf1f4a95c778fd22af548ca5 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 17 Oct 2026 19:34:36 +0000 Subject: [PATCH] Open Ask's Options popover in the staging suite The design shell moved Pros/Cons behind Options, so the protected staging journey could no longer find it. Passed locally against staging at f16e8a4. Co-Authored-By: Claude Opus 5.5 --- e2e/staging/authed-flows.spec.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/e2e/staging/authed-flows.spec.ts b/e2e/staging/authed-flows.spec.ts index 7e9e9a573..58b79e017 100644 --- a/e2e/staging/authed-flows.spec.ts +++ b/e2e/staging/authed-flows.spec.ts @@ -149,7 +149,10 @@ test('real staging session persists, starts a debate, writes and removes a sourc await step(page, 'complete one AI request in Ask', async () => { await page.goto('/app/ask'); - await page.getByLabel('Pros/Cons').click(); + // Ask's modes live behind the Options popover since the design shell. + await page.getByRole('button', { name: 'Options' }).click(); + await page.getByRole('switch', { name: 'Pros/Cons' }).click(); + await page.keyboard.press('Escape'); await page.getByPlaceholder('Ask your debate coach...').fill('Reply with one short sentence confirming this staging request.'); const aiResponse = page.waitForResponse((response) => response.request().method() === 'POST' && response.url().includes('/functions/v1/ai'),