testit-adapter-playwright 2.2.3 → 2.2.4

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.
Files changed (2) hide show
  1. package/dist/reporter.js +1 -1
  2. package/package.json +2 -2
package/dist/reporter.js CHANGED
@@ -134,7 +134,7 @@ class TmsReporter {
134
134
  if (step) {
135
135
  this.stepCache.delete(step);
136
136
  }
137
- await this.additions.addAttachments(attachment.body.toString(), attachment.name.replace(stepAttachRegexp, "")).then((ids) => {
137
+ await this.additions.addAttachments(attachment.body, attachment.name.replace(stepAttachRegexp, "")).then((ids) => {
138
138
  if (step?.parent) {
139
139
  this.attachmentSteps.set(ids[0], step.parent);
140
140
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testit-adapter-playwright",
3
- "version": "2.2.3",
3
+ "version": "2.2.4",
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.2.3"
43
+ "testit-js-commons": "~2.2.4"
44
44
  },
45
45
  "files": [
46
46
  "dist"