Skip to content
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

RuntimePermissionsStubber not found #2311

Open
simonwalter opened this issue Nov 15, 2024 · 0 comments
Open

RuntimePermissionsStubber not found #2311

simonwalter opened this issue Nov 15, 2024 · 0 comments

Comments

@simonwalter
Copy link

Description

We're trying to use RuntimePermissionsStubber for granting/revoking permissions in UI tests. According to the API signature file, it should be included in the espresso-intents artifact version 3.6.0 and above.

However, we are unable to locate it in the espresso-intents artifact or any other artifact within androidx.test.espresso:

image

Steps to Reproduce

  1. Add androidx.test.espresso:espresso-intents:3.6.1 as an androidTestImplementation dependency.
  2. Try to use or import RuntimePermissionsStubber.

Expected Results

The class should be available for use.

Actual Results

The class is not found.

AndroidX Test and Android OS Versions

androidx.test.espresso:espresso-intents:3.6.1

Link to a public git repo demonstrating the problem:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant