Welcome to Sentinel Stack, a robust SDET framework designed to automate end‑to‑end user flows for the StyleMate e‑commerce platform. Leveraging Java, Selenium WebDriver, TestNG, and Cucumber, this project ensures fast, reliable regression testing and lays the groundwork for future Performance and Security testing.
Type: Backend Test Automation Framework
URL: https://luni-interface-029.vercel.app/
- Directory Structure
- Prerequisites
- Installation & Setup
- Running Tests
- Reporting
- Performance Testing Roadmap
- Security Testing Roadmap
- Features
- Design Decisions & Assumptions
- Credentials
- Technology Stack
- Contributing
- License
TheSentinelStack/
├─ src/
│ ├─ test/
│ ├─ java/
│ │ ├─ styleMateRunners/ # Cucumber Test Runners
│ └─ ├─ styleMateAutomation/ # Step Definitions
├─ StyleMate Features # Cucumber Feature Files
├─ pom.xml # Maven Configuration
├─ jmeter/ # JMeter Performance Scripts (future)
└─ burp/ # Burp Suite Security Configs (future)- Java 11 (or higher)
- Maven 3.6+
- Chrome, Firefox, Edge browsers installed
- Internet connection to access the SUT
- JMeter & Burp Suite for performance and security
-
Clone the repository:
git clone https://github.com/your-org/sentinel-stack.git cd sentinel-stack
2. Install dependencies & compile:
```bash
mvn clean install
-
Configure environment:
- Place custom test data under
src/test/resources/testdata - Adjust browser drivers in
config.propertiesif needed
- Place custom test data under
-
Run all E2E tests:
mvn test
- **Run by tag:**
```bash
mvn test -Dcucumber.filter.tags="@Checkout"
After execution, generate HTML reports:
mvn test siteReports available under target/site:
CartAndWishlist.htmlCheckoutFeatureReport.htmlHomepage.htmlOrderManagementReport.htmlSearchAndCatalog.htmlUserManagementReport.html
Screenshots on failure are stored in target/screenshots.
- E2E Coverage: Homepage → Product Listing → Cart → Checkout → Orders
- BDD: Readable Cucumber feature files for business clarity
- Robust Error Handling: Screenshots & logs on failure
- Cucumber BDD for stakeholder‑friendly test definitions.
- Assumes stable test accounts and predictable data resets.
| Role | Username | Password |
|---|---|---|
| Test User | testuser@style.com | Test@1234 |
- Language: Java 11+
- Test Automation: Selenium WebDriver, TestNG, Cucumber
- Build & Dependency Management: Maven
- Reporting: ExtentReports, Cucumber HTML Reports
- Future Tools: JMeter, Burp Suite, SonarQube
This project is licensed under the MIT License. See LICENSE for details.