Attempt to wait until page is fully loaded
This commit is contained in:
parent
5316ae1002
commit
bb43fcea6e
|
@ -3,7 +3,7 @@ import { DataExplorer, TestAccount } from "../fx";
|
||||||
|
|
||||||
test("Self Serve", async ({ page }) => {
|
test("Self Serve", async ({ page }) => {
|
||||||
const explorer = await DataExplorer.open(page, TestAccount.SQL, "selfServe.html");
|
const explorer = await DataExplorer.open(page, TestAccount.SQL, "selfServe.html");
|
||||||
|
await page.waitForTimeout(5000);
|
||||||
const loggingToggle = explorer.frame.locator("#enableLogging-toggle-input");
|
const loggingToggle = explorer.frame.locator("#enableLogging-toggle-input");
|
||||||
await expect(loggingToggle).toBeEnabled();
|
await expect(loggingToggle).toBeEnabled();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue