BrowsingInteractions
Interactions for instrumented tests involving the panels to browse media of the stock media frontend.
This object contains ready-to-use Espresso, ViewInteractions and waiters for media browsing panels of the stock media frontend, such as the root browsing panel with category tabs.
See SearchPanelInteractions and CollectionPanelInteractions for more interactions related to browsing.
Properties
Matcher for any MediaContentView displayed while browsing a source.
Matcher for a MediaContentView displaying normal browsable content (e.g. not a playlist) while browsing a source.
Matcher for a TtEmptyStateView meaning that there is no content while browsing a source.
Matcher for a 'search' button in the root browsing panel of a source. Used to open the search panel.
Matcher for a 'settings' button in the root browsing panel of a source. Used to open the settings of a source.
Functions
ViewInteraction to browse to the browsable media item with title, such as an album or playlist, which is currently shown by any MediaContentView.
ViewInteraction to select a tab in the root browsing panel of a source.
ViewInteraction to tap a 'search' button in the root browsing panel of a source.
ViewInteraction to tap a 'search' button in the root browsing panel of a source.
Matcher for a tab withName shown in the root browsing panel of a source.
Matcher for any media item container, displayed inside a MediaContentView, whose title is title.
Matcher for any media item container, displayed inside a MediaContentView, whose title contains substring.
Helper method to expect specific tab names and a selectedIndex in the root browsing panel of a source.
ViewInteraction to expect no content available while browsing a source.
ViewInteraction to expect any type of media browsing panel to be displayed.