Hello,
Is there an easy way to take a screenshot with detox ?
With Appium and wd it's really easy https://github.com/appetizeio/appium-samples/blob/master/node.js/ios-basic.js#L60
I really think its a key feature, most of the time when a test failed, it's easier and faster to see the last screenshot to understand why instead of look at the logs.
Hey @padupuy ,
That's actually in our roadmap, alongside video recordings and log dumps.
Thanks for the feedback and for the work, Detox is really promising !
@padupuy , what do you think about the summary in https://github.com/wix/detox/issues/171 ?
We have to add failed test artifacts, but I'm not sure screenshots are the right solution.
Screenshots could be used to test visual regression.
Video of the failure test will be for sure a time-saving killer !
We plan to add these features as part of #171 and progress will be tracked there. Closing this one for now.
Note for posterity: Issue #171 is still Open unresolved as of April 2018.
Most helpful comment
Hey @padupuy ,
That's actually in our roadmap, alongside video recordings and log dumps.