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:
parent
e4cb712d11
commit
ef5a453740
@ -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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user