Package-level declarations
Types
Link copied to clipboard
TestRule to execute tests multiple times. This can be used to debug flaky tests.
Link copied to clipboard
interface RobotActions
Robot actions for performing common view actions.
Link copied to clipboard
interface RobotAssertions
Robot assertions for performing common view assertions.
Link copied to clipboard
abstract class ScreenRobot<out A : RobotActions, out S : RobotAssertions>(robotActions: A, robotAssertions: S)
Base class for implementing a robot DSL.
Functions
Link copied to clipboard
Convert anything to a ViewAction by looping the main thread for at least delayMillis. This is useful when the trigger of an action isn't a regular Espresso ViewAction e.g. some external events, but needs to participate in Espresso's internal synchronisation mechanisms to prevent the next ViewAction or Matcher from executing too early.
Link copied to clipboard
Link copied to clipboard
Finds the activity in the foreground (if any).
Link copied to clipboard
Wait until the RecyclerView has no more pending updates.
Link copied to clipboard
Scroll to the item at itemIndex in the RecyclerView associated with recyclerViewId.