From 44f7d2e51e1943da34323514f3e5ee3936a43400 Mon Sep 17 00:00:00 2001 From: DipperTheDan Date: Wed, 9 Oct 2024 15:54:12 +0100 Subject: [PATCH] test(date-range): remove flaky blur test --- src/components/date-range/date-range.pw.tsx | 24 --------------------- 1 file changed, 24 deletions(-) diff --git a/src/components/date-range/date-range.pw.tsx b/src/components/date-range/date-range.pw.tsx index 0391f3db25..4a1a80e9fa 100644 --- a/src/components/date-range/date-range.pw.tsx +++ b/src/components/date-range/date-range.pw.tsx @@ -506,30 +506,6 @@ test.describe("Event tests for DateRange component", () => { }); }); - test("should call onBlur callback when a blur event is triggered", async ({ - mount, - page, - }) => { - let callbackCount = 0; - await mount( - { - callbackCount += 1; - }} - /> - ); - - await textboxInput(page).nth(START_DATE_RANGE_INDEX).press("Tab"); - - await expect(callbackCount).toEqual(0); - - const focusedElement = page.locator("*:focus"); - await focusedElement.press("Tab"); - await page.locator("body").click(); - - await expect(callbackCount).toEqual(1); - }); - test("should call onChange callback when a type event is triggered", async ({ mount, page,