-
First, run any to compare on smartUI.
-
from inspect in browser get the base and compare URLs.
-
Add these URLs to the
input array
in the./dev/URLS/urls.json
file in the following format:{ "input": [ ..., { "baseURL" : "baseURL", "compareURL" : "compareURL" } ] }
- Create a virtual environment:
python3 -m venv venv
- Activate the virtual environment:
source ./venv/bin/activate
- Install the required Python packages:
pip install -r requirements.txt
- Execute the test script:
python3 test.py
For now if images sizes are diff, then we crop the images for comparison.
Check results over here : https://eyes.applitools.com/app/test-results/00000251679172704040/?accountId=CfAK6A8gQUu241SoODU2OA__
email : [email protected] password: Shrinish@123