cypress-qase-reporter 2.0.0-beta.2 → 2.0.0-beta.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.
package/README.md CHANGED
@@ -4,10 +4,27 @@ Publish results simple and easy.
4
4
 
5
5
  ## How to install
6
6
 
7
- ```
7
+ Qase Cypress reporter is currently in open beta stage for the version 2 series.
8
+ To install the latest beta version, run:
9
+
10
+ ```sh
8
11
  npm install -D cypress-qase-reporter@beta
9
12
  ```
10
13
 
14
+ ## Updating from v1
15
+
16
+ You can update a test project from using version 1 to version 2 in several steps:
17
+
18
+ 1. Change import paths:
19
+
20
+ ```diff
21
+ - import { qase } from 'cypress-qase-reporter/dist/mocha'
22
+ + import { qase } from 'cypress-qase-reporter/mocha'
23
+ ```
24
+
25
+ 2. Update reporter configuration in `cypress.config.js` and/or environment variables —
26
+ see the [configuration reference](#configuration) below.
27
+
11
28
  ## Getting started
12
29
 
13
30
  The Cypress reporter can auto-generate test cases
package/changelog.md ADDED
@@ -0,0 +1,8 @@
1
+ # cypress-qase-reporter@2.0.0-beta.3
2
+
3
+ Fixed an issue with multiple test runs created when Cypress is running
4
+ multiple tests in parallel.
5
+
6
+ # cypress-qase-reporter@2.0.0-beta.2
7
+
8
+ First major beta release for the version 2 series of the Qase Cypress reporter.
package/dist/reporter.js CHANGED
@@ -62,7 +62,7 @@ class CypressQaseReporter extends mocha_1.reporters.Base {
62
62
  const config = configLoader.load();
63
63
  const { framework, ...composedOptions } = (0, qase_javascript_commons_1.composeOptions)(reporterOptions, config);
64
64
  this.screenshotsFolder = framework?.cypress?.screenshotsFolder;
65
- this.reporter = new qase_javascript_commons_1.QaseReporter({
65
+ this.reporter = qase_javascript_commons_1.QaseReporter.getInstance({
66
66
  ...composedOptions,
67
67
  frameworkPackage: 'cypress',
68
68
  frameworkName: 'cypress',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cypress-qase-reporter",
3
- "version": "2.0.0-beta.2",
3
+ "version": "2.0.0-beta.4",
4
4
  "description": "Qase Cypress Reporter",
5
5
  "homepage": "https://github.com/qase-tms/qase-javascript",
6
6
  "sideEffects": false,
@@ -44,7 +44,7 @@
44
44
  "author": "Nikita Fedorov <nik333r@gmail.com>",
45
45
  "license": "Apache-2.0",
46
46
  "dependencies": {
47
- "qase-javascript-commons": "^2.0.0-beta.8",
47
+ "qase-javascript-commons": "^2.0.0-beta.10",
48
48
  "uuid": "^9.0.1"
49
49
  },
50
50
  "peerDependencies": {