From c1c94e838116a82b026a573f9a1198eae143909b Mon Sep 17 00:00:00 2001 From: Laurent Nguyen Date: Mon, 8 Jul 2024 13:38:21 +0200 Subject: [PATCH] Revert "Attempt to wait until page is fully loaded" This reverts commit bb43fcea6e71e593f7d1a3e374e9f1d57052ab70. --- 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 d1e6be540..24f89200c 100644 --- a/test/sql/selfServeExample.spec.ts +++ b/test/sql/selfServeExample.spec.ts @@ -3,7 +3,7 @@ import { DataExplorer, TestAccount } from "../fx"; test("Self Serve", async ({ page }) => { const explorer = await DataExplorer.open(page, TestAccount.SQL, "selfServe.html"); - await page.waitForTimeout(5000); + const loggingToggle = explorer.frame.locator("#enableLogging-toggle-input"); await expect(loggingToggle).toBeEnabled();