MainProcessPanelInteractions

object MainProcessPanelInteractions

Interactions for instrumented tests involving the MainProcessPanel of the stock media frontend.

This object contains ready-to-use Espresso, ViewInteractions and waiters for the main process panel of the stock media frontend, which shows what is playing when the media frontend is closed.

See TaskProcessPanelInteractions for interactions related to the now playing panel shown while browsing media.

Properties

Link copied to clipboard
val thatIsMediaMainProcessPanel: Matcher<View>

Matcher for the main process panel displaying media information.

Functions

Link copied to clipboard
fun tapMainProcessPanel(): ViewInteraction

ViewInteraction to tap the media main process panel, to open the expanded now playing panel.

Link copied to clipboard
fun waitForMainProcessPanel(exist: Boolean = true, visible: Boolean = true): ViewInteraction

ViewInteraction waiting for the main process panel of the media frontend to appear or disappear.