Skip to content

Commit

Permalink
wait until window is stable when onboarding metamask
Browse files Browse the repository at this point in the history
  • Loading branch information
jkadamczyk committed Oct 17, 2024
1 parent f654438 commit 404caa8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions commands/metamask.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,10 @@ const metamask = {
waitForEvent: 'navi',
},
);
await playwright.waitUntilWindowIsStable(
PROVIDER,
await playwright.windows(PROVIDER),
);
await playwright.waitAndClick(
PROVIDER,
endOfFlowPageElements.allDoneButton,
Expand Down

0 comments on commit 404caa8

Please sign in to comment.