diff --git a/README.md b/README.md
index 8f590c8..d85e414 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ Final corrections cover accurate learning-lab workflow labels, historical Playwr
## Coming next
-These items are **planned**, not completed projects, and do not increase the current 33-project count. The same roadmap appears on the [portfolio homepage](https://niranjankagri.github.io/#coming-next).
+These items are **planned**, not completed projects, and do not increase the current 34-project count. The same roadmap appears on the [portfolio homepage](https://niranjankagri.github.io/#coming-next).
| Order | Work | Evidence required before portfolio promotion |
|---|---|---|
@@ -28,7 +28,7 @@ The WebdriverIO framework is being built in [its repository](https://github.com/
| File | Purpose |
|---|---|
| `index.html` | Home page, professional impact, live dashboard showcase, six featured projects, experience, skills and contact |
-| `projects.html` | Searchable collection of all 33 projects; cards remain available without JavaScript |
+| `projects.html` | Searchable collection of all 34 projects; cards remain available without JavaScript |
| `projects/*.html` | One case study per project, with setup, architecture, dated evidence and limitations |
| `tools/project_data.py` | Shared project records, category and technology tags, evidence links and featured selection |
| `tools/make_*.py` | Static page and hosting metadata generators |
@@ -50,7 +50,7 @@ The Quality Intelligence dashboard uses collected repository and CI result files
## Project discovery and case studies
-The homepage has focused role views for Senior SDET, QA Lead, and Automation Architect. These views point into the same 33-project catalog and do not hide the rest of the site. The collection supports URL-backed search, category and language filters, skill matching, role focus, three sort orders, previews, and comparison of up to three projects. Search and skill terms combine with category and language groups; selections within each category or language group use OR matching.
+The homepage has focused role views for Senior SDET, QA Lead, and Automation Architect. These views point into the same 34-project catalog and do not hide the rest of the site. The collection supports URL-backed search, category and language filters, skill matching, role focus, three sort orders, previews, and comparison of up to three projects. Search and skill terms combine with category and language groups; selections within each category or language group use OR matching.
Explorer links can include `q`, repeated `category` and `tech` parameters, `skill`, `role`, `sort`, and repeated `compare` parameters. Case-study links retain the filtered results URL and scroll position for the Back to Projects action within the same browser tab. The explorer remains a static list when JavaScript is unavailable; previews, sorting, filters, and comparison require JavaScript.
@@ -69,7 +69,7 @@ python tools/build_site.py
python tools/validate_site.py
```
-For the full local browser check, install the pinned dependencies and run the staged-site smoke command. The script starts and stops its own static server, tests Chromium, Firefox and WebKit, checks the 36 routes and CV, and captures screenshots and traces on failure. axe-core runs WCAG 2.0, 2.1 and 2.2 A/AA checks.
+For the full local browser check, install the pinned dependencies and run the staged-site smoke command. The script starts and stops its own static server, tests Chromium, Firefox and WebKit, checks the 37 routes and CV, and captures screenshots and traces on failure. axe-core runs WCAG 2.0, 2.1 and 2.2 A/AA checks.
```bash
python -m pip install playwright==1.63.0 ruff==0.17.1 Pillow==11.3.0
diff --git a/img/healenium-rejected-heal.jpg b/img/healenium-rejected-heal.jpg
new file mode 100644
index 0000000..21e2d30
Binary files /dev/null and b/img/healenium-rejected-heal.jpg differ
diff --git a/img/healenium.jpg b/img/healenium.jpg
deleted file mode 100644
index 61fc903..0000000
Binary files a/img/healenium.jpg and /dev/null differ
diff --git a/img/rag-chatbot.jpg b/img/rag-chatbot.jpg
new file mode 100644
index 0000000..eb0d967
Binary files /dev/null and b/img/rag-chatbot.jpg differ
diff --git a/img/social/rag-chatbot-quality-gate.jpg b/img/social/rag-chatbot-quality-gate.jpg
new file mode 100644
index 0000000..796a6ce
Binary files /dev/null and b/img/social/rag-chatbot-quality-gate.jpg differ
diff --git a/index.html b/index.html
index cbcac9a..36493f4 100644
--- a/index.html
+++ b/index.html
@@ -7,7 +7,7 @@
-
+
@@ -23,7 +23,7 @@
NA Niranjan Kumar Agri
- Projects 33 Experience Skills Contact CV
+ Projects 34 Experience Skills Contact CV
◐
@@ -36,7 +36,7 @@
I build automation and quality strategies for reliable relea
I design test platforms, lead QA strategy and make release evidence easier to inspect—from requirements traceability to browser, API and performance checks.
Based in Haldwani, Uttarakhand, India Open to European relocation
- 12+ years engineering and quality 33 projects with case studies QA leadership led and mentored four engineers
+ 12+ years engineering and quality 34 projects with case studies QA leadership led and mentored four engineers
@@ -49,7 +49,7 @@ I build automation and quality strategies for reliable relea
- Selected work
Featured projects Three flagship stories: framework engineering, quality intelligence and reviewed AI-assisted testing. Results link to dated evidence.
View all 33 projects
+ Selected work
Featured projects Three flagship stories: framework engineering, quality intelligence and reviewed AI-assisted testing. Results link to dated evidence.
View all 34 projects
Enlarge preview Historical report. 7 Oct 2026 · separate local run; not the nightly evidence linked below.Historical report. 7 Oct 2026 · separate local run; not the nightly evidence linked below.
@@ -163,7 +163,7 @@
Quality Intelligence. One place to explore.
QA leadership · Professional Test strategy, test planning, RTM, release sign-off, defect triage and management, mentoring, offshore team coordination.
Automation · Professional Selenium WebDriver, Robot Framework, Java, Python, API testing, CI/CD integration.
Explore supporting projects 10 projects
Automation · Portfolio experience Playwright, Cypress, Appium, TestNG, JUnit, Cucumber, Pact, Healenium, TypeScript, JavaScript.
Explore supporting projects 7 projects
- API and integration testing REST Assured, Postman, WireMock, contract testing, database checks, Kafka and Testcontainers.
Explore supporting projects 20 projects
+ API and integration testing REST Assured, Postman, WireMock, contract testing, database checks, Kafka and Testcontainers.
Explore supporting projects 21 projects
Performance · Professional rfswarm, multi-user browser testing and release to release response-time baselines.
Explore related projects 2 projects
Performance · Portfolio experience k6 and Gatling scenarios, SLO thresholds as build gates, open and closed workload models, load, stress, spike and soak testing.
k6 case study · Gatling case study
Framework design Page Object Model, data-driven testing, keyword-driven testing, BDD, property-based testing, mutation testing, parallel execution, test data isolation.
Explore supporting projects 17 projects
diff --git a/projects.html b/projects.html
index 2a7152b..96fd984 100644
--- a/projects.html
+++ b/projects.html
@@ -2,9 +2,9 @@
Projects | Niranjan Kumar Agri
-
+
-
+
@@ -13,25 +13,25 @@
NA Niranjan Kumar Agri
- Projects 33 Experience Skills Contact CV
+ Projects 34 Experience Skills Contact CV
◐
Home / Projects
- Project collection
Explore the work All 33 projects remain listed here. Search purpose and tools, combine categories and languages, then open a preview or compare up to three projects.
+ Project collection
Explore the work All 34 projects remain listed here. Search purpose and tools, combine categories and languages, then open a preview or compare up to three projects.
- Project collection Showing 33 of 33 projects
+
Project collection Showing 34 of 34 projects
Sort by Featured first Recently verified Alphabetical
@@ -269,17 +269,17 @@
-
-
+
+
Project | Web & API
-
A demo shop with two releases at the same URL, tested through the same page objects three times: learn on release 1, heal on release 2, and a…
-
A redesign renamed every locator; the same 6 journeys still passed through Healenium, which healed 18 out-of-date locators. 3 heals picked the wrong element, and the normal assertions caught every one.
Historical repository or workflow evidence
+
A demo shop with two releases at the same URL, tested through the same page objects: learn on release 1, heal on release 2 on day one and…
+
On 27 Nov 2026: 41 tests passed in CI. Of the 18 heals Healenium proposed on release 2, 16 were approved and used and 2 were rejected and stopped; the review gate failed on day one (7 heals used without review) and passed after review.
Historical repository or workflow evidence
@@ -360,6 +360,19 @@
+
+
+
Project | AI & LLM
+
+
A help-desk chatbot for a fictional climbing gym behind a FastAPI API, with staff-only secrets and a planted prompt injection in its…
+
On 26 Nov 2026 the quality gate passed on main: all 22 checks within their limits; pytest 174 passed, with 10 known misses as strict expected failures. Four real-model runs on the same day are in the README.
Historical repository or workflow evidence
+
+
+
No projects match this combination. Remove one filter, broaden the search, or use Clear all.
- Browse without scripts Search, sorting, previews and comparison need JavaScript. The complete collection of 33 project links and their evidence remain available above.
+ Browse without scripts Search, sorting, previews and comparison need JavaScript. The complete collection of 34 project links and their evidence remain available above.
0 projects selected
Compare selected Clear
Project preview
diff --git a/projects/design-patterns-test-framework.html b/projects/design-patterns-test-framework.html
index 2d4b7aa..a6a7595 100644
--- a/projects/design-patterns-test-framework.html
+++ b/projects/design-patterns-test-framework.html
@@ -25,7 +25,7 @@
└── users, products ◄── TestDataSource (json | csv | api) Strategy
TestNG ──► TestNgEventBridge ──► TestEventBus ──► report, log, metrics, screenshots ObserverTechnology and tools Area Tools Tests Java 21, TestNG 7.12, AssertJ: 39 tests (26 unit and API, 13 UI) Engines Selenium 4.53 (Chrome, Firefox, Edge, Selenium Grid) and Playwright 1.65 for Java (Chromium, Firefox, WebKit) Application Pattern Shop : pages, REST, SOAP-style XML and a legacy text APICI GitHub Actions: a core job and 7 UI jobs, each with its own shop container; weekly and on demand
Engineering decisions and approach Page objects hold no assertions; each action returns the page it leads to One Browser interface: tests and page objects never import Selenium or Playwright The Factory validates the configuration first, so an engine and browser that do not fit stop the run before a browser starts Test data source chosen by one property (json, csv or api); the tests do not change Listeners found through ServiceLoader: adding a report is a new class, not a change to the tests Test scope and execution approach Project-specific checks and execution details documented in the repository:
Adapters for three catalog APIs: JSON in cents, SOAP-style XML in dollars, legacy upper-case text with error strings Observer output on every run: a Markdown report (also in the CI job summary), metrics.json, a log line per test, a screenshot per failed UI test Selenium Grid in Docker as one of the browser setups Data-provider sign-in tests for every demo user: active, locked, a problem user and a slow user A personal guide with the reasons and the alternatives that were not chosen Results with dated evidence Historical repository or workflow evidence
CI run on main
The same 13 UI tests run on Selenium WebDriver and on Playwright for Java, on 7 browser setups, through one Browser interface. Running both engines exposed a Chrome password-leak dialog that swallowed clicks on Selenium only; the fix lives in the Factory and a test keeps it there.
Evidence checked: 22 Nov 2026 | Open dated evidence
Evidence explorer Static screenshots are labelled as images; dated workflow links identify the execution evidence and its check date.
Test report CI evidence
Open image viewer CI workflow screenshot. CI run on main, 20 Nov 2026: one core job and seven UI jobs on two engines, all passed. Static image; capture date is not recorded in the portfolio data. CI workflow screenshot. CI run on main, 20 Nov 2026: one core job and seven UI jobs on two engines, all passed. Static image; capture date is not recorded in the portfolio data.
The first Selenium Chrome run failed every test that clicked twice after signing in, while Playwright's Chromium passed. Chrome's password manager had recognised the demo password from a data breach and opened a dialog that swallowed the next click. The fix went into the Factory, and a unit test keeps it there.
Static material from the public repository. The linked verification record was checked 2026-11-22; that date is not a screenshot capture date.
Local setup and execution docker run -d -p 8080:8080 ghcr.io/niranjankagri/pattern-shop-demo-app:latest
mvnw.cmd verify -Dsuite=core
-mvnw.cmd verify -Dsuite=ui -Dengine=playwright -Dbrowser=webkit -Ddata.source=csvKnown limitations The application under test is a small demo shop; the patterns are shown at framework scale Edge's first start on a fresh CI runner takes 30 to 45 seconds, so CI starts it once before the tests Five patterns, not all of them: no Builder, Decorator or Singleton, by choice The application under test is my own small demo shop; the patterns are shown at framework scale, not on a large product. Previous project Gatling Performance Testing Next project Pattern Shop: a Shared Demo App for Test Frameworks Back to Projects
+mvnw.cmd verify -Dsuite=ui -Dengine=playwright -Dbrowser=webkit -Ddata.source=csvKnown limitations The application under test is a small demo shop; the patterns are shown at framework scale Edge's first start on a fresh CI runner takes 30 to 45 seconds, so CI starts it once before the tests Five patterns, not all of them: no Builder, Decorator or Singleton, by choice The application under test is my own small demo shop; the patterns are shown at framework scale, not on a large product. Previous project Gatling Performance Testing Next project Pattern Shop: a Shared Demo App for Test Frameworks Back to Projects
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 .
Explore the architecture Select a component to see its purpose, technology, inputs, outputs and implementation path.
Test suites Pages, services and queries Driver and configuration Application under test Execution evidence
Business-level assertions are grouped by API, UI, database, integration, end-to-end and platform behavior.
Technology Java 17, TestNG Inputs Test data and the configured application environment. Outputs Assertions, named Allure steps and test results. View source automation/src/test/java/com/enterprise/automation/testsArchitecture components Test suites Business-level assertions are grouped by API, UI, database, integration, end-to-end and platform behavior.
Technology Java 17, TestNG Inputs Test data and the configured application environment. Outputs Assertions, named Allure steps and test results. View source automation/src/test/java/com/enterprise/automation/testsPages, services and queries Keep selectors, API resources and SQL out of test methods.
Technology Java page objects, API services and JDBC query classes. Inputs Actions and data requests from the test layer. Outputs UI actions, HTTP responses and database rows. View source automation/src/main/java/com/enterprise/automationDriver and configuration Provide the configured local or remote browser and environment-specific settings.
Technology Selenium WebDriver, immutable configuration and Selenium Grid. Inputs Browser, environment, execution mode and parallelism settings. Outputs A browser session per test thread and resolved configuration. View source automation/src/main/java/com/enterprise/automation/driverApplication under test Expose the same shop records through the user interface, REST API and database.
Technology The ShopEase demo application and H2 database. Inputs Browser requests, API calls and test data. Outputs UI state, API responses and persisted demo records. View source demo-app/src/main/java/com/enterprise/demoappExecution evidence Attach failure diagnostics and per-test context to the run report.
Technology TestNG listeners, Logback and Allure. Inputs Test steps, responses, rows, screenshots, logs and run metadata. Outputs Dated test reports and failure diagnostics. View source automation/src/main/java/com/enterprise/automation/reportingTechnology and tools 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
Layers and responsibilities Layer Responsibility Examples Tests What is checked, in business terms; no Selenium, HTTP or SQL tests/api, tests/ui, tests/db, tests/integration, tests/e2ePages, 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, componentsDriver and configuration Browser per thread (local or Grid), layered configuration, secrets from the environment DriverFactory, configuration loaderExecution and evidence Retry policy for infrastructure failures, logging, Allure steps and attachments listeners, SecretMasker, Allure
Configuration and execution 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.
Engineering decisions and approach Test at the cheapest level (API) and check consistency across UI, API and database Every test owns its data: independent, parallel-safe, no order dependencies, no shared fixtures, no sleeps Retry only transient infrastructure failures (browser start-up, lost sessions, refused connections); assertion failures and wait timeouts never Every failure explains itself: steps, request/response, rows, screenshot, log, environment and build in the report Same tests everywhere: laptop, Docker, Grid and CI are configured, never edited Cloud device farms deferred on purpose; Grid covers remote browsers Problem, decision and result Problem Verify the same demo-shop business flows across UI, API and database layers.
Decision Separate business assertions from browser, HTTP and SQL access; isolate test data and retain failure evidence.
Observed result 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.
Test scope and execution approach Project-specific checks and execution details documented in the repository:
Earlier inventory (12 Oct 2026): 169 TestNG test executions from 124 test methods (data-driven tests run once per data row), all passing in that scheduled nightly run; by package, without overlap: API 57, UI 48, database 13, integration 9, end-to-end 2, framework unit tests 40. Evidence: nightly run 38226623404 Named suites (TestNG groups, which overlap): smoke 20, sanity 11, regression 121 Parallel execution: one browser per thread; full suite about 242 s serial, 171 s with 2 threads, 148 s with 4 (clean clone) Allure report with every UI action, API call and SQL query as a step, failure categories and an environment panel Secrets masked in every log line, report attachment and failure message Docker compose: application, Selenium hub, Chrome/Firefox/Edge nodes and the test runner Results with dated evidence 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: 19 Nov 2026 | Open dated evidence
Evidence explorer Static screenshots are labelled as images; dated workflow links identify the execution evidence and its check date.
Architecture Test report Failure example CI evidence
Open image viewer Test report screenshot. Allure overview of a smoke run with one deliberately failing demo check. Static image; capture date is not recorded in the portfolio data. Test report screenshot. Allure overview of a smoke run with one deliberately failing demo check. Static image; capture date is not recorded in the portfolio data.
Open image viewer Test report screenshot. The Docker Selenium Grid used by the nightly run. Static image; capture date is not recorded in the portfolio data. Test report screenshot. The Docker Selenium Grid used by the nightly run. Static image; capture date is not recorded in the portfolio data.
Static material from the public repository. The linked verification record was checked 2026-11-19; that date is not a screenshot capture date.
Open image viewer Test report screenshot. A static report example; it demonstrates how an individual failure is represented, not the latest nightly outcome. Static image; capture date is not recorded in the portfolio data. Test report screenshot. A static report example; it demonstrates how an individual failure is represented, not the latest nightly outcome. Static image; capture date is not recorded in the portfolio data.
Local setup and execution 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 .
Known limitations Cloud device farms are not integrated (deliberate, see the decision records) The demo application uses an in-memory H2 database and demo-grade security; it is not a production deployment. Allure steps are at user-action level; no business-level step names yet Next project Playwright + TypeScript Framework Back to Projects
+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 .
Known limitations Cloud device farms are not integrated (deliberate, see the decision records) The demo application uses an in-memory H2 database and demo-grade security; it is not a production deployment. Allure steps are at user-action level; no business-level step names yet Next project Playwright + TypeScript Framework Back to Projects
Home / Projects / Self-Healing Selenium Tests with Healenium
-Project | Web & API
Self-Healing Selenium Tests with Healenium A demo shop with two releases at the same URL, tested through the same page objects three times: learn on release 1, heal on release 2, and a control run without Healenium that proves the old locators really fail.
-
-A redesign renamed every locator; the same 6 journeys still passed through Healenium, which healed 18 out-of-date locators. 3 heals picked the wrong element, and the normal assertions caught every one.
+Project | Web & API
Self-Healing Selenium Tests with Healenium A demo shop with two releases at the same URL, tested through the same page objects: learn on release 1, heal on release 2 on day one and after review, and a control run without Healenium. Every heal goes into a journal with its top 5 candidates, their scores and a screenshot of the proposed element.
+
+On 27 Nov 2026: 41 tests passed in CI. Of the 18 heals Healenium proposed on release 2, 16 were approved and used and 2 were rejected and stopped; the review gate failed on day one (7 heals used without review) and passed after review.
On this page Problem and purpose Architecture Technology and tools Engineering decisions and approach Test scope and execution approach Results with dated evidence Evidence explorer Local setup and execution Workflow and reports Known limitations
-
Problem and purpose Locators break after every redesign, and fixing them by hand is slow. Healenium promises to find the moved element on its own. This project measures that promise on real runs: 18 out-of-date locators healed, and 3 heals that picked the wrong element, each one caught by an ordinary assertion.
Architecture test ──► page object ──► SelfHealingDriver.findElement(locator)
+Problem and purpose Locators break after every redesign, and fixing them by hand is slow. Healenium promises to find the moved element on its own. This project measures that promise on real runs: Healenium healed all 18 out-of-date locators, and 2 of those heals picked the wrong element. One of the two won clearly, 0.897 against 0.781, so no score rule can catch it.
Controlled healing adds two checks on top of Healenium. A heal is used only when it has a clear winner, and every heal gets a verdict in a reviewed file in the repository. A review gate fails the build for heals nobody has looked at, and a rejected heal stops the lookup instead of handing the test the wrong element.
Architecture test ──► page object ──► SelfHealingDriver.findElement(locator)
│ found ──► save the element (tag, attributes, path) in hlm-backend
- └ not found ──► score every element against the saved one
- ──► build a new locator for the best match (score ≥ 0.5)Technology and tools Area Tools Tests Java 21, Selenium 4, TestNG: 15 tests in three classes (learn on release 1, heal on release 2, control without healing) Self-healing healenium-web 3.6.0 wraps ChromeDriver; hlm-backend 4.0.2, selector-imitator 1.6 and Postgres in Docker Compose Application A demo shop in the repository (JDK HTTP server) with two releases deployed at the same URL CI GitHub Actions: starts the Healenium backend, runs all 15 tests, writes the healed-locator table into the job summary; weekly scheduled run
Engineering decisions and approach The same journeys and page objects run three times; only the release and the driver change A control run with a plain ChromeDriver proves the old locators really fail on release 2 Wrong heals are pinned in tests: a Healenium upgrade that changes them makes a test fail Absence checks never heal (@DisableHealing), and are paired with a positive check Page objects call driver.findElement themselves, so the healing report names the right page Test scope and execution approach Project-specific checks and execution details documented in the repository:
Healed-locator table from the Maven output, with score and number of lookups Healenium's own report with a screenshot of every healed element Three documented wrong heals: look-alike buttons, a new wrapper div, and a disabled-healing check that passed for the wrong reason Page Object Model with components, fluent navigation, a driver factory and test data objects Gotchas found while building it: Surefire running 0 tests, a missing Guice class, a screenshot proxy Results with dated evidence Historical repository or workflow evidence
Scheduled CI run on main
A redesign renamed every locator; the same 6 journeys still passed through Healenium, which healed 18 out-of-date locators. 3 heals picked the wrong element, and the normal assertions caught every one.
Evidence checked: 14 Nov 2026 | Open dated evidence
Evidence explorer Static screenshots are labelled as images; dated workflow links identify the execution evidence and its check date.
Test report CI evidence
Open image viewer Test report screenshot. Healenium's report: each failed locator, the healed one and its score, from a local run. Static image; capture date is not recorded in the portfolio data. Test report screenshot. Healenium's report: each failed locator, the healed one and its score, from a local run. Static image; capture date is not recorded in the portfolio data.
Static material from the public repository. The linked verification record was checked 2026-11-14; that date is not a screenshot capture date.
Local setup and execution docker compose -f infra/docker-compose.yml up -d --wait
-mvnw.cmd verify :: 15 tests, Java 21, Chrome, Docker
-start http://localhost:7878/healenium/report :: the healing reportKnown limitations The demo shop and its redesign were written for this project; another application will heal better or worse Self-healing cannot tell look-alike siblings apart; stable test hooks such as data-testid are still needed Healed locators are not written back to the page objects: every heal needs a human review The demo shop and its redesign are written for the project; healing quality on another application will differ, and every healed locator still needs review. Previous project Testing Third-Party APIs with WireMock Next project Mutation Testing with PIT Back to Projects
+ └ not found ──► Healenium scores every candidate, proposes the best
+ ──► GuardedHealingService: journal it, then
+ rejected in review ──► stop
+ approved in review ──► use
+ runner-up within 0.05 ──► stop
+ otherwise ──► use; the review gate fails the run
Technology and tools Area Tools Tests Java 21, Selenium 4, TestNG: 41 tests in six steps (healing rules, learn on release 1, release 2 on day one and after review, control without healing, review gate) Self-healing healenium-web 3.6.0 wraps ChromeDriver; hlm-backend 4.0.0 pinned by digest, selector-imitator 1.6 and Postgres in Docker Compose Controlled healing GuardedHealingService takes over Healenium's healing service: a clear-winner margin of 0.05, reviewed heals in approved-heals.json, a heal journal with screenshots, and a review gate Application A demo shop in the repository (JDK HTTP server) with two releases deployed at the same URL CI GitHub Actions: starts the Healenium backend, runs all 41 tests, writes the used heals and both review reports into the job summary, keeps the heal journal as an artifact; weekly scheduled run
Engineering decisions and approach Healenium picks first, then the guard reads its full ranking: none of Healenium's set-up code is copied A clear winner is not enough: a reviewed verdict in the repository decides, one verdict per exact heal A heal nobody has reviewed is used for that run but fails the review gate, which proposes the entry to fill in The same journeys and page objects run in every step; only the release, the driver and the reviewed heals change Absence checks never heal (@DisableHealing), and are paired with a positive check Test scope and execution approach Project-specific checks and execution details documented in the repository:
Heal journal: test, page-object method, old and new locator, the top 5 candidates with scores, the decision, and a screenshot with the proposed element outlined Review reports in the CI job summary: day one fails by design (7 heals used without review), after review it passes Real scores behind the rules: the look-alike buttons tie and are right only by listing order, the error box ties and is wrong, the button label wins clearly and is wrong Found on the way: hlm-backend uploads healing metrics with the page DOM to an external endpoint by default, and Healenium's highlight border changes the page under test; both switched off Page Object Model with components, fluent navigation, a driver factory and test data objects Results with dated evidence Historical repository or workflow evidence
CI run on main
On 27 Nov 2026: 41 tests passed in CI. Of the 18 heals Healenium proposed on release 2, 16 were approved and used and 2 were rejected and stopped; the review gate failed on day one (7 heals used without review) and passed after review.
Evidence checked: 27 Nov 2026 | Open dated evidence
Evidence explorer Static screenshots are labelled as images; dated workflow links identify the execution evidence and its check date.
Test report CI evidence
Open image viewer Test report screenshot. Evidence the heal journal saved for a rejected heal: the lookup for the torque wrench's button label, with the element Healenium picked outlined: the spirit level's button. Static image; capture date is not recorded in the portfolio data. Test report screenshot. Evidence the heal journal saved for a rejected heal: the lookup for the torque wrench's button label, with the element Healenium picked outlined: the spirit level's button. Static image; capture date is not recorded in the portfolio data.
Real scores on release 2: the three look-alike buttons tie (0.897 and 0.897), the error box ties with the new wrapper (0.800 and 0.800), and the wrong button label wins clearly (0.897 against 0.781). The clear-winner rule stops both ties, including the one that was right only by luck; only the review stops the third.
Static material from the public repository. The linked verification record was checked 2026-11-27; that date is not a screenshot capture date.
Local setup and execution docker compose -f infra/docker-compose.yml up -d --wait
+mvnw.cmd verify :: 41 tests, Java 21, Chrome, Docker
+dir target\healing :: heal journal, review reports, screenshotsKnown limitations The demo shop and its redesign were written for this project; another application will heal better or worse Self-healing cannot tell look-alike siblings apart; stable test hooks such as data-testid are still needed Reviewed heals are not written back to the page objects: the locator should still be fixed in code The demo shop and its redesign are written for the project; healing quality on another application will differ, and reviewed heals still need fixing in the page objects. Previous project Testing Third-Party APIs with WireMock Next project Mutation Testing with PIT Back to Projects