]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
toaster-tests: fix tests for latest Selenium version
authorElliot Smith <elliot.smith@intel.com>
Tue, 7 Jun 2016 15:37:28 +0000 (16:37 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 14 Jun 2016 10:08:58 +0000 (11:08 +0100)
commit571c2b70d3c123614618672ce7532bb5f4c36630
tree319ae3e140ffc12b9c85aa5f2e25b6f29c9438ad
parentf66ee686d4e3002a4a38a7424bcc605a6df9db0b
toaster-tests: fix tests for latest Selenium version

Previously, we didn't specify a specific version of Selenium.
When upgrading to Python 3 and installing Selenium to work with it,
the JS unit test broke, as the report format produced by Selenium
had changed.

Modify the test so that it works with the latest Selenium report
format.

Add a note to the README that the given Selenium version should
be used to prevent unexpected test failures.

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
lib/toaster/tests/browser/README
lib/toaster/tests/browser/test_js_unit_tests.py
lib/toaster/toastergui/static/js/tests/test.js