- Clone the repository
- Open the Visual Studio Code IDE and select the directory where repository is cloned.
- Open terminal in Visual Studio Code
- To install the node dependencies and Cypress, run command: npm install
- to run the test file(price_comparision.js) in headless mode, run command: npx cypress run
- to run the test file(price_comparision.js) in headed mode, run command: npx cypress open
- you can also check the test video, present in cypress/video folder
Attaching Screenshot of the Test Logs from the Cypress Runner:
- Fetch Price from Flipkart
- Fetch Price from Amazon
- Comparing Prices