@wdio/runner 9.4.1 → 9.4.3
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 +17 -2
- package/build/reporter.d.ts +1 -1
- package/build/reporter.d.ts.map +1 -1
- package/package.json +8 -8
package/build/index.js
CHANGED
|
@@ -496,7 +496,22 @@ var BaseReporter = class {
|
|
|
496
496
|
content: payload
|
|
497
497
|
});
|
|
498
498
|
}
|
|
499
|
-
this._reporters.forEach((reporter) =>
|
|
499
|
+
this._reporters.forEach((reporter) => {
|
|
500
|
+
try {
|
|
501
|
+
reporter.emit(e, payload);
|
|
502
|
+
} catch (err) {
|
|
503
|
+
this.#emitData({
|
|
504
|
+
origin: "reporter",
|
|
505
|
+
name: "printFailureMessage",
|
|
506
|
+
content: {
|
|
507
|
+
cid: this._cid,
|
|
508
|
+
// Destructing of message and stack is required else nothing is outputted
|
|
509
|
+
error: { message: err?.message, stack: err?.stack },
|
|
510
|
+
fullTitle: `reporter ${reporter.constructor.name}`
|
|
511
|
+
}
|
|
512
|
+
});
|
|
513
|
+
}
|
|
514
|
+
});
|
|
500
515
|
}
|
|
501
516
|
onMessage(listener) {
|
|
502
517
|
this.listeners.push(listener);
|
|
@@ -564,7 +579,7 @@ var BaseReporter = class {
|
|
|
564
579
|
clearInterval(interval);
|
|
565
580
|
return resolve(true);
|
|
566
581
|
}
|
|
567
|
-
log3.info(`Wait for ${unsyncedReporter.length} reporter to
|
|
582
|
+
log3.info(`Wait for ${unsyncedReporter.length} reporter to synchronize`);
|
|
568
583
|
}, this._config.reporterSyncInterval);
|
|
569
584
|
});
|
|
570
585
|
}
|
package/build/reporter.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Options, Capabilities } from '@wdio/types';
|
|
2
2
|
/**
|
|
3
3
|
* BaseReporter
|
|
4
|
-
* responsible for
|
|
4
|
+
* responsible for initializing reporters for every testrun and propagating events
|
|
5
5
|
* to all these reporters
|
|
6
6
|
*/
|
|
7
7
|
export default class BaseReporter {
|
package/build/reporter.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reporter.d.ts","sourceRoot":"","sources":["../src/reporter.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAa,MAAM,aAAa,CAAA;AAKnE;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,YAAY;;IAKzB,OAAO,CAAC,OAAO;IACf,OAAO,CAAC,IAAI;IACL,IAAI,EAAE,YAAY,CAAC,+BAA+B,GAAG,YAAY,CAAC,gCAAgC;IAN7G,OAAO,CAAC,UAAU,CAAmC;IACrD,OAAO,CAAC,SAAS,CAA4B;gBAGjC,OAAO,EAAE,OAAO,CAAC,UAAU,EAC3B,IAAI,EAAE,MAAM,EACb,IAAI,EAAE,YAAY,CAAC,+BAA+B,GAAG,YAAY,CAAC,gCAAgC;IAGvG,aAAa;IAMnB;;;;;OAKG;IACH,IAAI,CAAE,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG;
|
|
1
|
+
{"version":3,"file":"reporter.d.ts","sourceRoot":"","sources":["../src/reporter.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAa,MAAM,aAAa,CAAA;AAKnE;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,YAAY;;IAKzB,OAAO,CAAC,OAAO;IACf,OAAO,CAAC,IAAI;IACL,IAAI,EAAE,YAAY,CAAC,+BAA+B,GAAG,YAAY,CAAC,gCAAgC;IAN7G,OAAO,CAAC,UAAU,CAAmC;IACrD,OAAO,CAAC,SAAS,CAA4B;gBAGjC,OAAO,EAAE,OAAO,CAAC,UAAU,EAC3B,IAAI,EAAE,MAAM,EACb,IAAI,EAAE,YAAY,CAAC,+BAA+B,GAAG,YAAY,CAAC,gCAAgC;IAGvG,aAAa;IAMnB;;;;;OAKG;IACH,IAAI,CAAE,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG;IAuC7B,SAAS,CAAE,QAAQ,EAAE,CAAC,EAAE,EAAE,GAAG,KAAK,IAAI;IAItC,UAAU,CAAE,IAAI,EAAE,MAAM;IAuCxB;;OAEG;IACH,oBAAoB,CAAE,QAAQ,EAAE,MAAM;yBAEc,OAAO;;IAoB3D;;;OAGG;IACH,WAAW;IA2BX;;OAEG;YACW,aAAa;CAoE9B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/runner",
|
|
3
|
-
"version": "9.4.
|
|
3
|
+
"version": "9.4.3",
|
|
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",
|
|
@@ -32,18 +32,18 @@
|
|
|
32
32
|
"typeScriptVersion": "3.8.3",
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@types/node": "^20.11.28",
|
|
35
|
-
"@wdio/config": "9.
|
|
36
|
-
"@wdio/globals": "9.4.
|
|
35
|
+
"@wdio/config": "9.4.3",
|
|
36
|
+
"@wdio/globals": "9.4.3",
|
|
37
37
|
"@wdio/logger": "9.1.3",
|
|
38
|
-
"@wdio/types": "9.
|
|
39
|
-
"@wdio/utils": "9.
|
|
38
|
+
"@wdio/types": "9.4.3",
|
|
39
|
+
"@wdio/utils": "9.4.3",
|
|
40
40
|
"deepmerge-ts": "^7.0.3",
|
|
41
41
|
"expect-webdriverio": "^5.0.1",
|
|
42
|
-
"webdriver": "9.4.
|
|
43
|
-
"webdriverio": "9.4.
|
|
42
|
+
"webdriver": "9.4.3",
|
|
43
|
+
"webdriverio": "9.4.3"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "8ee63eaefd86cf06eea832bb8d4c1920e9cc4e55"
|
|
49
49
|
}
|