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.
This commit is contained in:
parent
ae01b19bd3
commit
df0fbbb091
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue