Problem
Verify the same demo-shop business flows across UI, API and database layers.
Featured project | Web & API, CI/CD
UI, API and database checks of one demo shop kept in the repository; parallel execution, infrastructure-only retries, Allure evidence, Docker + Selenium Grid, nightly CI on Chrome, Firefox and Edge.
19 Nov 2026 nightly execution results: Chrome 246/246 passed; Firefox, Edge and Selenium Grid each 182/182 passed; 0 failures, errors or skips.
Evidence checked 19 Nov 2026 | Nightly regression #103 on main
Shows how a test platform for a real product is designed, built, documented and operated, not just a test suite. It tests ShopEase Admin, a small shop back office kept in the same repository, so one business record can be checked through the UI, the REST API and the database. It is a portfolio project, not a framework running in a company.
Layers depend downwards only: tests contain no Selenium, HTTP or SQL. The repository documents the architecture in docs/architecture.md and 21 architecture decision records in docs/adr.
Select a component to see its purpose, technology, inputs, outputs and implementation path.
Business-level assertions are grouped by API, UI, database, integration, end-to-end and platform behavior.
automation/src/test/java/com/enterprise/automation/testsBusiness-level assertions are grouped by API, UI, database, integration, end-to-end and platform behavior.
automation/src/test/java/com/enterprise/automation/testsKeep selectors, API resources and SQL out of test methods.
automation/src/main/java/com/enterprise/automationProvide the configured local or remote browser and environment-specific settings.
automation/src/main/java/com/enterprise/automation/driverExpose the same shop records through the user interface, REST API and database.
demo-app/src/main/java/com/enterprise/demoappAttach failure diagnostics and per-test context to the run report.
automation/src/main/java/com/enterprise/automation/reporting| Area | Tools |
|---|---|
| Language / build | Java 17, Maven (multi-module) |
| Test runner | TestNG 7.12 |
| UI | Selenium 4 (local and Selenium Grid) |
| API | REST Assured 6, Jackson, JSON Schema validation |
| Database | JDBC (H2), parameterised queries |
| Assertions / data | AssertJ, Datafaker, JSON and CSV files |
| Logging / reporting | SLF4J + Logback per thread and test; Allure 3 |
| Containers | Docker, docker compose, Selenium Grid (hub + Chrome, Firefox, Edge nodes) |
| CI/CD | GitHub Actions, Dependabot, dependency review, Checkstyle |
| Layer | Responsibility | Examples |
|---|---|---|
| Tests | What is checked, in business terms; no Selenium, HTTP or SQL | tests/api, tests/ui, tests/db, tests/integration, tests/e2e |
| Pages, API services, DB queries | One class per screen, API resource or query area; the only place that knows locators, endpoints and SQL | page objects, service objects, query classes |
| Components and clients | Reusable UI components, the REST client, the query executor, waits on real state | ApiClient, QueryExecutor, components |
| Driver and configuration | Browser per thread (local or Grid), layered configuration, secrets from the environment | DriverFactory, configuration loader |
| Execution and evidence | Retry policy for infrastructure failures, logging, Allure steps and attachments | listeners, SecretMasker, Allure |
Settings are layered: defaults, an environment (-Denv=qa), then system properties, so the same tests run on a laptop, in Docker, against Grid or in CI without edits. Examples: -Dbrowser=firefox, -Dthreads=4, -Dsuite=smoke, -Dexecution=remote -Dgrid.url=....
Parallel execution: one browser per thread, unique data per test, per-thread clean-up and logs; the full suite took about 242 s serial, 171 s with 2 threads and 148 s with 4 (clean clone).
Retries: only transient infrastructure failures (browser start-up, lost sessions, refused connections) are retried, for test methods and for browser start-up; assertion failures and wait timeouts never are, and every retry is visible in the report.
Reporting: Allure shows every UI action, API call (request and response attached) and SQL query as a step; failed UI tests get screenshot, URL, page source and browser console; failures are categorised (configuration, infrastructure, timeout, authentication, database, UI, API, assertion); logs mask secrets.
Verify the same demo-shop business flows across UI, API and database layers.
Separate business assertions from browser, HTTP and SQL access; isolate test data and retain failure evidence.
19 Nov 2026 nightly execution results: Chrome 246/246 passed; Firefox, Edge and Selenium Grid each 182/182 passed; 0 failures, errors or skips.
Evidence checked 2026-11-19 | Nightly regression #103 on main
Scope: Repository demo application; these results do not establish production customer impact.
Project-specific checks and execution details documented in the repository:
Historical workflow run · verified 20 Nov 2026
Nightly regression #103 on main
19 Nov 2026 nightly execution results: Chrome 246/246 passed; Firefox, Edge and Selenium Grid each 182/182 passed; 0 failures, errors or skips.
Evidence checked: | Open dated evidence
Static screenshots are labelled as images; dated workflow links identify the execution evidence and its check date.
The interactive architecture map above lists components and their source paths. Open the repository architecture guide.
Static material from the public repository. The linked verification record was checked 2026-11-19; that date is not a screenshot capture date.
Dated workflow record
Evidence checked 2026-11-19. Open Nightly regression #103 on main
mvn clean test # full suite, local app, Chrome
mvn clean test -Dsuite=smoke -Dheadless=true # one suite
mvn clean test -Dbrowser=firefox -Dthreads=4 # another browser, 4 threads
docker compose -f docker/docker-compose.yml up --build --abort-on-container-exit --exit-code-from testsRequirements: JDK 17+, Maven 3.9+, Chrome or Edge; Node.js for the Allure CLI. Full instructions in the README.