This(Test_Automation) project demonstrates a Cypress test for performing a search on a "Google" search engine and asserting the first result.
- Node.js (version above 16)
- Cypress (version 12)
- Clone the repository.
- Install the dependencies.
- Test Case file is available under the e2e folder.
- Test Data is available in fixture folder.
- Elements & steps function is available in the pageObjects folder.
To execute the test, run the following command:
- npx cypress run
The test execution report will be generated in the reports
folder. For Reproting we use
- Copy the "Copy path" of index.html & open in your browser.
- Screenshots captured during the test execution for "failed" will be stored in the
screenshots
folder. - Video captured during the test execution will be stored in the
videos
folder.