app icon indicating copy to clipboard operation
app copied to clipboard

Attach console logs from step to the reporter [-cypress]

Open mariiakostenko opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe. In the context of API testing, there is a need for more detailed logging in test steps to improve the analysis and debugging process. The current information provided, such as error codes and error response data, is not sufficient for a complete understanding of the test execution. Adding logs to test steps would greatly enhance the ability to identify and investigate issues, especially in cases where errors are not easily reproducible.

Describe the solution you'd like I suggest to include additional logging capabilities during the execution of test steps in Testomat reporter. This would involve capturing relevant information such as the request parameters, the success or failure of each step, and the corresponding response received. By incorporating these logs, testers and developers would can troubleshoot issues more efficiently, reducing the time required for debugging.

Additional context We have project with Jest on TypeScript.

mariiakostenko avatar May 29 '23 08:05 mariiakostenko

Implemented for jest in 1.1.0-beta

olexandr13 avatar Jun 21 '23 05:06 olexandr13

Not done for Cypress

olexandr13 avatar Aug 14 '23 11:08 olexandr13

Try a bit more )

olexandr13 avatar Aug 14 '23 11:08 olexandr13

Sorry, we could not make it work

DavertMik avatar Nov 11 '24 11:11 DavertMik