Skip to content

Commit

Permalink
Fix closing debug modal in test
Browse files Browse the repository at this point in the history
  • Loading branch information
EmiM committed Sep 19, 2023
1 parent 7973672 commit 15a9d41
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/e2e-tests/src/selectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,9 @@ export class App {
await this.buildSetup.createChromeDriver()
this.thenableWebDriver = this.buildSetup.getDriver()
await this.driver.getSession()

if (process.env.TEST_MODE) {
it('Close debug modal', async () => {
const debugModal = new DebugModeModal(this.driver)
await debugModal.close()
})
const debugModal = new DebugModeModal(this.driver)
await debugModal.close()
}
}

Expand Down

0 comments on commit 15a9d41

Please sign in to comment.