testit-adapter-playwright 3.4.7 → 3.4.10-TMS-5.5
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/dist/reporter.d.ts +2 -1
- package/dist/reporter.js +1 -1
- package/package.json +2 -2
package/dist/reporter.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { FullConfig } from "@playwright/test";
|
|
2
2
|
import { Reporter, Suite, TestCase, TestResult, TestStep } from "@playwright/test/reporter";
|
|
3
|
-
import { IStrategy } from "testit-js-commons";
|
|
3
|
+
import { IStrategy, AdapterConfig } from "testit-js-commons";
|
|
4
4
|
export type ReporterOptions = {
|
|
5
5
|
detail?: boolean;
|
|
6
6
|
outputFolder?: string;
|
|
7
7
|
suiteTitle?: boolean;
|
|
8
8
|
environmentInfo?: Record<string, string>;
|
|
9
|
+
tmsOptions?: AdapterConfig;
|
|
9
10
|
};
|
|
10
11
|
declare class TmsReporter implements Reporter {
|
|
11
12
|
config: FullConfig;
|
package/dist/reporter.js
CHANGED
|
@@ -29,7 +29,7 @@ class TmsReporter {
|
|
|
29
29
|
this.attachmentsMap = new Map();
|
|
30
30
|
this.loadTestPromises = new Array();
|
|
31
31
|
this.options = { suiteTitle: true, detail: true, ...options };
|
|
32
|
-
const config = new testit_js_commons_1.ConfigComposer().compose();
|
|
32
|
+
const config = new testit_js_commons_1.ConfigComposer().compose(options.tmsOptions);
|
|
33
33
|
this.strategy = testit_js_commons_1.StrategyFactory.create(config);
|
|
34
34
|
this.additions = new testit_js_commons_1.Additions(config);
|
|
35
35
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "testit-adapter-playwright",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.10-TMS-5.5",
|
|
4
4
|
"description": "Playwright adapter for Test IT",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"prettier": "^3.0.1"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"testit-js-commons": "3.4.
|
|
43
|
+
"testit-js-commons": "3.4.10-TMS-5.5"
|
|
44
44
|
},
|
|
45
45
|
"files": [
|
|
46
46
|
"dist"
|