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
@IviExperimental(reasons = [])
object BrowsingInteractions

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

Link copied to clipboard
@IviExperimental(reasons = [])
object DashboardInteractions

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

Link copied to clipboard
@IviExperimental(reasons = [])
object ExpandedProcessPanelInteractions

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

Link copied to clipboard
@IviExperimental(reasons = [])
object MainProcessPanelInteractions

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

Link copied to clipboard
@IviExperimental(reasons = [])
object MediaFrontendInteractions

Interactions for instrumented tests generally involving the stock media frontend.

Link copied to clipboard
@IviExperimental(reasons = [])
object PlaylistPanelInteractions

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

Link copied to clipboard
@IviExperimental(reasons = [])
object SearchPanelInteractions

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

Link copied to clipboard
@IviExperimental(reasons = [])
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
Link copied to clipboard
@RequiresApi(value = 28)
@IviExperimental(reasons = [])
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.