Skip to content

Commit

Permalink
add waiting for button to improve stability in notification
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Mucha <jakub.mucha@icloud.com>
  • Loading branch information
drptbl committed Nov 5, 2022
1 parent eb30662 commit 3359bb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions commands/playwright.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ module.exports = {
await page.waitForLoadState('load');
await page.waitForLoadState('domcontentloaded');
await page.waitForLoadState('networkidle');
await module.exports.waitFor(notificationPageElements.anyButton, page);
}
await metamaskWindow.waitForLoadState('load');
await metamaskWindow.waitForLoadState('domcontentloaded');
Expand Down

0 comments on commit 3359bb4

Please sign in to comment.