diff --git a/src/reporter.ts b/src/reporter.ts index e27fd47..c3a5720 100644 --- a/src/reporter.ts +++ b/src/reporter.ts @@ -241,6 +241,7 @@ export class Reporter extends WDIOReporter { ...(this.customLaunchStatus && { status: this.customLaunchStatus }), }); promiseErrorHandler(promise); + await promise; this.tempLaunchId = null; this.customLaunchStatus = null; } catch (e) {