Closed skullz03 closed 4 years ago
Hello, Are there any updates on this topic ? I am also looking for similar feature to include screen shots in HTML test reports.
@skullz03 @chopra1203 I have installed this library today and I can see screenshots of failed test in a report. HTML report and screenshot path are set on the same folder in my case. Maybe it works just in this setup.
This is and old issue. screenshots are now embedded in the HTML.
Can you pls throw some light on this ? I am struggling to embed my screenshot in the report.
OK, what command do you use to start your tests? what version do you use? Screenshots will be embedded automatically if you set the screenshot arguments correctly
I am a newbie , i use npm run testvideo (name of the testscript). testcafe version 1.8.5
Can you pls share how to set the screenshot arguments ?
ok, If you have questions about running testcafe then please refer to the Testcafe docs
Hurray ! I got it now, thank you so much !
Hi,
I have the following line in my package.json "test-with-html-reports": "testcafe chrome TestCafe-Demo/tests/ --reporter html:TestCafe-Demo/reports/html -e --proxy https.mycom.test.com:7000 -S -s artifacts/screenshots",
As you can see, I am making screenshots in the folder "artifacts" when the test fails. Could this be somehow shown in the report. Does this reporter plugin support that ?