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

[Tests] Add selenium testenv with sane defaults for local Selenium hub

parent 656eac5d
No related branches found
No related tags found
No related merge requests found
...@@ -13,11 +13,13 @@ commands = ...@@ -13,11 +13,13 @@ commands =
poetry run python manage.py yarn install poetry run python manage.py yarn install
poetry run python manage.py collectstatic --no-input --clear poetry run python manage.py collectstatic --no-input --clear
poetry run pytest --cov=biscuit {posargs} biscuit/core/ poetry run pytest --cov=biscuit {posargs} biscuit/core/
passenv =
TEST_SCREENSHOT_PATH [testenv:selenium]
TEST_SELENIUM_HUB setenv =
TEST_SELENIUM_BROWSERS TEST_SCREENSHOT_PATH = {env:TEST_SCREENSHOT_PATH:.tox/screenshots}
TEST_HOST TEST_SELENIUM_HUB = {env:TEST_SELENIUM_HUB:http://127.0.0.1:4444/wd/hub}
TEST_SELENIUM_BROWSERS = {env:TEST_SELENIUM_BROWSERS:chrome,firefox}
TEST_HOST = {env:TEST_HOST:172.17.0.1}
[testenv:lint] [testenv:lint]
commands = commands =
......
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