This is a simple Cypress + Mocha test framework written in JavaScript.
The project contains two end-to-end tests:
- Adding the highest-priced product to the cart
- Validating that the cart contains the correct product and price
- Node.js (LTS version recommended)
- npm (comes with Node.js)
Clone the repository and install dependencies:
git clone https://github.com/YOUR_USERNAME/Swag-Labs-Test.git
cd Swag-Labs-Test
npm install
Run Cypress visual test runner:
npx cypress open