USED FRAMEWORK
- Cypress.
PREREQUISITES
- Node.Js,
- Yarn (optional),
- Cypress;
RUN THE TESTS
- Clone this project;
- In your terminal, cd project directory;
- Type npm or yarn run cypress:open;
- The default cypress browser will open and execute all the tasks.
TESTS
- Sign in:
- Sign in with a valid e-mail and an wrong password;
- Sign in with a blank e-mail;
- Sign in with a blank password;
- Sign in with a registered e-mail and correct password;
- Sign in with a registered e-mail and invalid password; - Adding product in the cart:
- Sign in and add a product in the cart;
- Adding a new product by choosing T-shirts menu option;
- Add product from home page then from T-shirts menu option;
- Adding a product in the cart, then sign in at checkout;
- Used aplication: http://automationpractice.com/index.php