You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iceraven-browser/app/src/main/java/org/mozilla/fenix/tabstray/TabsTrayTestTag.kt

48 lines
1.9 KiB
Kotlin

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.mozilla.fenix.tabstray
internal object TabsTrayTestTag {
const val tabsTray = "tabstray"
// Tabs Tray Banner
private const val bannerTestTagRoot = "$tabsTray.banner"
const val bannerHandle = "$bannerTestTagRoot.handle"
const val normalTabsPageButton = "$bannerTestTagRoot.normalTabsPageButton"
const val normalTabsCounter = "$normalTabsPageButton.counter"
const val privateTabsPageButton = "$bannerTestTagRoot.privateTabsPageButton"
const val syncedTabsPageButton = "$bannerTestTagRoot.syncedTabsPageButton"
const val selectionCounter = "$bannerTestTagRoot.selectionCounter"
const val collectionsButton = "$bannerTestTagRoot.collections"
// Tabs Tray Banner three dot menu
const val threeDotButton = "$bannerTestTagRoot.threeDotButton"
const val accountSettings = "$threeDotButton.accountSettings"
const val closeAllTabs = "$threeDotButton.closeAllTabs"
const val recentlyClosedTabs = "$threeDotButton.recentlyClosedTabs"
const val selectTabs = "$threeDotButton.selectTabs"
const val shareAllTabs = "$threeDotButton.shareAllTabs"
const val tabSettings = "$threeDotButton.tabSettings"
// FAB
const val fab = "$tabsTray.fab"
// Tab lists
private const val tabListTestTagRoot = "$tabsTray.tabList"
const val normalTabsList = "$tabListTestTagRoot.normal"
const val privateTabsList = "$tabListTestTagRoot.private"
const val syncedTabsList = "$tabListTestTagRoot.synced"
const val emptyNormalTabsList = "$normalTabsList.empty"
const val emptyPrivateTabsList = "$privateTabsList.empty"
// Tab items
const val tabItemRoot = "$tabsTray.tabItem"
const val tabItemClose = "$tabItemRoot.close"
const val tabItemThumbnail = "$tabItemRoot.thumbnail"
}