2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-17 15:26:23 +00:00

[fenix] For https://github.com/mozilla-mobile/fenix/issues/27522 refactor shortcutSearchEngineSettingsTest to setDefaultSearchEngineFromShortcut

This commit is contained in:
AndiAJ 2022-11-01 12:46:22 +02:00 committed by mergify[bot]
parent e4cb712d11
commit ef5a453740

View File

@ -142,7 +142,7 @@ class SearchTest {
} }
@Test @Test
fun shortcutSearchEngineSettingsTest() { fun setDefaultSearchEngineFromShortcutsTest() {
homeScreen { homeScreen {
}.openThreeDotMenu { }.openThreeDotMenu {
}.openSettings { }.openSettings {
@ -153,7 +153,15 @@ class SearchTest {
}.openSearch { }.openSearch {
scrollToSearchEngineSettings(activityTestRule) scrollToSearchEngineSettings(activityTestRule)
}.clickSearchEngineSettings(activityTestRule) { }.clickSearchEngineSettings(activityTestRule) {
verifySearchToolbar() changeDefaultSearchEngine("DuckDuckGo")
}
exitMenu()
homeScreen {
}.openSearch {
}.submitQuery("firefox") {
verifyUrl("duckduckgo.com/?q=firefox")
} }
} }