Skip to content

Commit a07f34d

Browse files
committed
qase-javascript-commons: release 2.0.0-beta.9
1 parent 7a8da2d commit a07f34d

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

qase-javascript-commons/changelog.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,23 @@
22

33
## What's new
44

5-
Fixed an issue with duplicate test runs if the testing framework (such as Cypress) uses more than one instance of the Qase reporter.
6-
The Qase reporter stores the test run ID in the ENV variable `QASE_TESTOPS_RUN_ID` after creating the first test run.
5+
Improved debug logging for better testing and reporting errors.
6+
7+
- Separate `logger` class for use in reporters, supporting logging to console and files.
8+
- Extra debug logs in both reporter modes: TestOps and Local.
9+
10+
Fixed an issue with duplicate test runs created when the testing framework
11+
(such as Cypress) uses more than one instance of the Qase reporter.
12+
Now reporter handles Qase test runs in the following way:
13+
14+
1. The first instance of the reporter creates a Qase test run and stores the run ID
15+
in the ENV variable `QASE_TESTOPS_RUN_ID`.
16+
2. Other instances of the reporter read this variable and report test results
17+
to the existing test run.
18+
19+
Nothing has changed in cases when there is a single instance of a reporter or
20+
when it is using a test run, created with other tools, such as with an API request
21+
or manually in the Qase app.
722

823
924

0 commit comments

Comments
 (0)