Skip to content

Commit

Permalink
fix: prevent network background activity from affecting tests
Browse files Browse the repository at this point in the history
Signed-off-by: Mason Hu <[email protected]>
  • Loading branch information
MasWho committed Feb 20, 2025
1 parent e07d0cb commit 004170c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/helpers/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export const deleteNetwork = async (page: Page, network: string) => {

export const visitNetwork = async (page: Page, network: string) => {
await gotoURL(page, "/ui/");
await page.waitForLoadState("networkidle");
await page.getByTitle("Networks (default)").click();
await page.getByRole("link", { name: network }).first().click();
await page.getByTestId("tab-link-Configuration").click();
Expand Down

0 comments on commit 004170c

Please sign in to comment.