Skip to content

Commit

Permalink
chore: fix flaky
Browse files Browse the repository at this point in the history
  • Loading branch information
LuizAsFight committed Oct 31, 2024
1 parent a2ba879 commit d46c734
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,12 +274,15 @@ export class FuelWalletTestHelper {

await getByAriaLabel(this.walletPage, 'Test connection').click();

await this.walletPage.waitForTimeout(3000);

const addNewNetworkButton = getByAriaLabel(
this.walletPage,
'Add new network'
);
await expect
.poll(async () => await addNewNetworkButton.isEnabled(), {
timeout: 7000,
})
.toBeTruthy();
await addNewNetworkButton.click();
}

Expand Down

0 comments on commit d46c734

Please sign in to comment.