agent-js-cypress icon indicating copy to clipboard operation
agent-js-cypress copied to clipboard

Capture all failed screenshots when enable retry in cypress

Open weiwongfaye opened this issue 4 years ago • 1 comments

Trying to integrate one of our project(based on cypress) with RP. we enabled retry in cypress, when an exception happen, it retry and there will be multiple screenshots for each attempt. by default, this agent only send the first failure screenshot to RP, it will be better if we can use the last one or option to send all failed screenshot to RP.

image

I am not a javascript developer, here is a pr demonstrated what I needed https://github.com/reportportal/agent-js-cypress/pull/72

weiwongfaye avatar Feb 25 '21 08:02 weiwongfaye

Hello @weiwongfaye ! The screenshot mechanism has been completely rewritten and released in version 5.1.2. Have you tried using it? Please check your issue with the latest agent version. Looking forward to your feedback!

AmsterGet avatar Jul 26 '24 16:07 AmsterGet