Saucedemo - Cypress, Cucumber π₯& Jenkins π
SauceDemo is widely used for automation practice because it mimics real-world e-commerce workflows. The platform includes user authentication, product inventory, and a checkout system, making it ideal for end-to-end testing.
I chose Cypress for this project because it offers:
Using Cypress, I tested:
To improve test readability, I implemented Cucumber π₯. Instead of writing test scripts in code-heavy formats, I used a Given-When-Then structure, making test scenarios easier to understand.
To streamline test execution, I integrated Jenkins, allowing me to:
Jenkins helps ensure that tests run consistently, even as new updates are made to the website.
By leveraging Cypress for automation, Cucumber for structured test cases, and Jenkins for automated execution, I created a scalable and efficient testing framework for SauceDemo. This setup ensures that critical functionalities like login and checkout work seamlessly, providing a robust and maintainable automation testing process. π₯
Testing Tools
Cypress
Cucumber
Jenkins
Check the repository
saucedemo-cypress