Skip to content

Commit

Permalink
fix: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
matstyler committed Jul 23, 2024
1 parent 4113eb6 commit e4b68f7
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions wallets/metamask/src/cypress/configureSynpress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ let context: BrowserContext
let metamaskExtensionId: string

let metamaskExtensionPage: Page
let cypressPage: Page

// TODO: Implement if needed to change the focus between pages
// let cypressPage: Page

export default function configureSynpress(on: Cypress.PluginEvents, config: Cypress.PluginConfigOptions) {
const browsers = config.browsers.filter((b) => b.name === 'chrome')
Expand Down Expand Up @@ -49,9 +51,10 @@ export default function configureSynpress(on: Cypress.PluginEvents, config: Cypr
metamaskExtensionId = _metamaskExtensionId
metamaskExtensionPage = _extensionPage
}
if (_cypressPage) {
cypressPage = _cypressPage
}
// TODO: Implement if needed to change the focus between pages
// if (_cypressPage) {
// cypressPage = _cypressPage
// }
metamaskInitialized = true
}
})
Expand Down

0 comments on commit e4b68f7

Please sign in to comment.