Package com.tomtom.ivi.platform.mainmenu.api.testing.frontend

Types

Link copied to clipboard
data class MainMenuButton(val title: String)

A reference to a button in TomTom Digital Cockpit's main menu. Used by functional tests to identify menu items, for example to click on when using onMainMenuView.

Functions

Link copied to clipboard
fun IviServiceAwareTestCase.addDummyMenuItem()
Link copied to clipboard
fun getDummyMenuItemTitleView(): Matcher<View>
Link copied to clipboard
fun getMainMenuButtonLabelView(index: Int): Matcher<View>
Link copied to clipboard
fun onMainMenuView(mainMenuButton: MainMenuButton): ViewInteraction
Link copied to clipboard
fun waitForMainMenuButtonIsDisplayed(mainMenuButton: MainMenuButton, timeoutMs: Long = DEFAULT_WAIT_FOR_MAIN_MENU_BUTTON_TIMEOUT_MS)
Link copied to clipboard
fun waitForMainMenuView(mainMenuButton: MainMenuButton): ViewInteraction
Link copied to clipboard
fun waitForMenuView(mainMenuItem: MenuItem, rootMatcher: Matcher<Root>? = null): ViewInteraction