wdio-qase-reporter 1.2.2 → 1.2.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/changelog.md +7 -0
- package/dist/reporter.js +2 -1
- package/dist/service.js +2 -1
- package/package.json +2 -3
package/changelog.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# wdio-qase-reporter@1.2.3
|
|
2
|
+
|
|
3
|
+
## Bug fixes
|
|
4
|
+
|
|
5
|
+
- Moved profiler import to separate sub-path (`qase-javascript-commons/profilers`) to avoid pulling `node:` modules into bundlers.
|
|
6
|
+
- Updated `qase-javascript-commons` dependency to `~2.5.7`.
|
|
7
|
+
|
|
1
8
|
# qase-wdio@1.2.2
|
|
2
9
|
|
|
3
10
|
## What's new
|
package/dist/reporter.js
CHANGED
|
@@ -5,6 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const reporter_1 = __importDefault(require("@wdio/reporter"));
|
|
7
7
|
const qase_javascript_commons_1 = require("qase-javascript-commons");
|
|
8
|
+
const profilers_1 = require("qase-javascript-commons/profilers");
|
|
8
9
|
const uuid_1 = require("uuid");
|
|
9
10
|
const storage_1 = require("./storage");
|
|
10
11
|
const options_1 = require("./options");
|
|
@@ -71,7 +72,7 @@ class WDIOQaseReporter extends reporter_1.default {
|
|
|
71
72
|
});
|
|
72
73
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call
|
|
73
74
|
if (composedOptions.profilers?.includes('network')) {
|
|
74
|
-
this.profiler = new
|
|
75
|
+
this.profiler = new profilers_1.NetworkProfiler({
|
|
75
76
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access
|
|
76
77
|
skipDomains: composedOptions.networkProfiler?.skip_domains,
|
|
77
78
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access
|
package/dist/service.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.QaseWdioService = void 0;
|
|
4
4
|
const qase_javascript_commons_1 = require("qase-javascript-commons");
|
|
5
|
+
const profilers_1 = require("qase-javascript-commons/profilers");
|
|
5
6
|
const events_1 = require("./events");
|
|
6
7
|
/**
|
|
7
8
|
* QaseWdioService — WDIO service for network request profiling.
|
|
@@ -27,7 +28,7 @@ class QaseWdioService {
|
|
|
27
28
|
const config = configLoader.load();
|
|
28
29
|
const options = (0, qase_javascript_commons_1.composeOptions)({}, config);
|
|
29
30
|
if (options.profilers?.includes('network')) {
|
|
30
|
-
this.profiler = new
|
|
31
|
+
this.profiler = new profilers_1.NetworkProfiler({
|
|
31
32
|
skipDomains: options.networkProfiler?.skip_domains,
|
|
32
33
|
trackOnFail: options.networkProfiler?.track_on_fail,
|
|
33
34
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wdio-qase-reporter",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"description": "Qase WebDriverIO Reporter",
|
|
5
5
|
"homepage": "https://github.com/qase-tms/qase-javascript",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -32,9 +32,8 @@
|
|
|
32
32
|
"author": "Qase Team <support@qase.io>",
|
|
33
33
|
"license": "Apache-2.0",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"qase-javascript-commons": "~2.5.
|
|
35
|
+
"qase-javascript-commons": "~2.5.7",
|
|
36
36
|
"uuid": "^9.0.1",
|
|
37
|
-
"@types/node": "^20.19.25",
|
|
38
37
|
"@wdio/reporter": "^8.43.0",
|
|
39
38
|
"@wdio/types": "^8.41.0",
|
|
40
39
|
"csv-stringify": "^6.6.0",
|