Skip to content

Commit

Permalink
don't stop driver in MochaHooks.afterAll()
Browse files Browse the repository at this point in the history
  • Loading branch information
dmytro-ndp committed May 21, 2024
1 parent 469ddd0 commit 1ddc2c3
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/e2e/specs/MochaHooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,5 @@ exports.mochaHooks = {
}
}
}
],
afterAll: [
async function stopTheDriver(): Promise<void> {
if (!BASE_TEST_CONSTANTS.TS_DEBUG_MODE && CHROME_DRIVER_CONSTANTS.TS_USE_WEB_DRIVER_FOR_TEST) {
// ensure that fired events done
await driverHelper.wait(5000);
await driverHelper.quit();
}
}
]
};

0 comments on commit 1ddc2c3

Please sign in to comment.