Comments (5)
@wiryadev
I think that is coz I did not configured the sharedId as stated in Shot documentation.
It seems to be needed for some APIs.
Could you tell me the API of the emulator on which you are running the screenshot tests?
I’ll definitely update it if that is the case.
Also please try with another API.
Moreover, what OS is your machine running? MacOs, Windows or Linux?
from android-screenshot-testing-playground.
I was trying with Pixel 4 XL API 31 using Windows. I havent tested it against another API yet.
from android-screenshot-testing-playground.
I was trying with Pixel 4 XL API 31 using Windows. I havent tested it against another API yet.
I've checked it on my Mac and it works.
I'm afraid it has to do with Shot & Windows playing together on emulators running last APIs.
Theoretically, it should not happen on emulators running API 27 or lower.
Could you please confirm that it works on API <28?
from android-screenshot-testing-playground.
@wiryadev
I have one more idea why they might not show up.
could you try running this before the screenshots?
adb shell settings put global hidden_api_policy 1
If that works, there is a way I could fix it without requiring you to run that on emulators before running screenshots with shot
from android-screenshot-testing-playground.
Close due to inactivity
@wiryadev feel free to reopen it if still happening with the newest examples
from android-screenshot-testing-playground.
Related Issues (10)
- Add a sample using robolectric native graphics HOT 2
- Executing Android-Testify without GMD and useTestStorage = true fails with dev.testify.output.TestStorageNotFoundException
- Modularise app for better extensibility
- Add Android-Testify Tests for Activities and Fragments
- Update command to run filtered Android-Testify tests with Gradle Managed Devices HOT 1
- Update Locale of Cross-Library and Paparazzi screenshot tests to use pseudolocales HOT 1
- Update to AGP 7.x.x and do corresponding adjustment for Shot compatibility + update Shot for windows support
- Disable animations automatically: no need for doing it manually on the emulator settings
- Code clean up
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-screenshot-testing-playground.