CollectionPanelInteractions

Interactions for instrumented tests involving the collection panel of the stock media frontend.

This object contains ready-to-use Espresso, ViewInteractions and waiters for the collection specific browsing panel of the stock media frontend.

See BrowsingInteractions for more interactions related to browsing other types of content.

Properties

Link copied to clipboard

Matcher for a MediaContentView displaying a collection while browsing a source.

Link copied to clipboard

Matcher for a follow/unfollow button which is shown in a collection panel. Used to follow or unfollow a collection.

Link copied to clipboard

Matcher for the play/pause button which is shown in a collection content view.

Link copied to clipboard

Matcher for a TtToastContainer displaying a collection items, artwork and metadata while browsing a source.

Functions

Link copied to clipboard

ViewInteraction to press the play/pause button which is shown in a collection content view.

Link copied to clipboard

ViewInteraction to press the follow/unfollow button which is shown in a collection panel.

Link copied to clipboard

ViewInteraction to expect the follow/unfollow button in a collection panel to be displayed.

Link copied to clipboard

ViewInteraction to expect the play/pause button shown in a collection content view to be in state inState.

Link copied to clipboard

ViewInteraction to expect a collection browsing panel to be displayed.