diff --git a/commands/metamask.js b/commands/metamask.js index 948b9bbe..bb123310 100644 --- a/commands/metamask.js +++ b/commands/metamask.js @@ -325,6 +325,10 @@ const metamask = { waitForEvent: 'navi', }, ); + await playwright.waitUntilWindowIsStable( + PROVIDER, + await playwright.windows(PROVIDER), + ); await playwright.waitAndClick( PROVIDER, endOfFlowPageElements.allDoneButton,