Difference between revisions of "Sahara/UItests"
(Savanna Dashboard Selenium Tests) |
(→Main goal of Selenium Tests:) |
||
Line 1: | Line 1: | ||
===Main goal of Selenium Tests:=== | ===Main goal of Selenium Tests:=== | ||
− | Selenium tests for Savanna Dashboard designed to check the quality of plug-in Savanna Dashboard for the Horizon. | + | Selenium tests for Savanna Dashboard designed to check the quality of plug-in [https://github.com/openstack/savanna-dashboard Savanna Dashboard] for the [https://github.com/openstack/horizon Horizon]. |
− | |||
=== How to run UI tests: === | === How to run UI tests: === |
Revision as of 13:55, 20 November 2013
Main goal of Selenium Tests:
Selenium tests for Savanna Dashboard designed to check the quality of plug-in Savanna Dashboard for the Horizon.
How to run UI tests:
It 's assumed that the savanna and horizon is already installed and running. Information for installation and start of savanna and horizon can be found on a savanna site in tabs Savanna Installation Guide and Savanna UI Installation Guide. Go to savanna dashboard path. Create config file for selenium tests - `savannadashboard/tests/configs/config.py`. You can take a look at the sample config file - `savannadashboard/tests/configs/config.py.sample`. All values used in `savannadashboard/tests/configs/parameters.py` file are defaults, so, if they are applicable for your environment then you can skip config file creation. Install virtual framebuffer X server for X Version 11 (Xvfb): sudo apt-get -y install xvfb Install Firefox: sudo add-apt-repository ppa:ubuntu-mozilla-security/ppa sudo apt-get update sudo apt-get install firefox libstdc++5 To run ui tests you should use the corresponding tox env: `tox -e tests`. If need to run only one test module, use: tox -e tests -- -a tags='<module_name>' <module_name> may be equal 'cluster', 'cluster_template', 'image_registry', 'node_group_template' or 'image_registry'
Coverage:
- Clusters
- Cluster templates
- Node group templates
- Image registry
- Data sources
- Job binaries
- Jobs
- Job executions