forked from zaclys/searxng
better error message when no results found
This commit is contained in:
parent
b6e3cf6ced
commit
a00e5d2d75
4 changed files with 22 additions and 3 deletions
|
|
@ -75,4 +75,4 @@ def test_search(browser):
|
|||
browser.visit(url)
|
||||
browser.fill('q', 'test search query')
|
||||
browser.find_by_xpath('//button[@type="submit"]').first.click()
|
||||
assert browser.is_text_present('didn\'t find any results')
|
||||
assert browser.is_text_present('No results were found')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue