Merge branch 'new-docs' into various

This commit is contained in:
Daniel 2023-12-11 15:42:13 +01:00
commit 68a810a808

View file

@ -20,6 +20,12 @@ To run successfully, very specific arguments are required. The easiest way to us
- `--recipes_dir`: directory of all available abra recipes
- `--output_dir`: target directory for all test results
Furtheremore, there are these optional arguments:
- `--resume`: `abratest` will take the directory in `output_dir` with the most recent creation date and resume the tests there.
- `--debug`: enables playwright debug mode, see docs [here](https://playwright.dev/python/docs/running-tests#debugging-tests)
- `--timeout`: will overwrite the default playwright timeouts in [ms], see docs [here](https://playwright.dev/python/docs/api/class-browsercontext#browser-context-set-default-timeout) and [here](https://playwright.dev/python/docs/test-assertions#global-timeout). In our current setup, some tests can fail at 10s but will pass with 20s.
### env_paths [string]
The variable env_paths consists of one or more paths pointing at .env files. The paths are separated with ";". These .env files are actually configuration files for `abra` recipes, but `pytest-abra` uses the same files for test configuration.