~canonical-platform-qa/snappy-ecosystem-tests/fixing_ci

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
How to setup and execute snappy ecosystem tests

Please make sure you have following dependencies installed
1. Python version >= 3.5
2. nosetests >= 1.3.7
3. xmlrunner >= 1.7.7
4. geckodriver webdriver for Firefox >= 0.13.0
5. chromedriver webdriver for Chrome >= 2.27

Make sure webdrivers are added to $PATH

To run the tests checkout the branch follow the below steps

$ bzr branch lp:snappy-ecosystem-tests
$ cd snappy-ecosystem-tests/
$ export UBUNTU_STORE_LOGIN_EMAIL=<store account email>
$ export UBUNTU_STORE_LOGIN_PASSWORD=<store account password>
$ export STAGING=<1 or 0>, To test against staging or production server respectively
$ nosetests --with-xunit