Skip to content

Commit

Permalink
scroll into view + perform + sleep (#127)
Browse files Browse the repository at this point in the history
* bootstrap5

* update ci py version

* update tox python version

* update tox python version

* use , sperator in tox passenv

* use allowlist_externals

* add './' in allowlist_externals

* pin selenium version

* fix select2 test

* fix select2 test

* fix select2 multiple test

* fix select2 multiple test

* fix select2 X test

* fix selenium tests

* fix linting && use new python, pypy version

* fix flake8

* fix restructured text https://stackoverflow.com/a/39720161/1154966 does not work

* fix unofficial-deformdemo (it never worked)

* removed six; reactivated validation (do we still need it?)

* make isort happy

* update python version in docs, setup.py; added me to contributors

* list specific python versions; update ci python setup

* fix multi select test

* scroll into view

* scroll into view add sleep and perform; add firefox local
  • Loading branch information
delijati authored Nov 15, 2023
1 parent 8ae6b22 commit e337f80
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion deformdemo/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,12 @@ def setUpModule():
browser = Chrome()
return browser

elif driver_name == "selenium_local_firefox":
from selenium.webdriver import Firefox

browser = Firefox()
return browser

elif driver_name == "selenium_container_chrome":
from selenium_containers import start_chrome

Expand Down Expand Up @@ -3372,7 +3378,8 @@ def test_submit_complex_interaction(self):
persons[0], 0, seq_height * 1.5
).perform()

action_chains_on_id("deformsubmit").click()
action_chains_on_id("deformsubmit").click().perform()
time.sleep(0.2)

# sequences should be in reversed order
inputs = findxpaths('//input[@name="name"]')
Expand Down

0 comments on commit e337f80

Please sign in to comment.