wait_for_page_update has an 'expected_url' argument that you can use
to make the browser wait until it reaches an expected URL after a
redirect.
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
If test function takes significant time, this will ensure that we don't wait
more the requested wait time.
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
- Make browser actions independent of language
- Increase timeout for submit actions since actions like enable take too long on
slower machines
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
- Use Selenium's built-in waiting constructs to wait for page loads to complete
- Make tests independent of language (tested in Chinese)
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
- Rename Plinth-tester to FreedomBox
- Add pytest.ini to discover the root directory for tests easily
- Update README to say that py.test should be run from functional_tests
directory.
- Add geckodriver.log to .gitignore
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>