Package com.tomtom.ivi.appsuite.media.api.testing.frontend

This package contains Espresso actions, matchers and waiters to access the media frontend UI in functional tests.

Types

Link copied to clipboard
object BrowsingInteractions

Interactions for instrumented tests involving the panels to browse media of the stock media frontend.

Link copied to clipboard
object DashboardInteractions

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

Link copied to clipboard
object ExpandedProcessPanelInteractions

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

Link copied to clipboard
object MainProcessPanelInteractions

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

Link copied to clipboard
object MediaFrontendInteractions

Interactions for instrumented tests generally involving the stock media frontend.

Link copied to clipboard
object PlaylistPanelInteractions

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

Link copied to clipboard
object SearchPanelInteractions

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

Link copied to clipboard
object TaskProcessPanelInteractions

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

Functions

Link copied to clipboard
fun clickDisplayedView(matcher: Matcher<View>): ViewInteraction

ViewInteraction to tap on a matcher, ensuring that the view is visible before performing the click action.

Link copied to clipboard
fun playbackStateViewAssertion(playbackState: IviPlaybackState): ViewAssertion

ViewAssertion for a PlayPauseMediaControl showing in playbackState.

Link copied to clipboard
@RequiresApi(value = 28)
fun FrontendTestCase.tapMediaMenuItem()

Frontend test helper to tap on the 'Media' menu item.

Link copied to clipboard
fun waitForDisplayedView(matcher: Matcher<View>): ViewInteraction

ViewInteraction to wait on a matcher to be effectively visible. See ViewMatchers.withEffectiveVisibility for more information on effective visibility.