diff --git a/packages/app/e2e/browser/composer-focus-hint.spec.ts b/packages/app/e2e/browser/composer-focus-hint.spec.ts index 24c714888d..7b9d8c14ce 100644 --- a/packages/app/e2e/browser/composer-focus-hint.spec.ts +++ b/packages/app/e2e/browser/composer-focus-hint.spec.ts @@ -103,7 +103,8 @@ for (const layout of FRENCH_LAYOUTS) { const hint = page.getByText(/pour saisir$/).first(); await expect(hint).toBeVisible(); - expect(await placeholderOverlaps(input, hint)).toBe(false); + // The input takes the hint's width on the render after the hint lays out. + await expect.poll(() => placeholderOverlaps(input, hint)).toBe(false); } finally { await agent.cleanup(); }