diff --git a/README.md b/README.md index 673afd3..8f590c8 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 32-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 33-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 32 projects; cards remain available without JavaScript | +| `projects.html` | Searchable collection of all 33 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 32-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 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. 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 35 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 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. ```bash python -m pip install playwright==1.63.0 ruff==0.17.1 Pillow==11.3.0 diff --git a/img/java-backend.jpg b/img/java-backend.jpg new file mode 100644 index 0000000..f8a18dd Binary files /dev/null and b/img/java-backend.jpg differ diff --git a/img/social/java-backend-course.jpg b/img/social/java-backend-course.jpg new file mode 100644 index 0000000..ebeb2da Binary files /dev/null and b/img/social/java-backend-course.jpg differ diff --git a/index.html b/index.html index 8d054d1..cbcac9a 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ - + @@ -23,7 +23,7 @@ Niranjan Kumar Agri @@ -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, IndiaOpen to European relocation

Explore projects Download CV
- +
GitHubLinkedInEmail
Portrait of Niranjan Kumar Agri in a dark navy suit and white shirt @@ -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 32 projects
+

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
+
+ Smoke test against the live Airbnb backend on Render, 22 Nov 2026: register, listing, search, booking, a second booking of the same nights refused with 409, PASSED +
+

Project | Web & API, CI/CD

+

Java Backend Course: a Live Airbnb Backend

+

My work for a Java backend course, session by session, one pull request per day: Java and Maven, Spring MVC and Boot, JDBC and JPA, testing…

+

On 22 Nov 2026: 459 tests in 23 modules passed on JDK 17 and JDK 25 in CI; the Airbnb backend is live at https://airbnb-backend-u7lv.onrender.com and its smoke test (register, listing, search, booking, no double booking) passed against it.

Historical repository or workflow evidence

+ +
+
Case study Source
+

Evidence checked 22 Nov 2026 | CI run on main

+
+
-

Browse without scripts

Search, sorting, previews and comparison need JavaScript. The complete collection of 32 project links and their evidence remain available above.

+

Browse without scripts

Search, sorting, previews and comparison need JavaScript. The complete collection of 33 project links and their evidence remain available above.

Project preview

Project preview

diff --git a/projects/enterprise.html b/projects/enterprise.html index 2fc2306..b1ed79a 100644 --- a/projects/enterprise.html +++ b/projects/enterprise.html @@ -41,7 +41,7 @@

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.

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 sourceautomation/src/test/java/com/enterprise/automation/tests

Architecture 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 sourceautomation/src/test/java/com/enterprise/automation/tests
Pages, 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 sourceautomation/src/main/java/com/enterprise/automation
Driver 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 sourceautomation/src/main/java/com/enterprise/automation/driver
Application 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 sourcedemo-app/src/main/java/com/enterprise/demoapp
Execution 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 sourceautomation/src/main/java/com/enterprise/automation/reporting

Technology and tools

AreaTools
Language / buildJava 17, Maven (multi-module)
Test runnerTestNG 7.12
UISelenium 4 (local and Selenium Grid)
APIREST Assured 6, Jackson, JSON Schema validation
DatabaseJDBC (H2), parameterised queries
Assertions / dataAssertJ, Datafaker, JSON and CSV files
Logging / reportingSLF4J + Logback per thread and test; Allure 3
ContainersDocker, docker compose, Selenium Grid (hub + Chrome, Firefox, Edge nodes)
CI/CDGitHub Actions, Dependabot, dependency review, Checkstyle

Layers and responsibilities

LayerResponsibilityExamples
TestsWhat is checked, in business terms; no Selenium, HTTP or SQLtests/api, tests/ui, tests/db, tests/integration, tests/e2e
Pages, API services, DB queriesOne class per screen, API resource or query area; the only place that knows locators, endpoints and SQLpage objects, service objects, query classes
Components and clientsReusable UI components, the REST client, the query executor, waits on real stateApiClient, QueryExecutor, components
Driver and configurationBrowser per thread (local or Grid), layered configuration, secrets from the environmentDriverFactory, configuration loader
Execution and evidenceRetry policy for infrastructure failures, logging, Allure steps and attachmentslisteners, 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

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:

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: | Open dated evidence

Evidence explorer

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.

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.
Allure overview of a smoke run

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. The Docker Selenium Grid used by the nightly run. Static image; capture date is not recorded in the portfolio data.
Selenium Grid console with Chrome, Firefox and Edge nodes

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.

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.
Allure report showing a deliberately failing demo check

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.

Dated workflow record

Evidence checked 2026-11-19. Open Nightly regression #103 on main

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 tests

Requirements: JDK 17+, Maven 3.9+, Chrome or Edge; Node.js for the Allure CLI. Full instructions in the README.

Workflow and reports

View workflow definition.

Known limitations

Back to Projects

+docker compose -f docker/docker-compose.yml up --build --abort-on-container-exit --exit-code-from tests

Requirements: JDK 17+, Maven 3.9+, Chrome or Edge; Node.js for the Allure CLI. Full instructions in the README.

Workflow and reports

View workflow definition.

Known limitations

Back to Projects