This repository contains auto tests for verifying login, cart operations, checkout, contact form and place order on the Automation Exercise website.
The next requirements must be completed to run tests:
- Make a copy of this repository:
git clone https://github.com/gantz26/Task9-Playwright-Pytest.git
- Open this folder in PyCharm and install all dependencies and create data folder:
mkdir data
python -m pip install --upgrade pip
pip install pipenv
pipenv install
playwright install
- To run the tests use one of the next commands:
pytest
pytest --browser firefox
- To generate and view a report:
allure serve allure-results