diff options
author | Varac <varac@leap.se> | 2017-06-09 09:40:55 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2017-07-20 12:34:33 +0200 |
commit | d6abd906cb64ae68eed3348eba521bc44ebed7b2 (patch) | |
tree | fadf7d8270106a628c31b1f7017f343a94f311f0 /tests/docker/Dockerfile | |
parent | c81b98df15e3d2006c991c9ca9d86500e3599e9b (diff) |
[test] Add basic functional login test
* Move todo list to https://0xacab.org/leap/bitmask-dev/issues/8929
* use bundled pysqlcipher - debian package has not been fixed yet.
* reset bitmaskd for each scenario so they are isolated
* run functional tests on CI
* moved e2e tests before the bundle
* add test_functional_graphical Make target
* Install chromedriver in docker image
* add screenshots as artifacts on failure
* run chrome without sandbox for docker
Tests were failing on CI with chrome sandbox:
https://0xacab.org/leap/bitmask-dev/-/jobs/15196
Used this workaround:
https://stackoverflow.com/questions/28364012/webdriver-exception-chrome-not-reachable/28949227#28949227
- Resolves: #8929
Diffstat (limited to 'tests/docker/Dockerfile')
-rw-r--r-- | tests/docker/Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/docker/Dockerfile b/tests/docker/Dockerfile index 4dfeab3..876ba1d 100644 --- a/tests/docker/Dockerfile +++ b/tests/docker/Dockerfile @@ -15,3 +15,5 @@ RUN apt-get -y install build-essential python-virtualenv libpython-dev \ openvpn policykit-1 lxpolkit \ wget patchelf libusb-0.1-4 \ docker.io \ + xvfb chromium-chromedriver +RUN ln -s /usr/lib/chromium-browser/chromedriver /usr/local/bin/chromedriver |