smoke - try to exit via close also for Electron (#245253)

This commit is contained in:
Benjamin Pasero
2025-04-01 21:03:10 +02:00
committed by GitHub
parent ac31948e11
commit ac27be2456
6 changed files with 10 additions and 83 deletions

View File

@@ -144,7 +144,7 @@ export class Code {
let done = false;
// Start the exit flow via driver
this.driver.exitApplication();
this.driver.close();
// Await the exit of the application
(async () => {
@@ -158,7 +158,7 @@ export class Code {
case 10:
case 20: {
this.logger.log('Smoke test exit() call did not terminate process after 5-10s, gracefully trying to exit the application again...');
this.driver.exitApplication();
this.driver.close();
break;
}