From 7f29852be28f4ddfe3fda68c2d25569ad66121b7 Mon Sep 17 00:00:00 2001 From: "paseo-bot[bot]" <266920839+paseo-bot[bot]@users.noreply.github.com> Date: Tue, 6 Oct 2026 08:35:49 +0200 Subject: [PATCH] test(app): wait for the focus hint padding before checking overlap --- packages/app/e2e/browser/composer-focus-hint.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); }