Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
duckception committed Oct 18, 2023
1 parent ebeb450 commit 5ecfd64
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions commands/playwright.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ module.exports = {
},
async metamaskExtensionId() {
const metamaskExtensionData = (await module.exports.getExtensionsData())
.metamask;
.metamask;
return metamaskExtensionData.id;
},
async setExpectInstance(expect) {
Expand Down Expand Up @@ -346,9 +346,7 @@ module.exports = {
page &&
page
.url()
.includes(
`chrome-extension://${metamaskExtensionId}/notification.html`,
)
.includes(`chrome-extension://${metamaskExtensionId}/notification.html`)
) {
await page.waitForLoadState('load');
await page.waitForLoadState('domcontentloaded');
Expand Down

0 comments on commit 5ecfd64

Please sign in to comment.