diff --git a/app/extensions/brave/index-dev.html b/app/extensions/brave/index-dev.html index 17dff0c9e3e..d7cbd8e9126 100644 --- a/app/extensions/brave/index-dev.html +++ b/app/extensions/brave/index-dev.html @@ -7,7 +7,7 @@ - + Brave diff --git a/app/extensions/brave/index.html b/app/extensions/brave/index.html index eba8b9b80a8..f8d17f88d9a 100644 --- a/app/extensions/brave/index.html +++ b/app/extensions/brave/index.html @@ -7,7 +7,7 @@ - + Brave diff --git a/test/navbar-components/urlBarSuggestionsTest.js b/test/navbar-components/urlBarSuggestionsTest.js index 33f63e1ca8e..22c6bdc29ef 100644 --- a/test/navbar-components/urlBarSuggestionsTest.js +++ b/test/navbar-components/urlBarSuggestionsTest.js @@ -254,4 +254,25 @@ describe('search suggestions', function () { }) }) }) + + it('Can load search suggestions from non-default search provider', function * () { + yield this.app.client.changeSetting(settings.DEFAULT_SEARCH_ENGINE, 'DuckDuckGo') + .newTab() + .waitForUrl(Brave.newTabUrl) + .windowByUrl(Brave.browserWindowUrl) + .waitForExist('[data-test-active-tab][data-frame-key="2"]') + .waitForElementFocus(urlInput) + const input = 'what is' + for (let i = 0; i < input.length; i++) { + yield this.app.client + .keys(input[i]) + .pause(50) + } + yield this.app.client + .waitForVisible(urlBarSuggestions) + .keys(Brave.keys.DOWN) + .waitForExist(urlBarSuggestions + ' [data-test-id="list-item"][data-index="0"][data-test2-id="notSelected"]') + .keys(Brave.keys.ENTER) + .waitForInputText(urlInput, /duckduckgo.*\/.*q=what.+is/) + }) })