Git Product home page Git Product logo

Comments (5)

sergio-sastre avatar sergio-sastre commented on June 2, 2024

@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.

wiryadev avatar wiryadev commented on June 2, 2024

I was trying with Pixel 4 XL API 31 using Windows. I havent tested it against another API yet.

from android-screenshot-testing-playground.

sergio-sastre avatar sergio-sastre commented on June 2, 2024

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.

sergio-sastre avatar sergio-sastre commented on June 2, 2024

@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.

sergio-sastre avatar sergio-sastre commented on June 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.