Is it possible to run Fastlane/Snapshot on device

2019-07-31 15:52发布

Recently, I started using Fastlane's Snapshot tool. However, Snapshot seems to run only in Simulator environment and that creates a problem for me since the app I'm working on is interacting with Whatsapp and Whatsapp cannot be used on simulator. Thus, I cannot take screenshots of some of the interactive steps of my app with Snapshot.

My question is: Are there any settings in Snapfile or some other ways of having Snapshot run on an actual device and not the simulators? Or there is no such option and I would need to think of setting my UI tests differently?

Thank you!

1条回答
够拽才男人
2楼-- · 2019-07-31 16:14

After digging into Fastlane's issue board, found out similar question posted there. So indeed, it is not possible to run Snapshot on a real device atm, but the possibility of having such feature is currently being looked into (dev's comment posted on May 19). Link to the Git post: https://github.com/fastlane/fastlane/issues/1635

查看更多
登录 后发表回答