@wdio/runner
Advanced tools
Comparing version
@@ -16,2 +16,3 @@ import { EventEmitter } from 'node:events'; | ||
private _caps?; | ||
private _sessionInitError?; | ||
/** | ||
@@ -18,0 +19,0 @@ * run test suite |
@@ -634,2 +634,3 @@ // src/index.ts | ||
_caps; | ||
_sessionInitError; | ||
/** | ||
@@ -848,4 +849,5 @@ * run test suite | ||
} | ||
} catch (err) { | ||
log4.error(err); | ||
} catch (error) { | ||
log4.error(error); | ||
this._sessionInitError = error; | ||
return; | ||
@@ -866,3 +868,3 @@ } | ||
instanceOptions: {}, | ||
capabilities: { ...this._configParser.getCapabilities() }, | ||
capabilities: this._caps, | ||
retry: this._specFileRetryAttempts | ||
@@ -874,3 +876,4 @@ }); | ||
cid: this._cid, | ||
retries | ||
retries, | ||
...this._sessionInitError instanceof Error ? { error: this._sessionInitError.message } : {} | ||
}); | ||
@@ -877,0 +880,0 @@ try { |
@@ -28,3 +28,3 @@ import type { Options, Capabilities } from '@wdio/types'; | ||
title?: string; | ||
error?: Error; | ||
error?: string; | ||
sessionId?: string; | ||
@@ -31,0 +31,0 @@ config?: unknown; |
{ | ||
"name": "@wdio/runner", | ||
"version": "9.10.0", | ||
"version": "9.10.1", | ||
"description": "A WebdriverIO service that runs tests in arbitrary environments", | ||
@@ -35,12 +35,12 @@ "author": "Christian Bromann <mail@bromann.dev>", | ||
"@types/node": "^20.11.28", | ||
"@wdio/config": "9.9.0", | ||
"@wdio/dot-reporter": "9.9.0", | ||
"@wdio/globals": "9.10.0", | ||
"@wdio/config": "9.10.1", | ||
"@wdio/dot-reporter": "9.10.1", | ||
"@wdio/globals": "9.10.1", | ||
"@wdio/logger": "9.4.4", | ||
"@wdio/types": "9.9.0", | ||
"@wdio/utils": "9.9.0", | ||
"@wdio/types": "9.10.1", | ||
"@wdio/utils": "9.10.1", | ||
"deepmerge-ts": "^7.0.3", | ||
"expect-webdriverio": "^5.1.0", | ||
"webdriver": "9.9.1", | ||
"webdriverio": "9.10.0" | ||
"webdriver": "9.10.1", | ||
"webdriverio": "9.10.1" | ||
}, | ||
@@ -50,3 +50,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "11ca2d175dd33b49639197c2a4ac4e26c9d852d1" | ||
"gitHead": "dc41a90e711d7b7a10e8129fb74650ad7a5956d0" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
53993
0.37%1187
0.34%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated
Updated
Updated
Updated
Updated