various #16

Merged
dan merged 94 commits from various into dev 2023-12-14 14:04:01 +01:00
Showing only changes of commit b62c2bee25 - Show all commits

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.