cucumberjs-qase-reporter 2.2.1 → 2.2.2
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/storage.d.ts +2 -1
- package/package.json +2 -2
package/changelog.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# cucumberjs-qase-reporter@2.2.2
|
|
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-cucumberjs@2.2.1
|
|
2
9
|
|
|
3
10
|
## What's new
|
package/dist/reporter.js
CHANGED
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CucumberQaseReporter = void 0;
|
|
4
4
|
const cucumber_1 = require("@cucumber/cucumber");
|
|
5
5
|
const qase_javascript_commons_1 = require("qase-javascript-commons");
|
|
6
|
+
const profilers_1 = require("qase-javascript-commons/profilers");
|
|
6
7
|
const storage_1 = require("./storage");
|
|
7
8
|
/**
|
|
8
9
|
* @class CucumberQaseReporter
|
|
@@ -45,7 +46,7 @@ class CucumberQaseReporter extends cucumber_1.Formatter {
|
|
|
45
46
|
reporterName: 'cucumberjs-qase-reporter',
|
|
46
47
|
});
|
|
47
48
|
if (composedOptions.profilers?.includes('network')) {
|
|
48
|
-
this.profiler = new
|
|
49
|
+
this.profiler = new profilers_1.NetworkProfiler({
|
|
49
50
|
skipDomains: composedOptions.networkProfiler?.skip_domains,
|
|
50
51
|
trackOnFail: composedOptions.networkProfiler?.track_on_fail,
|
|
51
52
|
});
|
package/dist/storage.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Attachment as Attach, GherkinDocument, Pickle, TestCaseFinished, TestCaseStarted, TestStepFinished } from '@cucumber/messages';
|
|
2
|
-
import {
|
|
2
|
+
import { StepStatusEnum, TestResultType, TestStatusEnum } from 'qase-javascript-commons';
|
|
3
|
+
import { NetworkProfiler } from 'qase-javascript-commons/profilers';
|
|
3
4
|
import { TestCase } from '@cucumber/messages/dist/esm/src/messages';
|
|
4
5
|
import { Status } from '@cucumber/cucumber';
|
|
5
6
|
type TestStepResultStatus = (typeof Status)[keyof typeof Status];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cucumberjs-qase-reporter",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.2",
|
|
4
4
|
"description": "Qase TMS CucumberJS Reporter",
|
|
5
5
|
"homepage": "https://github.com/qase-tms/qase-javascript",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"license": "Apache-2.0",
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@cucumber/messages": "^22.0.0",
|
|
43
|
-
"qase-javascript-commons": "~2.5.
|
|
43
|
+
"qase-javascript-commons": "~2.5.7"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"@cucumber/cucumber": ">=7.0.0"
|