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

Please update to espresso 3.6.0-rc01 or higher and fix BaristaIntents.mockAndroidCamera() #540

Open
wbearand opened this issue Jun 7, 2024 · 0 comments

Comments

@wbearand
Copy link

wbearand commented Jun 7, 2024

Library Version:

4.3.0

Describe the Bug:

In our app, we use espresso 3.6.0-rc01. Barista uses 3.4.0 it seems. As a consequence, the tests that use BaristaIntents.mockAndroidCamera() fail with:

java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/test/espresso/core/internal/deps/guava/base/Preconditions;

It seems that this preconditions were removed, and now this checks should be used.

Steps to reproduce the bug:

  1. Update espresso to 3.6.0-rc01
  2. run a test that uses BaristaIntents.mockAndroidCamera()

Expected Behavior:

That no ClassNotFoundException is thrown.

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