We are aiming to do automation on softwaretesting.com with the help of Cypress testing tool.
- Summary: The objective is to have a test-cases which will cover the most critical impacted areas/functionalities of business
- Login
- SignUp
- Add item to Cart
- Remove item from Cart
After cloning the repo, install following:
- cypress,
npm install cypress --save-dev
- node_modules,
npm install node-modules
- Allure lugin,
npm i -D @shelex/cypress-allure-plugin
To run the tests with headed, run following
- npm run cy:run:headed
To run the tests in headed-less, run following
- npm run cy:run
- This follows the Cypress way of writing test:
- define: to group our test cases
- it: for an individual test case
- Syeda Quratulain Asad