From b5766494e15d6fea9ac11204f74ae657b76f4d8a Mon Sep 17 00:00:00 2001 From: "SPRINX0\\prochazka" Date: Tue, 11 Feb 2025 10:54:44 +0100 Subject: [PATCH] try to fix cypress test --- e2e-tests/cypress.config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/e2e-tests/cypress.config.js b/e2e-tests/cypress.config.js index 007afe056..e4f88959f 100644 --- a/e2e-tests/cypress.config.js +++ b/e2e-tests/cypress.config.js @@ -18,7 +18,11 @@ module.exports = defineConfig({ // console.log('********************* DETAILS *********************', JSON.stringify(details)); if (config.isInteractive) { - await killPort(3000); + try { + await killPort(3000); + } catch (e) { + console.warn('Error killing process on port 3000:', e.message); + } switch (details.fileName) { case 'add-connection': serverProcess = exec('yarn start:add-connection');