qase-tms / qase-javascript

Qase TMS JavaScript SDK
https://developers.qase.io
47 stars 38 forks source link

Error: The start time must be greater than the test run start time #606

Closed NickVolynkin closed 1 month ago

NickVolynkin commented 1 month ago

The following error happens when running tests with Qase reporters enabled in Playwright, Cypress, and other frameworks:

[ERROR] qase: Unable to publish the run results to the upstream reporter:
Message: Data is invalid.
 results.0.start_time: The start time must be greater than the test run start time

 Error: Request failed with status code 400
 ...
NickVolynkin commented 1 month ago

The problem was addressed in https://github.com/qase-tms/qase-javascript/commit/2261c550c82d9058bf15e7c1472cab7cafb7b913 and finally resolved in https://github.com/qase-tms/qase-javascript/commit/daa535b3dafa7957e7a6c672a32210947f5f6d5c, release qase-javascript-commons@2.0.4.

To resolve it in your code project, run the following command:

npm install qase-javascript-commons@latest