Skip to content

Tryhard365/cypress-saucedemo-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Cypress E2E Test Automation - Saucedemo ## Project Overview Portfolio-ready Cypress test automation suite demonstrating Page Object Model (POM) pattern for the Sauce Demo e-commerce application. ## Test Coverage - ✅ Login functionality (4 test scenarios) - ✅ Shopping cart operations (2 test scenarios) - ✅ Complete checkout flow (end-to-end) ## Results - **7 Total Tests** - **5 Passing** (71% pass rate) - **1 Timeout** (network-related, not code failure) ## Technologies Used - Cypress 13.17.0 - JavaScript (ES6) - Page Object Model (POM) design pattern - Mochawesome HTML reporting ## Project Structure saucedemo-cypress-pom/ ├── cypress/ │ ├── e2e/ # Test specifications │ ├── pages/ # Page Object classes │ ├── support/ # Custom commands │ └── reports/ # HTML test reports ├── cypress.config.js # Cypress configuration └── package.json # Dependencies text ## How to Run 1. Install dependencies: `npm install` 2. Run tests (headless): `npm test` 3. Run tests (GUI): `npm run test:open` 4. Generate report: `npm run report:html` ## Key Features ✅ Clean Page Object Model architecture ✅ Reusable test components ✅ Automated HTML reporting ✅ Screenshots on failure ## Author [Micheal Adedoyin] - QA Automation Engineer ## Demo Video [Loom video link ](https://www.loom.com/share/7762bd5310064943af2881f16ad666a1)# cypress-saucedemo-automation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published