23 lines
754 B
ReStructuredText
23 lines
754 B
ReStructuredText
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`.
|
|
|