playwright-video icon indicating copy to clipboard operation
playwright-video copied to clipboard

Record video when the test fails

Open FahadRS opened this issue 5 years ago • 2 comments

I am using this library to record the video but i am not able to check is there any way to record/save the video when only the test fail

FahadRS avatar Nov 22 '20 09:11 FahadRS

@FahadRS There's no direct support for this, but you should be able to use the workaround described here. https://github.com/qawolf/playwright-video/issues/23

dialupdev avatar Nov 22 '20 15:11 dialupdev

@celeryclub thanks for the quick response can you plese tell me is there any way to detect the test has failed in the after all hook in the jest

FahadRS avatar Nov 28 '20 15:11 FahadRS