The project automates end-to-end testing of the Rakuten Coupons platform using Cypress. It focuses on validating critical user flows such as navigation, coupon discovery, cashback, and account management. The goal is to create a modular, maintainable automation suite with reliable execution logs and reports.
β End-to-end testing automation using Cypress β UI Testing, Functional Testing, and Negative Scenarios β Page Object Model (POM) for scalable architecture β Generates Mochawesome HTML reports for visual execution insights β CI-ready structure for easy pipeline integration
RakutenAutomation/
βββ cypress/
β βββ e2e/ # Test specs
β βββ pages/ # POM class files
β βββ support/ # Commands & configs
β βββ fixtures/ # Test data
β βββ screenshots/ # Captures on failure
β βββ videos/ # Optional video logs
βββ mochawesome-report/ # Test execution report
βββ cypress.config.js # Cypress configuration
βββ package.json # Project dependencies
βββ README.md # Documentation
βββ .gitignore
| Technology | Purpose |
|---|---|
| JavaScript | Core scripting language |
| Cypress | UI and E2E automation framework |
| Mochawesome | Rich HTML report generation |
| POM | Scalable test structure |
| Node.js / NPM | Runtime environment and dependency manager |
- Node.js v16+
- Git
- VS Code or preferred IDE
- Chrome browser (recommended)
git clone https://github.com/yourusername/rakuten-coupons-automation.git
cd rakuten-coupons-automationnpm installnpx cypress opennpx cypress runnpx cypress run --reporter mochawesomeπ Report Path: ./mochawesome-report/mochawesome.html
Open in a browser to view detailed test results.
| Scenario | Test Cases | Automated | Passed | Failed | Remarks |
|---|---|---|---|---|---|
| Homepage Navigation | 3 | 3 | 1 | 2 | CAPTCHA blocked TC1.1 & 1.2 / Partially covered |
| Store & Product Browsing | 3 | 1 (Merged 3) | 1 | 0 | Fully covered |
| Coupons & Cashback | 3 | 1 (Merged 3) | 0 | 1 | CAPTCHA blocked flow |
| Cashback Flow | 3 | 1 (Merged 3) | 0 | 1 | CAPTCHA blocked automation |
| Account Management | 3 | 1 (Merged 3) | 0 | 1 | CAPTCHA blocked all operations |
| Total | 15 | 1 (Merged 3) | 2 | 5 |
- Issue: reCAPTCHA prevents Cypress from performing key UI flows
- Effect: Buttons hidden or intercepted
- Cause: reCAPTCHA's anti-bot system triggers on Cypress automation
- Status: Tests fail where CAPTCHA is involved; no workaround could be implemented.
Nazish Jehangir β Masai School Student Aspiring Software Developer | Passionate about Automation and Quality Engineering
Special thanks to the Masai mentors and instructional team for continuous support and valuable feedback.
This project is developed for academic learning and demonstration. Open for use, forking, and improvement with attribution.