[Toaster] [PATCH 0/5] Migrate Toaster tests to Selenium
Elliot Smith
elliot.smith at intel.com
Wed Mar 16 06:10:29 PDT 2016
As discussed in the Toaster public meeting, migrate the Django UI tests to
Selenium.
(Note that the build dashboard tests have not been migrated, as this is covered
in another branch I have which is pending submission.)
Also add a sample testcase to use as a template for future tests
(test_sample.py).
See bitbake/lib/toaster/tests_browser/README for instructions on running the
tests.
Changes since d6887a7 (toaster-next) are in
git://git.yoctoproject.org/poky-contrib, elliot/toaster/migrate_tests_to_selenium
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=elliot/toaster/migrate_tests_to_selenium
Elliot Smith (5):
toaster-tests: migrate to Selenium for UI tests
toaster-tests: migrate all builds page and project page tests to
Selenium
toaster-tests: migrate project builds page tests to Selenium
toaster-tests: migrate all projects page tests to Selenium
toaster-tests: migrate landing page tests to Selenium
bitbake/lib/toaster/tests_browser/README | 41 ++
bitbake/lib/toaster/tests_browser/__init__.py | 0
.../lib/toaster/tests_browser/selenium_helpers.py | 200 ++++++++
.../toaster/tests_browser/test_all_builds_page.py | 143 ++++++
.../tests_browser/test_all_projects_page.py | 214 ++++++++
.../lib/toaster/tests_browser/test_landing_page.py | 108 ++++
.../tests_browser/test_project_builds_page.py | 168 +++++++
.../lib/toaster/tests_browser/test_project_page.py | 59 +++
bitbake/lib/toaster/tests_browser/test_sample.py | 41 ++
bitbake/lib/toaster/toastergui/tests.py | 544 ---------------------
bitbake/toaster-requirements.txt | 1 +
11 files changed, 975 insertions(+), 544 deletions(-)
create mode 100644 bitbake/lib/toaster/tests_browser/README
create mode 100644 bitbake/lib/toaster/tests_browser/__init__.py
create mode 100644 bitbake/lib/toaster/tests_browser/selenium_helpers.py
create mode 100644 bitbake/lib/toaster/tests_browser/test_all_builds_page.py
create mode 100644 bitbake/lib/toaster/tests_browser/test_all_projects_page.py
create mode 100644 bitbake/lib/toaster/tests_browser/test_landing_page.py
create mode 100644 bitbake/lib/toaster/tests_browser/test_project_builds_page.py
create mode 100644 bitbake/lib/toaster/tests_browser/test_project_page.py
create mode 100644 bitbake/lib/toaster/tests_browser/test_sample.py
--
Elliot Smith
Software Engineer
Intel OTC
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
More information about the toaster
mailing list