Test project to show
- features of MS Playwright on Python
- automation project structure using pytest
All tests designed to cover application Test-Me
Guide in Ukrainian about python playwright: Our youtube channel
Tools:
- Install python
- Install PyCharm
- Install python dependencies
pip install -r requirements.txt
- Make sure playwright version 1.8+ installed
- conftest.py file contains main fixtures to work
- Page objects stored in page_object folder
- Tests stored in tests folder
- Settings are spread between:
- pytest.ini
- settings.py
- Install software to test Test-Me
- Set correct path to DB in
pytest.ini
file - Run Test-Me (check guide in it's repo)
- Run tests using command
pytest