From 8b15dd91d88aa825bb477c8062d29a4dfabeeaf5 Mon Sep 17 00:00:00 2001 From: Nick Volynkin Date: Mon, 29 Apr 2024 13:53:33 +0300 Subject: [PATCH] qase-javascript-commons: release 2.0.0-beta.9 --- qase-javascript-commons/changelog.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/qase-javascript-commons/changelog.md b/qase-javascript-commons/changelog.md index ad4a8297..9d909a24 100644 --- a/qase-javascript-commons/changelog.md +++ b/qase-javascript-commons/changelog.md @@ -2,8 +2,23 @@ ## What's new -Fixed an issue with duplicate test runs if the testing framework (such as Cypress) uses more than one instance of the Qase reporter. -The Qase reporter stores the test run ID in the ENV variable `QASE_TESTOPS_RUN_ID` after creating the first test run. +Improved debug logging for better testing and reporting errors. + +- Separate `logger` class for use in reporters, supporting logging to console and files. +- Extra debug logs in both reporter modes: TestOps and Local. + +Fixed an issue with duplicate test runs created if the testing framework +(such as Cypress) uses more than one instance of the Qase reporter. +Now reporter handles Qase test runs in the following way: + +1. The first instance of the reporter creates a Qase test run and stores the run ID + in the ENV variable `QASE_TESTOPS_RUN_ID`. +2. Other instances of the reporter read this variable and report test results + to the existing test run. + +Nothing has changed in cases when there is a single instance of a reporter or +when it is using a test run, created with other tools, such as with an API request +or manually in the Qase app. # qase-javascript-commons@2.0.0-beta.8