From f880f9f7300749f44ddf1c566dc7f22bae9cff27 Mon Sep 17 00:00:00 2001 From: Gregor Vostrak Date: Wed, 18 Feb 2026 23:22:04 +0100 Subject: [PATCH] fix firefox flaky input in e2e test --- e2e/time.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/e2e/time.spec.ts b/e2e/time.spec.ts index 0b5e23d3..f2dea6b1 100644 --- a/e2e/time.spec.ts +++ b/e2e/time.spec.ts @@ -1159,6 +1159,8 @@ test('test that end time picker works in create modal', async ({ page }) => { await endTimeInput.press('Tab'); // Set duration (this will adjust based on the times) + // clear() before fill() needed because fill() appends on Firefox instead of replacing + await page.locator('[role="dialog"] input[name="Duration"]').clear(); await page.locator('[role="dialog"] input[name="Duration"]').fill('1h'); await page.locator('[role="dialog"] input[name="Duration"]').press('Tab');