Attempt to wait until page is fully loaded

This commit is contained in:
Laurent Nguyen 2024-07-08 13:17:34 +02:00
parent 5316ae1002
commit bb43fcea6e
1 changed files with 1 additions and 1 deletions

View File

@ -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();