-
-
Notifications
You must be signed in to change notification settings - Fork 111
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
Failure executing task executeScreenshotTests due to SAXParseException #33
Comments
Hi @juange87 thanks for reporting this bug. Just reading the stack trace makes me think this bug has to be related to the parsing of the XML metadata file the runner generates containing information about the tests execution. Could you please run the tests on any device or emulator you use, wait until the library fails and get a copy of the content you'll find at If the content of this folder contains sensitive information for you or your company review the content or share it directly with me through email. You can also create a new project on GitHub reproducing the error. |
Ok, I will try to do during the day. I have more info related to this. While setting up Shot, I made a change regarding this: I changed the version to 0.5.0 (we had set Screenshot testing but It was not merged due to we hadn't a proper CI to run the Screenshot tests)
Last night at home I tried to record the tests again but changing this version to 0.4.2, and it worked as expected. What make me think is, we are dropping the Facebook Screenshot testing configuration in favor of Shot, so the |
I can reproduce this issue 100% of the time, and I've made a sample repo that you can take a look at here: https://github.com/AOrobator/ScreenshotTest. Originally posted as an issue here: #34 |
Thanks @AOrobator this repository is really helpful! Could you try by removing the facebook plugin from your classpath? Shot add all the dependencies needed to run your screenshot tests including the facebook lib. |
I ran as well into this issue, it seems that Shot is not working with version 0.5.0 of the facebook plugin. Which is a shame, since that version would solve the issue #35. I'm looking forward to seeing the update to make it work though :) |
@eduardb @AOrobator @juange87 we've fixed this issue and provided support for the latest versions of the Facebook core library. I'm about to release a new version with @Serchinastico and @tonilopezmr contributions. |
Thanks for the notice, Pedro! :) |
You are welcome @eduardb are you using Shot for a personal or company project? We'd like to know if we have some users 😃 |
Hehe :) I am using it for a personal project, I started it very recently, and it's advancing slowly since I am working on it in my (limited) spare time. But I got introduced to the concept of screenshot testing at work on the web application we are working on, and it got me really excited to be able to do it on Android as well in such an easy way. Good job, btw! :) |
Congrats team!! 💪 |
Expected behaviour
executeScreenshotTests
orexecuteScreenshotTests -Precord
should work as expectedActual behaviour
Exception happens executing those tasks:
Version of the library
Tested on 1.0.0, 0.3.0, 0.2.0
Extended Stacktrace
The text was updated successfully, but these errors were encountered: