75426a1bdd
Added selenium tests for savanna-dashboard Implements blueprint savanna-dashboard-ui-tests Change-Id: I8b57a3339aa4b30750b9ec7b7ebcf9a340fd2d57 |
||
---|---|---|
.. | ||
cluster_template_tests | ||
cluster_tests | ||
configs | ||
image_registry_tests | ||
node_group_template_tests | ||
README.rst | ||
__init__.py | ||
base.py |
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.