Permalink
Browse files

Make it flaky

  • Loading branch information...
1 parent a6d8944 commit 35726a64c7114811b5ae63a6e1082b5d3c910ae0 @miohtama miohtama committed Nov 19, 2016
Showing with 7 additions and 3 deletions.
  1. +3 −0 CONTRIBUTING.rst
  2. +2 −1 setup.py
  3. +2 −2 tox.ini
View
@@ -49,6 +49,9 @@ Functional tests
All features must be covered by functional tests and have example use.
+.. warning::
+
+ Fun fact: Functional tests behave differently depending on if you are looking the browser window or not.
Preparing compatible browser
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
View
@@ -40,7 +40,8 @@
testing_extras = [
'nose',
'coverage',
- 'beautifulsoup4'
+ 'beautifulsoup4',
+ 'flaky'
]
# Needed to run deformdemo tests
View
@@ -73,7 +73,7 @@ passenv = WEBDRIVER DISPLAY FIREFOX_PATH
basepython = python2.7
commands =
pip install deform[testing,functional]
- ./run-selenium-tests.bash {posargs}
+ ./run-selenium-tests.bash --with-flaky --max-runs=4 {posargs}
[testenv:functional3]
@@ -82,5 +82,5 @@ passenv = WEBDRIVER DISPLAY FIREFOX_PATH
basepython = python3.5
commands =
pip install deform[testing,functional]
- ./run-selenium-tests.bash {posargs}
+ ./run-selenium-tests.bash --with-flaky --max-runs=4 {posargs}

0 comments on commit 35726a6

Please sign in to comment.