android-test
android-test copied to clipboard
An extensive framework for testing Android apps
WIP Try using UiDevice to set screen orientation
I am storing everything in Shared Prefrences and starting activity with no String Extra. Still getting error [TransactionTooLargeException.pdf](https://github.com/android/android-test/files/12553917/TransactionTooLargeException.pdf) Please see complete error logs below. An interesting note... It is working...
### Description In androidU,if the app target is 34 , when we registerReceiver,we must use the RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED flag , but the class InstrumentationConnection did not do this when...
Issue While Runnig Intrumentation Test : com.android.tools.r8.internal.YI0: Records are not supported ### Description: I encountered an issue while running Android Instrumentation tests. The error message I received is as follows:...
Adds a function to the ViewAssertion API that grants access to the UiController. This allows users to write assertions that idle the main looper or write screenshot tests with ViewAssertions.
### Description I'll refer to the lingo used in the recent Google I/O video [Best practices for saving UI state on Android](https://www.youtube.com/watch?v=V-s4z7B_Gnc) as that coincidently covered the situation I'm describing...
Espresso still depends on Hamcrest 1.3 even though the latest release is 2.2 and only bumping it locally is [not straightforward](http://hamcrest.org/JavaHamcrest/distributables.html#upgrading-from-hamcrest-1.x)
### Description * I'm using protobuf/gRPC on my android app and I tried to use androidx espresso, but build was failed. * Since [Protobuf 3.8.0](https://github.com/protocolbuffers/protobuf/releases/tag/v3.8.0), it introduced new javalite runtime...
Migrate away from delicate coroutine APIs.
### Description Asserting on activity result extra from `ActivityScenario` results in exception. This was not the case with `ActivityTestRule`. ### Steps to Reproduce 2. Start "picker" activity with `scenario =...