Automation tests for Opera Cashback website - Selenium training
Tech stack
- Python
- Selenium Webdriver
- Pytest
Test Cases:
- Changing country in header dropdown and checking visibility of shops on homepage
- Login Form
- Going to Shop page from search in header (exemplary URL of Shop page: https://cashback.opera.com/pl/shops/allegro)
- Activating offer (requires being logged in)
Required packages to install.
- pytest
- selenium
- opencv-python
- numpy
- Pillow
Or just use pip install -r requirements.txt
Running testing suite
Execute pytest
in the main directory
Opera versions used:
- Opera One (version: 104.0.4944.33)
- Operachromiumdriver
Usefull documentation sources:
TODO
- seems like used browser extension ChroPath works better on Chrome than Opera - provides better elements location paths
- testcase of activating offer supported with image recognition - maybe Chrome version would work better