UI tests are run through the u4i-local-web container.
- •Find all UI test markers listed in @pytest.ini. Any UI test set will have a marker ending in *_ui.
- •If the user passes a specific marker to run, then run this marker: $0_ui.
- •You can run UI tests with the following command. Just replace #MARKER with the actual marker.
bash
`docker compose exec web bash -c "source /code/venv/bin/activate && python -m pytest -m '#MARKER' -x"`
- •Verify the tests run.
- •Check for any failures.
- •Report any test failures to the user with relevant error lines from the test
- •Investigate the test failures and hypothesize why they are occurring