mirror of
https://github.com/searx/searx
synced 2024-11-24 02:39:26 +01:00
Bump splinter from 0.17.0 to 0.18.1 (#3307)
* Bump splinter from 0.17.0 to 0.18.1 Bumps [splinter](https://github.com/cobrateam/splinter) from 0.17.0 to 0.18.1. - [Release notes](https://github.com/cobrateam/splinter/releases) - [Changelog](https://github.com/cobrateam/splinter/blob/master/docs/news.rst) - [Commits](https://github.com/cobrateam/splinter/compare/0.17.0...0.18.1) --- updated-dependencies: - dependency-name: splinter dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Noémi Ványi <kvch@users.noreply.github.com> Co-authored-by: Noémi Ványi <sitbackandwait@gmail.com>
This commit is contained in:
parent
b88db54a0b
commit
296e0d9cf9
@ -3,10 +3,10 @@ nose2[coverage_plugin]==0.10.0
|
||||
cov-core==1.15.0
|
||||
pycodestyle==2.8.0
|
||||
pylint==2.14.5
|
||||
splinter==0.17.0
|
||||
splinter==0.18.1
|
||||
transifex-client==0.14.3; python_version < '3.10'
|
||||
transifex-client==0.12.1; python_version == '3.10'
|
||||
selenium==4.1.0
|
||||
selenium==4.3.0
|
||||
twine==4.0.1
|
||||
Pallets-Sphinx-Themes==2.0.2
|
||||
docutils==0.16
|
||||
|
@ -8,7 +8,7 @@ url = "http://localhost:11111/"
|
||||
def test_index(browser):
|
||||
# Visit URL
|
||||
browser.visit(url)
|
||||
assert browser.is_text_present('about')
|
||||
assert browser.is_text_present('searx')
|
||||
|
||||
|
||||
def test_404(browser):
|
||||
@ -19,13 +19,13 @@ def test_404(browser):
|
||||
|
||||
def test_about(browser):
|
||||
browser.visit(url)
|
||||
browser.click_link_by_text('about')
|
||||
browser.links.find_by_href('/about').click()
|
||||
assert browser.is_text_present('Why use searx?')
|
||||
|
||||
|
||||
def test_preferences(browser):
|
||||
browser.visit(url)
|
||||
browser.click_link_by_text('preferences')
|
||||
browser.links.find_by_href('/preferences').click()
|
||||
assert browser.is_text_present('Preferences')
|
||||
assert browser.is_text_present('Cookies')
|
||||
|
||||
@ -34,7 +34,7 @@ def test_preferences(browser):
|
||||
|
||||
def test_preferences_engine_select(browser):
|
||||
browser.visit(url)
|
||||
browser.click_link_by_text('preferences')
|
||||
browser.links.find_by_href('/preferences').click()
|
||||
|
||||
assert browser.is_element_present_by_xpath('//a[@href="#tab_engine"]')
|
||||
browser.find_by_xpath('//a[@href="#tab_engine"]').first.click()
|
||||
@ -47,7 +47,7 @@ def test_preferences_engine_select(browser):
|
||||
sleep(1)
|
||||
|
||||
browser.visit(url)
|
||||
browser.click_link_by_text('preferences')
|
||||
browser.links.find_by_href('/preferences').click()
|
||||
browser.find_by_xpath('//a[@href="#tab_engine"]').first.click()
|
||||
|
||||
assert browser.find_by_xpath('//input[@id="engine_general_dummy__general"]').first.checked
|
||||
@ -55,7 +55,7 @@ def test_preferences_engine_select(browser):
|
||||
|
||||
def test_preferences_locale(browser):
|
||||
browser.visit(url)
|
||||
browser.click_link_by_text('preferences')
|
||||
browser.links.find_by_href('/preferences').click()
|
||||
|
||||
browser.select('locale', 'hu')
|
||||
browser.find_by_xpath('//input[@value="save"]').first.click()
|
||||
@ -64,7 +64,7 @@ def test_preferences_locale(browser):
|
||||
sleep(1)
|
||||
|
||||
browser.visit(url)
|
||||
browser.click_link_by_text('beállítások')
|
||||
browser.links.find_by_text('beállítások').click()
|
||||
browser.is_text_present('Beállítások')
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user