testit-adapter-playwright 2.1.8 → 2.2.1

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/README.md CHANGED
@@ -12,7 +12,7 @@ npm install testit-adapter-playwright
12
12
 
13
13
  ### Configuration
14
14
 
15
- | Description | Property | Environment variable | CLI argument |
15
+ | Description | File property | Environment variable | CLI argument |
16
16
  |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------|-----------------------------------|-------------------------------|
17
17
  | Location of the TMS instance | url | TMS_URL | tmsUrl |
18
18
  | API secret key [How to getting API secret key?](https://github.com/testit-tms/.github/tree/main/configuration#privatetoken) | privateToken | TMS_PRIVATE_TOKEN | tmsPrivateToken |
@@ -56,7 +56,7 @@ Create .env config or file config with default name tms.config.json in the root
56
56
  ```
57
57
 
58
58
  #### Parallel run
59
- To create and complete TestRun you can use the Test IT CLI:
59
+ To create and complete TestRun you can use the Test IT CLI (use adapterMode 1 for parallel run):
60
60
 
61
61
  ```
62
62
  $ export TMS_TOKEN=<YOUR_TOKEN>
package/dist/reporter.js CHANGED
@@ -119,7 +119,7 @@ class TmsReporter {
119
119
  autotestData.addLinks = metadata.addLinks;
120
120
  }
121
121
  if (metadata.addMessage) {
122
- autotestData.classname = metadata.addMessage;
122
+ autotestData.addMessage = metadata.addMessage;
123
123
  }
124
124
  if (metadata.params) {
125
125
  autotestData.params = metadata.params;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testit-adapter-playwright",
3
- "version": "2.1.8",
3
+ "version": "2.2.1",
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.8"
43
+ "testit-js-commons": "~2.2.1"
44
44
  },
45
45
  "files": [
46
46
  "dist"