diff --git a/packages/e2e-tests/src/selectors.ts b/packages/e2e-tests/src/selectors.ts index 35e0ace141..754a2deff3 100644 --- a/packages/e2e-tests/src/selectors.ts +++ b/packages/e2e-tests/src/selectors.ts @@ -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() } }