Automated end-to-end UI test of the shopping flow on reserved.com, built with Java, Selenium WebDriver and JUnit 5 using the Page Object Model pattern.
The E2E scenario simulates a real customer journey:
- Open the store and accept cookies
- Open the first product in the listing (with clickability check)
- Select a size
- Add the item to the cart
- Verify the confirmation dialog is displayed
- Verify that the product name and price in the confirmation match the product page
| Tool | Purpose |
|---|---|
| Java + Maven | Language & build |
| Selenium WebDriver | Browser automation |
| JUnit 5 | Test runner & assertions |
| Allure | Test reporting |
| SLF4J + Logback | Step-by-step logging |
src/test/java/org/example/
├── BaseTest.java # WebDriver setup / teardown
├── OnlineStorePage.java # Page Object: locators & actions
├── OnlineStoreTest.java # E2E test scenario
└── AllureLogger.java # Allure logging helper
mvn clean testTo generate the Allure report after the run:
mvn allure:serveRequires Chrome installed locally. WebDriver is managed automatically.