diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2022-06-17 07:19:07 +0000 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2022-06-18 08:10:33 +0200 |
commit | 880378f48d78e65fd1ed37c797ba7145823cd588 (patch) | |
tree | 19a0cfc27c3a7bc728c64736f106b6ebbdda6c95 /tests | |
parent | 4f90b93e1d940b940e014e2fe26558040939464b (diff) | |
download | searxng-880378f48d78e65fd1ed37c797ba7145823cd588.tar.gz searxng-880378f48d78e65fd1ed37c797ba7145823cd588.zip |
Bump splinter from 0.17.0 to 0.18.0
Bumps [splinter](https://github.com/cobrateam/splinter) from 0.17.0 to 0.18.0.
- [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.0)
---
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: Alexandre Flament <alex@al-f.net>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/robot/test_webapp.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/robot/test_webapp.py b/tests/robot/test_webapp.py index 1009c6b70..605592648 100644 --- a/tests/robot/test_webapp.py +++ b/tests/robot/test_webapp.py @@ -21,13 +21,13 @@ def test_404(browser): def test_about(browser): browser.visit(url) - browser.click_link_by_text('searxng') + browser.links.find_by_text('searxng').click() assert browser.is_text_present('Why use it?') def test_preferences(browser): browser.visit(url) - browser.click_link_by_href('/preferences') + browser.links.find_by_href('/preferences').click() assert browser.is_text_present('Preferences') assert browser.is_text_present('COOKIES') @@ -36,7 +36,7 @@ def test_preferences(browser): def test_preferences_engine_select(browser): browser.visit(url) - browser.click_link_by_href('/preferences') + browser.links.find_by_href('/preferences').click() assert browser.is_element_present_by_xpath('//label[@for="tab-engines"]') browser.find_by_xpath('//label[@for="tab-engines"]').first.click() @@ -49,7 +49,7 @@ def test_preferences_engine_select(browser): sleep(1) browser.visit(url) - browser.click_link_by_href('/preferences') + browser.links.find_by_href('/preferences').click() browser.find_by_xpath('//label[@for="tab-engines"]').first.click() assert browser.find_by_xpath('//input[@id="engine_general_dummy__general"]').first.checked @@ -57,7 +57,7 @@ def test_preferences_engine_select(browser): def test_preferences_locale(browser): browser.visit(url) - browser.click_link_by_href('/preferences') + browser.links.find_by_href('/preferences').click() browser.find_by_xpath('//label[@for="tab-ui"]').first.click() browser.select('locale', 'fr') @@ -67,7 +67,7 @@ def test_preferences_locale(browser): sleep(1) browser.visit(url) - browser.click_link_by_href('/preferences') + browser.links.find_by_href('/preferences').click() browser.is_text_present('Préférences') |