sahara-dashboard/savannadashboard/tests
Vadim Rovachev 75426a1bdd Added UI tests
Added selenium tests for savanna-dashboard

Implements blueprint savanna-dashboard-ui-tests

Change-Id: I8b57a3339aa4b30750b9ec7b7ebcf9a340fd2d57
2013-09-23 16:27:44 +04:00
..
cluster_template_tests Added UI tests 2013-09-23 16:27:44 +04:00
cluster_tests Added UI tests 2013-09-23 16:27:44 +04:00
configs Added UI tests 2013-09-23 16:27:44 +04:00
image_registry_tests Added UI tests 2013-09-23 16:27:44 +04:00
node_group_template_tests Added UI tests 2013-09-23 16:27:44 +04:00
README.rst Added UI tests 2013-09-23 16:27:44 +04:00
__init__.py Added UI tests 2013-09-23 16:27:44 +04:00
base.py Added UI tests 2013-09-23 16:27:44 +04:00

README.rst

UI tests for Savanna dashboard

How to run

Create config file for selenium tests - /savannadashboard/tests/configs/config.conf. You can take a look at the sample config file - /savannadashboard/tests/configs/config.conf.sample. All values used in /savannadashboard/tests/configs/config.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.