Skip to content

Commit

Permalink
remove network idle request wait
Browse files Browse the repository at this point in the history
  • Loading branch information
fungairino committed Jul 5, 2024
1 parent 3053e30 commit aa09c7d
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,12 @@ test("#8740: can view the starter mods on the pixiebrix.com/welcome page", async
page,
extensionId,
}) => {
const modId = "@e2e-testing/test-sidebar-navigation";
const modId = "@e2e-testing/open-sidebar-via-quickbar";
const modActivationPage = new ActivateModPage(page, extensionId, modId);
await modActivationPage.goto();
await modActivationPage.clickActivateAndWaitForModsPageRedirect();

await page.goto("https://pixiebrix.com/welcome");
// eslint-disable-next-line playwright/no-networkidle -- Ensure page and content script is done loading
await page.waitForLoadState("networkidle");
await runModViaQuickBar(page, "Open Sidebar");

const sideBarPage = await getSidebarPage(page, extensionId);
Expand Down

0 comments on commit aa09c7d

Please sign in to comment.