-
Notifications
You must be signed in to change notification settings - Fork 476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Screenshots are all the same - only the 1st screenshot is kept for each test #507
Comments
See this previous issue here: #498. Also, you need to use "single instrumentation" to get Spoon to generate the reports correctly: stanfy/spoon-gradle-plugin#161 (comment). |
Thanks for replying @jaredsburrows , I've already used |
@eric-grab Yeah, sadly I think spoon 2 has problems. Ideally, you probably only need the screenshots of the tests that have failed right? |
serves the purpose of the debugging, yes However, I need all the screenshots for all the steps to
|
@eric-grab Makes a lot of since. I am not sure about the screenshot work around. We might have to find another solution or wait for Spoon 2 to be released. I was looking into this recently: Repo: https://github.com/medisafe/run-android-tests See: https://medium.com/medisafe-tech-blog/running-android-ui-tests-part-2-15ef08056d94 and https://github.com/medisafe/run-android-tests/issues/1#issuecomment-321196601 and |
I've already look at #384 but it's not helpful.
My code:
When I comment out the first
Spoon.screenshot()
then I got the 2nd screenshot correctly.I'm using:
The text was updated successfully, but these errors were encountered: