test(web): await editable composer between turns

This commit is contained in:
Yichen Jiang
2026-08-26 14:30:56 +08:00
parent 4e1c87b1a2
commit 2831054b97
@@ -106,7 +106,8 @@ describe('web e2e: current sandbox policy reaches the model before tools', () =>
await input.fill(PROMPTS[index] as string)
await input.press('Enter')
sessionId = await settled
await expect.poll(() => input.isEnabled(), { timeout: 10_000 }).toBe(true)
await page.locator('[data-composer-input][contenteditable="true"]').first()
.waitFor({ timeout: 10_000 })
}
await input.fill('/permission read-only')