AdevintaSpain/Barista

Hello, Barista is not able to click IN-APP Billing Library

ChauhanAndroid opened this issue · 1 comments

*Ver3.9.0

Describe the Bug:

A clear description of what is the bug is.

Steps to reproduce the bug:

  1. Try to Launch IN APP Billing Library Popup.
  2. Try to subscribe.
  3. Not able to perform click on Subscribe button.

Expected Behavior:

It should be able to click on Subscribe button and perform purchase.
Screenshot 2021-07-19 at 11 08 01 AM

Sloy commented

Hello @faltutechy!
The In-App dialog is part of an external application, not your own app. Barista, like Espresso, can't interact with views outside of your app.
To do that, you need to use UI Automator instead. You can see a similar example in our PermissionGranter class, which interacts with the system's permission dialog.

Good luck!