From bc9fd4ce710ce708c7fbaa85a11ec456627a943b Mon Sep 17 00:00:00 2001 From: Arnaud Date: Tue, 25 Feb 2025 18:14:47 +0100 Subject: [PATCH] Fix tests --- e2e/availabilities.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/availabilities.spec.ts b/e2e/availabilities.spec.ts index 8f6a8c4..5ec08dd 100644 --- a/e2e/availabilities.spec.ts +++ b/e2e/availabilities.spec.ts @@ -47,7 +47,7 @@ test("availability navigation buttons", async ({ page }) => { await expect( page.locator("footer .button--outline").first() ).not.toHaveAttribute("disabled"); - await page.locator("footer .button--outline").blur(); + await page.getByLabel("Duration").click(); await expect(page.locator("footer .button--primary")).toHaveAttribute( "disabled" );