@wdio/runner 8.0.0-alpha.330 → 8.0.0-alpha.365
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +12 -8
- package/build/reporter.js +4 -1
- package/package.json +9 -9
package/build/index.js
CHANGED
|
@@ -10,14 +10,18 @@ import BaseReporter from './reporter.js';
|
|
|
10
10
|
import { initialiseInstance, filterLogTypes, getInstancesData } from './utils.js';
|
|
11
11
|
const log = logger('@wdio/runner');
|
|
12
12
|
export default class Runner extends EventEmitter {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
13
|
+
_browser;
|
|
14
|
+
_configParser = new ConfigParser();
|
|
15
|
+
_sigintWasCalled = false;
|
|
16
|
+
_isMultiremote = false;
|
|
17
|
+
_hadRunnerStartEvent = false;
|
|
18
|
+
_specFileRetryAttempts = 0;
|
|
19
|
+
_reporter;
|
|
20
|
+
_framework;
|
|
21
|
+
_config;
|
|
22
|
+
_cid;
|
|
23
|
+
_specs;
|
|
24
|
+
_caps;
|
|
21
25
|
/**
|
|
22
26
|
* run test suite
|
|
23
27
|
* @param {String} cid worker id (e.g. `0-0`)
|
package/build/reporter.js
CHANGED
|
@@ -9,11 +9,14 @@ const log = logger('@wdio/runner');
|
|
|
9
9
|
* to all these reporters
|
|
10
10
|
*/
|
|
11
11
|
export default class BaseReporter {
|
|
12
|
+
_config;
|
|
13
|
+
_cid;
|
|
14
|
+
caps;
|
|
15
|
+
_reporters = [];
|
|
12
16
|
constructor(_config, _cid, caps) {
|
|
13
17
|
this._config = _config;
|
|
14
18
|
this._cid = _cid;
|
|
15
19
|
this.caps = caps;
|
|
16
|
-
this._reporters = [];
|
|
17
20
|
}
|
|
18
21
|
async initReporters() {
|
|
19
22
|
this._reporters = await Promise.all(this._config.reporters.map(this._loadReporter.bind(this)));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/runner",
|
|
3
|
-
"version": "8.0.0-alpha.
|
|
3
|
+
"version": "8.0.0-alpha.365+ea5d90e26",
|
|
4
4
|
"description": "A WebdriverIO service that runs tests in arbitrary environments",
|
|
5
5
|
"author": "Christian Bromann <mail@bromann.dev>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-runner",
|
|
@@ -26,19 +26,19 @@
|
|
|
26
26
|
"types": "./build/index.d.ts",
|
|
27
27
|
"typeScriptVersion": "3.8.3",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@wdio/config": "8.0.0-alpha.
|
|
30
|
-
"@wdio/globals": "8.0.0-alpha.
|
|
31
|
-
"@wdio/logger": "8.0.0-alpha.
|
|
32
|
-
"@wdio/types": "8.0.0-alpha.
|
|
33
|
-
"@wdio/utils": "8.0.0-alpha.
|
|
29
|
+
"@wdio/config": "8.0.0-alpha.365+ea5d90e26",
|
|
30
|
+
"@wdio/globals": "8.0.0-alpha.365+ea5d90e26",
|
|
31
|
+
"@wdio/logger": "8.0.0-alpha.365+ea5d90e26",
|
|
32
|
+
"@wdio/types": "8.0.0-alpha.365+ea5d90e26",
|
|
33
|
+
"@wdio/utils": "8.0.0-alpha.365+ea5d90e26",
|
|
34
34
|
"deepmerge": "^4.0.0",
|
|
35
35
|
"expect-webdriverio": "^4.0.0-alpha.3",
|
|
36
36
|
"gaze": "^1.1.2",
|
|
37
|
-
"webdriver": "8.0.0-alpha.
|
|
38
|
-
"webdriverio": "8.0.0-alpha.
|
|
37
|
+
"webdriver": "8.0.0-alpha.365+ea5d90e26",
|
|
38
|
+
"webdriverio": "8.0.0-alpha.365+ea5d90e26"
|
|
39
39
|
},
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "ea5d90e263106af626e420bab7825bac4beb1dfe"
|
|
44
44
|
}
|