From df0fbbb091c5ace17fc810744b38e3045cab5aa6 Mon Sep 17 00:00:00 2001 From: Yichen Jiang Date: Fri, 21 Aug 2026 11:19:57 +0800 Subject: [PATCH] test(web): migrate the retry-exhaustion composer wait off the textarea locator Master's #2844 asserted composer recovery through a textarea locator the Lexical composer no longer renders; the merge carried it in silently and the CI web-snapshot lane timed out waiting for it. Use the same data-composer-input wait the file's other cases already migrated to. --- apps/web/tests/live-interactions.e2e.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/tests/live-interactions.e2e.ts b/apps/web/tests/live-interactions.e2e.ts index cd5de59d73..b109016081 100644 --- a/apps/web/tests/live-interactions.e2e.ts +++ b/apps/web/tests/live-interactions.e2e.ts @@ -262,7 +262,7 @@ describe('web e2e: live-turn interactions (cancel / error / retry)', () => { await settled expect(turnEndReasons(sessionEvents).at(-1)).toBe('error') expect(sessionEvents.filter(e => e.type === 'llm/retry').length).toBe(2) - await expect.poll(() => page.locator('textarea').first().isEnabled(), { timeout: 10_000 }).toBe(true) + await expect.poll(() => page.locator('[data-composer-input]').first().isEnabled(), { timeout: 10_000 }).toBe(true) expect(await page.locator('[data-streaming="true"]').count()).toBe(0) // The terminal error row must render even though the turn owns a retry // chain: exhausted recovery shares the failing turn, so suppressing the