This is a simple project to demostrate the Page Object Model implementation with Pytest for Web UI validation testing.
Install all the libraries with the following command
pip install -r requirements.txt
To run ui tests in parallel use this command:
pytest -n auto -m "not serial"
With this call, pytest will spawn a number of workers processes equal to the number of available CPUs, and distribute the tests randomly across them.
To run api tests serial use this command:
export API_TOKEN=<your-api-token-here> && python -m pytest -n0 -m "serial"