From c090f2dc5ebda712d14f7d1559b06338cb767375 Mon Sep 17 00:00:00 2001 From: Stephen O'Gorman Date: Fri, 13 Oct 2023 16:13:24 +0100 Subject: [PATCH] test(playwright): more flaky tests --- .../batch-selection/batch-selection.pw.tsx | 27 +- src/components/button/button.pw.tsx | 60 +- src/components/dialog/dialog.pw.tsx | 590 +++++++++--------- 3 files changed, 336 insertions(+), 341 deletions(-) diff --git a/src/components/batch-selection/batch-selection.pw.tsx b/src/components/batch-selection/batch-selection.pw.tsx index 555d0685fe..04804f4e44 100644 --- a/src/components/batch-selection/batch-selection.pw.tsx +++ b/src/components/batch-selection/batch-selection.pw.tsx @@ -13,6 +13,7 @@ import { batchSelectionComponent, batchSelectionButtonsByPosition, } from "../../../playwright/components/batch-selection"; +import { getComponent } from "../../../playwright/components/index"; import { HooksConfig } from "../../../playwright"; const BATCH_SELECTION_COLOR = [ @@ -39,25 +40,25 @@ test.describe("check BatchSelection component properties", () => { test("should check hidden BatchSelection", async ({ mount, page }) => { await mount(