You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The script should be based on the following scenario:
user visits amazon.com website
user fills out a search field with the product name and activates search ==>
==> a page with search results is displayed.
user looks for the product of specified color having maximum reviews count
user extracts minimum product price (with applied discount) from the page
user assigns amazon_price = product price
user visits bestbuy.com website
user chooses United States country
user fills out a search field with the product name and activates search ==>
==> a page with search results is displayed.
user looks for the product of specified color having maximum reviews count
user extracts minimum product price (with applied discount) from the page
user assigns bestbuy_price = product price
Uncomment the last assert from the test script (Line 4).
Run the test case with Selenium in headless mode. From project root it would be: pytest tests/test_shopping.py
There's a 50/50 possibility it fails. That's OK.