QUALITY ENGINEERING · TEST ARCHITECTURE

How This Site Is Tested

This portfolio doubles as a live reference implementation of a production test pyramid, CI/CD quality gates, and synthetic monitoring—so the engineering practices behind the site are visible as well as the results.

CI/CD statusUnit tests statusLive E2E status
Latest Playwright report

01 / VERIFICATION

The Test Pyramid

FAST · DETERMINISTIC

Unit & Contract Tests (Vitest)

Pure TypeScript logic is tested in isolation: URL deep-link state insrc/lib/urlState.ts, dataset helpers, and data contracts. These focused checks run in milliseconds and catch regressions on every push.

USER JOURNEYS · BDD

End-to-End & BDD Tests (Playwright)

Gherkin .feature specifications, Page Object Models, and web-first assertions exercise real journeys across Home, About, Blog, and interactive Leaflet maps.

02 / DELIVERY

CI/CD & Synthetic Monitoring

  1. Pull request & push quality gates

    The unit tests workflow runs Vitest and test linting. The deployment workflow also runs unit and Playwright tests before publishing changes.

  2. Azure Static Web Apps

    The Azure deployment workflow builds and deploys the static site after its quality checks pass.

  3. Daily live-site checks

    The scheduled E2E workflow runs Playwright daily against popelnuh.com and publishes each HTML report to GitHub Pages.

03 / RESPONSIBLE AUTOMATION

AI-Assisted Engineering Guardrails

AGENTS.md defines the project's engineering boundaries: keep UI selectors and browser interactions in Page Objects, use semantic locators, and assert user-visible outcomes. Deterministic unit contracts and end-to-end suites provide repeatable verification when coding agents or Playwright CLI assist with changes.

04 / TRANSPARENCY

Inspect the Code