cypress-qase-reporter 3.0.2 → 3.0.3

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,10 @@
1
+ # cypress-qase-reporter@3.0.3
2
+
3
+ ## What's new
4
+
5
+ - Added support for status filter in the test run.
6
+ - Improved error handling.
7
+
1
8
  # cypress-qase-reporter@3.0.2
2
9
 
3
10
  ## What's new
package/dist/reporter.js CHANGED
@@ -198,9 +198,7 @@ class CypressQaseReporter extends mocha_1.reporters.Base {
198
198
  steps: steps,
199
199
  id: (0, uuid_1.v4)(),
200
200
  execution: {
201
- status: test.state
202
- ? CypressQaseReporter.statusMap[test.state]
203
- : qase_javascript_commons_1.TestStatusEnum.invalid,
201
+ status: (0, qase_javascript_commons_1.determineTestStatus)(test.err || null, test.state || 'failed'),
204
202
  start_time: this.testBeginTime / 1000,
205
203
  end_time: end_time / 1000,
206
204
  duration: duration,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cypress-qase-reporter",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "Qase Cypress Reporter",
5
5
  "homepage": "https://github.com/qase-tms/qase-javascript",
6
6
  "sideEffects": false,
@@ -51,7 +51,7 @@
51
51
  "author": "Qase Team <support@qase.io>",
52
52
  "license": "Apache-2.0",
53
53
  "dependencies": {
54
- "qase-javascript-commons": "~2.4.1",
54
+ "qase-javascript-commons": "~2.4.2",
55
55
  "uuid": "^9.0.1"
56
56
  },
57
57
  "peerDependencies": {