mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-19 09:25:34 +00:00
[fenix] For https://github.com/mozilla-mobile/fenix/issues/26286 new privateHomeThreeDotMenuItemsTest UI test
This commit is contained in:
parent
4373d425ef
commit
0e71a1570b
@ -87,4 +87,55 @@ class ThreeDotMenuMainTest {
|
|||||||
verifySettingsView()
|
verifySettingsView()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Verifies the list of items in the homescreen's 3 dot main menu in private browsing
|
||||||
|
@Test
|
||||||
|
fun privateHomeThreeDotMenuItemsTest() {
|
||||||
|
homeScreen {
|
||||||
|
}.togglePrivateBrowsingMode()
|
||||||
|
homeScreen {
|
||||||
|
}.openThreeDotMenu {
|
||||||
|
verifyHomeThreeDotMainMenuItems(isRequestDesktopSiteEnabled = false)
|
||||||
|
}.openBookmarks {
|
||||||
|
verifyBookmarksMenuView()
|
||||||
|
}.goBack {
|
||||||
|
}.openThreeDotMenu {
|
||||||
|
}.openHistory {
|
||||||
|
verifyHistoryMenuView()
|
||||||
|
}.goBack {
|
||||||
|
}.openThreeDotMenu {
|
||||||
|
}.openDownloadsManager {
|
||||||
|
verifyEmptyDownloadsList()
|
||||||
|
}.goBack {
|
||||||
|
}.openThreeDotMenu {
|
||||||
|
}.openAddonsManagerMenu {
|
||||||
|
verifyAddonsItems()
|
||||||
|
}.goBack {
|
||||||
|
}.openThreeDotMenu {
|
||||||
|
}.openSyncSignIn {
|
||||||
|
verifyTurnOnSyncMenu()
|
||||||
|
}.goBack {
|
||||||
|
// Desktop toggle
|
||||||
|
}.openThreeDotMenu {
|
||||||
|
}.switchDesktopSiteMode {
|
||||||
|
}
|
||||||
|
homeScreen {
|
||||||
|
}.openThreeDotMenu {
|
||||||
|
verifyDesktopSiteModeEnabled(isRequestDesktopSiteEnabled = true)
|
||||||
|
}.openWhatsNew {
|
||||||
|
verifyWhatsNewURL()
|
||||||
|
}.goToHomescreen {
|
||||||
|
}.openThreeDotMenu {
|
||||||
|
}.openHelp {
|
||||||
|
verifyHelpUrl()
|
||||||
|
}.goToHomescreen {
|
||||||
|
}.openThreeDotMenu {
|
||||||
|
}.openCustomizeHome {
|
||||||
|
verifyHomePageView()
|
||||||
|
}.goBack {
|
||||||
|
}.openThreeDotMenu {
|
||||||
|
}.openSettings {
|
||||||
|
verifySettingsView()
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user