Automation & Test Artifacts

Automated testing covers unit, UI, API, database, accessibility, performance, cross-browser, and continuous integration layers for the Full-Stack QA Automation Project.

JEST UNIT TESTING

Contact Validation

15 isolated tests validate required fields, whitespace handling, email-format validation, and validation error behavior.

100% statement, branch, function, and line coverage for contactValidation.js.

JEST UNIT TESTING

Authentication Validation

13 isolated tests validate authentication input rules, including email normalization, registration validation, login validation, and password requirements.

Contact and authentication validation together provide 28 Jest unit tests.

Selenium & Playwright Automation

Browser automation validates navigation, form behavior, authentication workflows, protected routes, regression scenarios, accessibility, and cross-browser application behavior.

SELENIUM WEBDRIVER

Java · TestNG · Maven

Selenium WebDriver provides browser-based functional and regression automation using Page Object Model structure and reusable page actions.

  • Navigation and page-content validation
  • Contact form workflows and negative scenarios
  • Reusable Page Object Model structure
  • Chrome · Firefox · Edge browser support
  • TestNG execution and Allure reporting
PLAYWRIGHT

JavaScript

Playwright provides end-to-end browser automation for application workflows, authentication behavior, regression testing, and cross-browser validation.

  • Portfolio and contact-form workflows
  • Registration, login, logout, and Account workflows
  • Guest, user, and admin access validation
  • Session persistence and protected-route behavior
  • Chromium · Firefox · WebKit browser projects
ACCESSIBILITY TESTING

Playwright + axe-core

Coverage

  • Full-page WCAG-oriented automated scans
  • Color-contrast validation
  • Accessible names and required semantics
  • Keyboard focus and Enter activation
  • Authentication navigation focus-state validation
  • Contact-form keyboard focus order

Defect Coverage

  • DEF-003 — Home CTA color contrast
  • DEF-004 — Architecture label color contrast
  • DEF-005 — Authentication navigation contrast
  • DEF-006 — Authentication link keyboard-focus contrast
  • Accessibility regression coverage remains automated

Accessibility defect cycle: automated scans identified multiple real contrast defects in the application. The affected styles were corrected and retained in regression coverage, including keyboard-focus behavior for the authentication navigation link.

Automated accessibility checks support regression testing but do not establish complete WCAG compliance or replace manual accessibility assessment.

API Test Automation & Validation

REST Assured · Playwright API · Ajv · JSON Schema Validator · Postman

API automation validates HTTP behavior, exact responses, validation errors, authentication state, authorization rules, API contracts, and related database state.

GET

/api/status

Validates backend availability and the expected application status response.

  • 200 OK response validation
  • Exact status and message verification
  • Required properties and data types
  • JSON Schema validation
POST

/contact

Validates contact-form requests, server-side input handling, response behavior, and PostgreSQL persistence.

  • Valid request: 200 OK
  • Missing or invalid input: 400 Bad Request
  • Exact success and error-message verification
  • JSON Schema validation
  • Database record verification
POST

Registration & Login

Validates account creation, login behavior, credential handling, and authenticated session creation.

  • /api/auth/register — successful registration
  • Email normalization and duplicate-email handling
  • Default user role verification
  • Client-supplied admin role is not accepted
  • /api/auth/login — successful existing-user login
  • Wrong password and unknown email return the same generic 401 response
GET / POST

Session Lifecycle

Validates authenticated identity state and session invalidation through the server-managed authentication session.

  • GET /api/auth/me — authenticated user validation
  • Unauthenticated request returns 401
  • POST /api/auth/logout — logout validation
  • Authenticated session becomes invalid after logout
  • Session behavior is exercised through the real session cookie
GET

/api/auth/admin

Validates authentication and User / Admin role-based authorization for the protected Admin API.

  • Guest request: 401 Unauthorized
  • Authenticated user: 403 Forbidden
  • Authenticated admin: 200 OK
  • Backend RBAC enforcement
AUTOMATION

Validation Approach

API behavior is checked through automated HTTP requests with response, schema, authentication, and backend-state assertions.

  • REST Assured automation in Java
  • Playwright API automation in JavaScript
  • Ajv and JSON Schema validation
  • Positive and negative scenarios
  • Database verification where applicable
  • Parameterized SQL used for related database checks

Apache JMeter

Performance testing evaluates application response times, stability, and behavior under different workload conditions.

BASELINE TESTING

Reference Performance

Establishes a stable performance reference using a controlled workload for comparison with higher-load test results.

LOAD TESTING

Expected Workload

Measures application response times and behavior under expected concurrent user load.

STRESS TESTING

High Workload

Evaluates application stability and behavior when workload exceeds normal operating conditions.

Test Coverage & Execution Evidence

The QA portfolio contains automated coverage across unit, UI, API, database, accessibility, and performance testing. Test counts below represent unique automated cases across the independent test projects.

AUTOMATION CATALOGUE

129 Unique Automated Cases

Selenium: 42 · Playwright: 52 · Jest: 28 · JMeter: 7

SELENIUM

42 Unique Cases

Java automation covering browser workflows, APIs, and PostgreSQL validation.

  • 25 UI cases
  • 15 API cases
  • 2 database cases
  • TestNG · Maven · Allure

View Selenium Repository ↗

PLAYWRIGHT

52 Unique Cases

JavaScript automation covering UI, API, database, authentication, accessibility, and cross-browser behavior.

  • 24 UI cases
  • 20 API cases
  • 6 accessibility cases
  • 2 database cases
  • 100 configured full-suite executions
  • Latest full local run: 100 passed / 0 failed / 0 skipped

View Playwright Repository ↗

JEST

28 Unit Tests

Isolated server-side validation tests for contact and authentication logic.

  • 15 contact-validation tests
  • 13 authentication-validation tests
  • Runs without browser or database dependencies
  • 100% coverage verified for contactValidation.js

View Application & Jest Tests ↗

JMETER

7 Performance Cases

Performance coverage evaluates application behavior under controlled workload conditions.

  • Smoke and baseline validation
  • Load testing
  • Stress testing
  • Performance reports and execution artifacts

View JMeter Repository ↗

CI/CD

GitHub Actions

Automated workflows provide repeatable test execution with the application and PostgreSQL test environment.

TEST EVIDENCE

Reports & QA Artifacts

Automation results are supported by test reports and structured QA documentation.

The portfolio contains 129 unique automated cases across the Selenium, Playwright, Jest, and JMeter projects. Playwright's latest full local run completed 100 configured executions with 100 passed.