Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Commit

Permalink
Bump splinter from 0.17.0 to 0.18.1 (#3307)
Browse files Browse the repository at this point in the history
* 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](cobrateam/splinter@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>
  • Loading branch information
3 people committed Jul 31, 2022
1 parent b88db54 commit 296e0d9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 7 additions & 7 deletions tests/robot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
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):
Expand All @@ -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')

Expand All @@ -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()
Expand All @@ -47,15 +47,15 @@ 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


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()
Expand All @@ -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')


Expand Down

0 comments on commit 296e0d9

Please sign in to comment.