testit-adapter-playwright 2.1.7 → 2.2.0

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/converter.js CHANGED
@@ -18,6 +18,7 @@ class Converter {
18
18
  links: autotestData.links,
19
19
  namespace: autotestData.namespace,
20
20
  classname: autotestData.classname,
21
+ workItemIds: autotestData.workItemIds,
21
22
  };
22
23
  }
23
24
  static convertAutotestPostToAutotestResult(autotestData, test, result) {
package/dist/reporter.js CHANGED
@@ -124,6 +124,9 @@ class TmsReporter {
124
124
  if (metadata.params) {
125
125
  autotestData.params = metadata.params;
126
126
  }
127
+ if (metadata.workItemIds) {
128
+ autotestData.workItemIds = metadata.workItemIds;
129
+ }
127
130
  continue;
128
131
  }
129
132
  if (attachment.name.match(stepAttachRegexp)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testit-adapter-playwright",
3
- "version": "2.1.7",
3
+ "version": "2.2.0",
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": "~2.1.6"
43
+ "testit-js-commons": "~2.2.0"
44
44
  },
45
45
  "files": [
46
46
  "dist"