From c805a8aaddf446ade3cdf74d0ffdf7e58cc46586 Mon Sep 17 00:00:00 2001 From: Karsten Hassel Date: Wed, 16 Jul 2025 22:50:21 +0200 Subject: [PATCH] e2e: decrease stop app waitTime --- CHANGELOG.md | 1 + tests/e2e/helpers/global-setup.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b0c70626f..4ecb34d752 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ Thanks to: @dathbe. - [tests] refactor: simplify jest config file (#3844) - [tests] refactor: extract constants for weather electron tests (#3845) - [tests] replace `console` with `Log` in calendar `debug.js` to avoid exception in eslint config (#3846) +- [tests] speed up e2e tests (#3847) ### Updated diff --git a/tests/e2e/helpers/global-setup.js b/tests/e2e/helpers/global-setup.js index 57d31aa8f8..17b2005a11 100644 --- a/tests/e2e/helpers/global-setup.js +++ b/tests/e2e/helpers/global-setup.js @@ -34,7 +34,7 @@ exports.startApplication = async (configFilename, exec) => { return global.app.start(); }; -exports.stopApplication = async (waitTime = 1000) => { +exports.stopApplication = async (waitTime = 10) => { if (global.window) { // no closing causes jest errors and memory leaks global.window.close();