This is a test Python automation project using Selene and PyTest.
This project automates the SauceLabs automation demo site https://www.saucedemo.com
The purpose of this project is to show how to use the Page-Object-Model with PyTest to automate a website.
The intent is that this grows to cover more advanced concepts and alternative test runners.
This project uses python 3.8. Follow the below steps to setup the project:
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
pytest
Add pre-commit and install it. Pre-commit will be used to run Flake8 and yapf against the repository upon commit.
pre-commit install