Clone project from GIT with following command
git clone https://github.com/radioactive1337/ui-test-practice.git
cd ui-test-practice\tests
Install requirements
pip install -r requirements.txt
values for --driver=chrome/firefox
values for --headless=false/true
To run all tests with chrome
pytest
To run all tests with firefox and headless mode
pytest --headless=true driver=firefox
Name | Desc |
---|---|
pages |
page_objects for UI |
tests/ |
UI tests |
tests/resources/ |
necessary resources |
Name | Desc |
---|---|
conftest.py |
pytest configuration |
pytest.ini |
pytest configuration |
requirements.txt |
list of libraries which are required for the project |