Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Fix test caused by google search encoding difference
Browse files Browse the repository at this point in the history
Auditors: @bsclifton

The new regex will accept both + and %20 for spaces
  • Loading branch information
bbondy committed Jan 27, 2017
1 parent 8ca0127 commit d40c4f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/components/urlBarSuggestionsTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,6 @@ describe('search suggestions', function () {
.keys(Brave.keys.DOWN)
.waitForExist(urlBarSuggestions + ' li.suggestionItem[data-index="0"]:not(.selected)')
.keys(Brave.keys.ENTER)
.waitForInputText(urlInput, /google.*\/.*q=what\+is/)
.waitForInputText(urlInput, /google.*\/.*q=what.+is/)
})
})

0 comments on commit d40c4f7

Please sign in to comment.