[PATCH 0/6] Selenium tests
Damien Lespiau
damien.lespiau at intel.com
Wed Sep 23 02:11:43 AEST 2015
Note that these patches depend on the re-design work.
This series adds Selenium (http://www.seleniumhq.org/) support in the form of a
base class for Selenenium tests and a couple of tests. We can now test client
side code and behaviour. As an example I've added coverage for the newly added
"focus username input field on page load" patch.
It took a few attempts to have all this running fine on a headless Jenkins
server, but it now seems running smoothy in the last few runs.
The biggest gotcha was one of the tests changing setting.STATIC_URL globally.
--
Damien
Damien Lespiau (6):
tests: Remove a spurious new line
tests: Use --noinput when running tests
tests: Don't change settings.STATIC_URL in the XML-RPC tests
tests: Add a couple of Selenium tests
tests: Add a way for the user to skip selenium tests
tox: Use a range of ports for live servers in case of concurrent runs
.gitignore | 4 +
docs/requirements-dev.txt | 1 +
patchwork/tests/browser.py | 164 +++++++++++++++++++++++++++++++++++
patchwork/tests/test_user_browser.py | 38 ++++++++
patchwork/tests/test_xmlrpc.py | 1 -
patchwork/tests/utils.py | 1 -
tox.ini | 7 +-
7 files changed, 211 insertions(+), 5 deletions(-)
create mode 100644 patchwork/tests/browser.py
create mode 100644 patchwork/tests/test_user_browser.py
--
2.1.0
More information about the Patchwork
mailing list