AutomationExercise Automation is automation project for testing Signup, Login and Addtocart scenarios on website - https://automationexercise.com/
# pre-requisite dependencies (latest versions)
- npm
- node
# install dependencies
$ npm install
# open cypress dashboard and run test via cypress UI
$ npx cypress open
# run cypress in headless mode - all test cases
$ npx cypress run
# run cypress in headless mode - particular test cases
$ npx cypress run --spec "cypress/e2e/cart_Item/add_product.cy.js"
file: index.html
path: cypress/reports
HTML report will not be generated in cypress UI, use headless command.
๐ฆ AutomationExercise Assignment
โโ .....
โโ cypress
โ โโ e2e
โ โ โโ cart_Item // test case related to adding item to cart
โ โ โโ Login // test case related to user login
โ โ โโ signup // test case related to user signup process
โ โโ fixtures // test data
โ โโ pages // page object repository
โ โโ reports // HTML report
โ โโ support // request function here
โ โโ .....
โโ .....