Instead of unconditionally enabling Selenium tests for the py311-dj42-postgresql tox environment, enable them by default for that environment but allow them to be disabled if the user's DJANGO_SELENIUM_TESTS environment variable is empty. This will allow the user to run
DJANGO_SELENIUM_TESTS= tox
to run the full tox test suite with Selenium tests disabled.
Checklist:
[ ] I have added the relevant tests for this change.
[ ] I have added an item to the Pending section of docs/changes.rst.
Description
This is a follow-up to #1892.
Instead of unconditionally enabling Selenium tests for the
py311-dj42-postgresql
tox environment, enable them by default for that environment but allow them to be disabled if the user'sDJANGO_SELENIUM_TESTS
environment variable is empty. This will allow the user to runto run the full tox test suite with Selenium tests disabled.
Checklist:
docs/changes.rst
.