Skip to content

Commit

Permalink
Clarify "test_visible" setting in environment.json
Browse files Browse the repository at this point in the history
Make sure "test_visible": false runs automated tests in HEADLESS mode and  "test_visible": false runs automated tests with Chromium visible.
  • Loading branch information
gregelin committed Jan 12, 2021
1 parent 8de1129 commit 95199e5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions source/testing-for-govready-q/automated-testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,15 @@ To produce a code coverage report, run the tests with `coverage`:
For Developers
~~~~~~~~~~~~~~~~~~~~~

If you want to run automated tests in visible mode you can set the parameter test_visible to false in ``local/environment.json`` otherwise it will run in headless.
If you want to run automated tests in visible mode you can set the parameter test_visible to ``true`` in ``local/environment.json`` otherwise tests will run in headless mode.
::

{
...
"test_visible": false,
"test_visible": true,
...
}

This is a boolean for the HEADLESS variable in ``siteapp/settings``(the main point for automated test settings) that is a control for adding or avoiding ``--headless`` as an argument in ChromeOptions.

::

if HEADLESS:
Expand Down

0 comments on commit 95199e5

Please sign in to comment.