-
Notifications
You must be signed in to change notification settings - Fork 159
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
DocLocScreenshotTestCase does not save failure screenshots #96
Labels
bug
Something isn't working
Comments
@aartikov Hi! |
@aartikov Hi! |
Nikitae57
added a commit
that referenced
this issue
Nov 7, 2022
Nikitae57
added a commit
that referenced
this issue
Nov 7, 2022
Nikitae57
added a commit
that referenced
this issue
Nov 7, 2022
Hi, @aartikov! Indeed, current approach with TestRule doesn't work for several reasons. Right now you could fix it by adding Kaspresso.Builder.simple().apply {
stepWatcherInterceptors.add(ScreenshotStepWatcherInterceptor(screenshots))
} There's a PR that aims to take "fail" screenshots out of the box |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce:
kaspressample.docloc_tests.ScreenshotSampleTest
to make it failing.Expected behavior: "fails" directory contains a failure screenshot.
Actual behavior: "fails" directory is empty. Logcat has
java.lang.IllegalArgumentException: Could not find test class!
Tested on Emulator API 26, x86_64.
The text was updated successfully, but these errors were encountered: