@testomatio/reporter 0.6.4 → 0.6.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/Changelog.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.6.5
2
+
3
+ * Fixed test statuses for runs in JUnit reporter
4
+
1
5
  # 0.6.4
2
6
 
3
7
  * Added `TESTOMATIO_PROCEED=1` param to not close current run
package/README.md CHANGED
@@ -168,7 +168,7 @@ exports.config = {
168
168
  Run the following command from you project folder:
169
169
 
170
170
  ```bash
171
- TESTOMATIO={API_KEY} npx start-test-run@latest -c 'npx protractor conf.js'
171
+ TESTOMATIO={API_KEY} npx start-test-run -c 'npx protractor conf.js'
172
172
  ```
173
173
 
174
174
  ### WebdriverIO
@@ -496,7 +496,7 @@ TESTOMATIO_DISABLE_ARTIFACTS=1
496
496
  If you want to create a run and obtain its `{RUN_ID}` from [testomat.io](https://testomat.io) you can use `--launch` option:
497
497
 
498
498
  ```bash
499
- TESTOMATIO={API_KEY} npx start-test-run@latest --launch
499
+ TESTOMATIO={API_KEY} npx start-test-run --launch
500
500
  ```
501
501
 
502
502
  This command will return `{RUN_ID}` which you can pass to other testrunner processes.
@@ -508,5 +508,5 @@ This command will return `{RUN_ID}` which you can pass to other testrunner proce
508
508
  If you want to finish a run started by `--launch` use `--finish` option. `TESTOMATIO_RUN` environment variable is required:
509
509
 
510
510
  ```bash
511
- TESTOMATIO={API_KEY} TESTOMATIO_RUN={RUN_ID} npx start-test-run@latest --finish
511
+ TESTOMATIO={API_KEY} TESTOMATIO_RUN={RUN_ID} npx start-test-run --finish
512
512
  ```
package/lib/xmlReader.js CHANGED
@@ -248,6 +248,7 @@ class XmlReader {
248
248
  const dataString = JSON.stringify({
249
249
  ...this.stats,
250
250
  api_key: this.requestParams.apiKey,
251
+ status_event: 'finish',
251
252
  tests: this.tests,
252
253
  });
253
254
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testomatio/reporter",
3
- "version": "0.6.4",
3
+ "version": "0.6.5",
4
4
  "description": "Testomatio Reporter Client",
5
5
  "main": "./lib/reporter.js",
6
6
  "repository": "git@github.com:testomatio/reporter.git",