Skip to content
Snippets Groups Projects
Verified Commit fe2eabc8 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

[CI] Enable Selenium tests

parent 15677645
No related branches found
No related tags found
No related merge requests found
Pipeline #399 passed with warnings
......@@ -8,6 +8,7 @@ stages:
variables:
GIT_SUBMODULE_STRATEGY: recursive
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
FF_NETWORK_PER_BUILD: "true"
cache:
key:
......@@ -20,11 +21,20 @@ cache:
test:
stage: test
services:
- name: selenium/standalone-firefox
alias: selenium
before_script:
- adduser --disabled-password --gecos "Test User" testuser
script:
- sudo -u testuser tox -e py38 -- --junitxml=.tox/junit.xml
- sudo -u testuser
env TEST_SELENIUM_HUB=http://selenium:4444/wd/hub
TEST_SELENIUM_BROWSERS=firefox
TEST_HOST=build
tox -e selenium -- --junitxml=.tox/junit.xml
artifacts:
paths:
- .tox/screenshots
reports:
junit: .tox/junit.xml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment