From 325cbdd1884e2f0121af43b7e9b9f4da9ee3fc34 Mon Sep 17 00:00:00 2001 From: Laurent Nguyen Date: Fri, 28 Jun 2024 18:47:42 +0200 Subject: [PATCH] fix waitFor in playwright --- test/sql/selfServeExample.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sql/selfServeExample.spec.ts b/test/sql/selfServeExample.spec.ts index e80b21081..24f89200c 100644 --- a/test/sql/selfServeExample.spec.ts +++ b/test/sql/selfServeExample.spec.ts @@ -10,7 +10,7 @@ test("Self Serve", async ({ page }) => { const regionDropdown = explorer.frame.getByText("Select a region"); await regionDropdown.click(); const firstOption = explorer.frame.getByRole("option").first(); - firstOption.waitFor(); + await firstOption.waitFor(); await firstOption.click(); const currentRegionLabel = explorer.frame.getByLabel("Current Region");