This is my education repository containing several automation scripts for UI and backend tests of "OpenCart"
I used the OpenCart version packaged by Bitnami just for my educational
purposes.
The tests are written using the pytest framework for test automation, Selenium for UI testing, PyMySQL for database
validation and Allure for generating test-reports
If you for some reason want to download and run my tests, below are steps that you need to do:/
python >=3.10,
docker / docker compose
Chrome, Firefox / selenium drivers of appropriate versions for them
You must have no local proxy
- Clone this repo:
git clone https://github.com/Darvinleo/OTUS_OpenCart
- After that go to the cloned dir and run:
docker-compose up -d
- Create virtualenv for this project and install requirements:
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
- Finally, you can run tests:
pytest