diff options
Diffstat (limited to 'tests/functional/README.md')
-rw-r--r-- | tests/functional/README.md | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/tests/functional/README.md b/tests/functional/README.md index 9405d8e..652de1c 100644 --- a/tests/functional/README.md +++ b/tests/functional/README.md @@ -20,7 +20,7 @@ Setup your virtualenv and python packages: virtualenv venv-all source ./venv-all/bin/activate - make dev-all + make dev-latest-all make test_functional_setup ## Run tests @@ -29,6 +29,18 @@ Setup your virtualenv and python packages: export TEST_USERNAME='user@provider.tld' TEST_PASSWORD='...' make test_functional +## Run tests inside docker with gitlab-runner + +Install Docker and [gitlab-runner](https://docs.gitlab.com/runner/). +Run the `functional_tests` job: + + gitlab-runner exec docker \ + --docker-volumes /tmp/bitmask-test/artifacts:/tmp/bitmask-test/artifacts \ + --env TEST_USERNAME='...' --env TEST_PASSWORD='...'\ + functional_tests + +In case of failing tests the resulting artifacts (screenshot, `.config` folder) will be available at `/tmp/bitmask-test/artifacts` on the host. + # Develop tests When tests are run using `make test_functional` no window shows you what the browser sees. |