We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am trying to run a tablet emulator and phone emulator. I expect two screenshots in my /app/screenshots/debug folder (1 for tablet and 1 for phone)
Only getting one screenshot, but the test is executing on both simulators. Seems like the last finishing emulator is the only screenshot thats saved.
./emulator -avd Pixel_C_API_30 ./emulator -avd PixelXL_Emulator
./gradlew executeScreenshotTests -Precord
com.karumi:shot:5.14.1 Java 11
The text was updated successfully, but these errors were encountered:
Shot runs the screenshot tests on all the devices adb finds.
However, Shot also supports to specify the folder where the screenshots are saved.
Moreover, using Android Serial we can decide on which emulators/devices the commands will be executed.
If we put all together, you can get it working as expected on a Mac as described in this tweet.
https://twitter.com/gio_sastre/status/1484201050450055169?s=46&t=0OpCcA9bfgI0DJA__8tsUQ
@pedrovgs Maybe makes sense to add to the README how to get Shot working on multiple devices? I can gladly add a PR for that
Sorry, something went wrong.
No branches or pull requests
Expected behaviour
I am trying to run a tablet emulator and phone emulator. I expect two screenshots in my /app/screenshots/debug folder (1 for tablet and 1 for phone)
Actual behaviour
Only getting one screenshot, but the test is executing on both simulators. Seems like the last finishing emulator is the only screenshot thats saved.
Steps to reproduce
./emulator -avd Pixel_C_API_30
./emulator -avd PixelXL_Emulator
./gradlew executeScreenshotTests -Precord
Version of the library
com.karumi:shot:5.14.1
Java 11
The text was updated successfully, but these errors were encountered: