Skip to content

Commit

Permalink
docs: address no compose deps branch in the troubleshooting section (#…
Browse files Browse the repository at this point in the history
…880)

* docs: address no compose deps branch

* Update README.md

* Update README.md

* Update README.md
  • Loading branch information
KazuCocoa authored Aug 7, 2023
1 parent d976e9a commit c558557
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ The Espresso package consists of two main parts:

The key difference between [UiAutomator2 Driver](https://github.com/appium/appium-uiautomator2-driver) and Espresso Driver is that UiAutomator2 is a black-box testing framework, and Espresso is a "grey-box" testing framework. The Espresso Driver itself is black-box (no internals of the code are exposed to the tester), but the Espresso framework itself has access to the internals of Android applications. This distinction has a few notable benefits. It can find elements that aren't rendered on the screen, it can identify elements by the Android View Tag, and it makes use of [IdlingResource](https://developer.android.com/reference/android/support/test/espresso/IdlingResource) which blocks the framework from running commands until the UI thread is free. There is a limited support of out-of-app areas automation via the [mobile: uiautomator](#mobile-uiautomator) command.


## Requirements

On top of standard Appium requirements Espresso driver also expects the following prerequisites:
Expand Down Expand Up @@ -1617,6 +1616,8 @@ more details.
-keep class android.support.v7.** { *; }
```
Please read [#449](https://github.com/appium/appium-espresso-driver/issues/449#issuecomment-537833139) for more details on this topic.
* When you want to build without compose dependencies
* Espresso driver has Jetpack Compose dependencies to [support Jetpack Compose](#jetpack-compose-support). It could break the application under test's dependencies. The typical case is when the application under test does not have the Jetpack Compose dependencies. Then, you can try out [no compose dependencies branch](https://github.com/appium/appium-espresso-driver/pull/879)). In Appium 2.0, the branch is available as `appium driver install --source=local /path/to/the/appium-espress-driver` with the `no-compose-deps` branch instead of npm installation.


## Contributing
Expand Down

0 comments on commit c558557

Please sign in to comment.