SDET / SOFTWARE TEST & AUTOMATION ENGINEER608 / 608 Verified Baseline Passing

ANKIT PANDEY

“I test systems end to end — from the interface and API to the database, queues, state and failure paths.”

Specializing in cross-layer test architecture, asynchronous queue validation, race-condition detection, and deep defect investigation. Focused on making software provably reliable through rigorous evidence.

Core Test Suite608 / 608100% Pass Rate in CI
API & Integration277 TestsControllers & DB Locks
Tracked Regressions9 RegressionsAsserted via test.fail()
k6 Benchmark8,272 req/sLocal Load Evidence
// Competency Domain

Full SDET Capability Matrix

Verified testing capabilities demonstrated across full-stack payments infrastructure. Proving architecture understanding, state verification, and forensic root-cause analysis.

PlaywrightVERIFIED IN WRIGHTPAY

UI & E2E Automation

Multi-page stateful flows, page object models, cross-browser chromium/firefox/webkit fixtures, dynamic data teardown.

Evidence:49 E2E Tests (100% Pass)
NestJS / JestVERIFIED IN WRIGHTPAY

REST API & Contracts

Complete controller contract audits, DTO schema validation, query parameter validation, status code invariants (200-500).

Evidence:277 API Integration Tests
JestVERIFIED IN WRIGHTPAY

Unit & Pure Logic

Argon2 crypto verification, triangular currency exchange calculations, Luhn card algorithms, ledger fee rules.

Evidence:130 Unit Tests (1.73s Runtime)
PostgreSQLVERIFIED IN WRIGHTPAY

Database State Validation

PostgreSQL transaction rollback checks, pessimistic row-level locking (SELECT FOR UPDATE) for double-spend prevention, cascading foreign keys.

Evidence:Direct DB Assertions in 277 API tests
RedisVERIFIED IN WRIGHTPAY

Redis & Idempotency

Distributed locking via SET NX EX, SHA-256 payload hashing, 24h key TTL lifecycle, duplicate request suppression.

Evidence:WP-QA-007 Investigation & Replay Tests
BullMQVERIFIED IN WRIGHTPAY

BullMQ & Asynchronous Queues

Async transfer worker state machines, 3x exponential backoff retries, queue backlog draining, job failure path testing.

Evidence:WP-QA-001 & Fault Injection Specs
Race TestingVERIFIED IN WRIGHTPAY

Concurrency & Race Conditions

Parallel transfer submissions against same wallet, idempotency lock race condition analysis, simultaneous payout verification.

Evidence:WP-QA-007 Lock Stalling Proof
k6VERIFIED IN WRIGHTPAY

Performance & Load Testing

Deterministic VU load profiling, uncontended read baselines, CPU-intensive Argon2 auth spikes, high-concurrency read scenarios.

Evidence:142k Requests, 8.2k req/s (Local Load)
Axe-CoreVERIFIED IN WRIGHTPAY

Accessibility (WCAG 2.1 AA)

Axe-core rule audits across 12 routes, focus trap verification, modal dialog roles, keyboard navigability, contrast compliance.

Evidence:26 Automated Scans (9 Defects Logged)
Multi-ViewportVERIFIED IN WRIGHTPAY

Responsive & Breakpoints

Automated viewport matrix testing at 375px, 390px, 768px, 1024px, 1440px; horizontal 2D overflow detection.

Evidence:36 Breakpoint Tests (6 Defects Logged)
Chaos / MocksVERIFIED IN WRIGHTPAY

Error Handling & Resilience

Route interception simulating HTTP 400, 401, 404, 409, 500, and network dropouts; UI error-boundary validation.

Evidence:44 Negative & Fault Tests
JWT / 401VERIFIED IN WRIGHTPAY

Authentication & Session

Token expiration simulation, unauthorized interceptor redirection, timer leak prevention in transfer polling loops.

Evidence:46 Session Expiry Tests
Defect AnalysisVERIFIED IN WRIGHTPAY

Root-Cause Investigation

Isolating subtle failure modes, tracing Node.js code to SQL driver and Redis commands, writing reproduction specs.

Evidence:28 Confirmed Defects Documented
test.fail()VERIFIED IN WRIGHTPAY

Regression Engineering

Maintaining green main baseline while asserting known active defects via test.fail() annotations for zero false positives.

Evidence:9 Tracked Known Defect Regressions
ExperimentalEXPERIMENTAL

AI-Assisted Testing

Autonomous Playwright planners, self-healing selector agents, multi-agent API+UI test strategists, failure diagnosis agents.

Evidence:7 Technical Journal Walkthroughs
// Flagship Engineering Project

WrightPay: Cross-Border Payments QA Architecture

A multi-tier payments platform built specifically to exercise asynchronous settlement queues, distributed locks, database state machines, and high-concurrency race conditions.

Explore 18-Section Case Study
// Full-Stack Architecture & Test Injection Topology

How Tests Attach to WrightPay's Distributed System

Real Data & Control Flow

2. Backend REST API Layer(NestJS / TypeScript / Express)

Route handling, JWT auth guards, DTO validation pipes, controller orchestration.

Tests Attached: Jest / Supertest API Integration (277 tests, 100% pass)

State Invariants Asserted at this Layer:

  • ✓Strict Bearer token validation and user ownership checks
  • ✓Deterministic status codes (200, 201, 400, 401, 404, 409)
  • ✓UUID path parameter validation via ParseUUIDPipe

Verified Test Execution Breakdown (608 Core Baseline)

Runtime: < 35 seconds
Jest
VERIFIED PASS
130/ 130 tests

Jest Unit Suite

Pure business logic, Argon2 hashing, FX currency math, DTO transformation, and fee calculation algorithms.

Key Invariants Verified:

  • •Zero floating point rounding error on multi-currency conversions
  • •Deterministic Argon2 password salt/hash verification
  • •Valid card Luhn algorithm validation
Jest / Supertest
VERIFIED PASS
277/ 277 tests

Backend API & Integration

End-to-end HTTP contract testing across all 8 NestJS REST controllers with PostgreSQL transactions.

Key Invariants Verified:

  • •Strict bearer token authentication guards on private endpoints
  • •Pessimistic row-level lock (SELECT FOR UPDATE) prevents double-spend
  • •TypeORM transaction rollback on balance exhaustion
Playwright
VERIFIED PASS
49/ 49 tests

Frontend Functional / E2E

Multi-step user journey workflows across Next.js UI from authentication through transfer execution.

Key Invariants Verified:

  • •Recipient creation, validation, and auto-population in transfer form
  • •Real-time exchange rate quote recalculation on amount change
  • •Wallet multi-currency equivalent tab rendering
@axe-core/playwright
VERIFIED PASS
26/ 26 tests

Accessibility (WCAG 2.1 AA)

Automated WCAG 2.1 AA accessibility scans across all 12 application routes.

Key Invariants Verified:

  • •Input form control label associations (htmlFor/id matching)
  • •Focus trapping within active modal dialogs
  • •Color contrast minimum ratio >= 4.5:1 for normal text
Playwright
VERIFIED PASS
36/ 36 tests

Responsive Viewport Suite

Cross-breakpoint visual and interaction testing across 375px, 390px, 768px, 1024px, and 1440px.

Key Invariants Verified:

  • •Zero unscrollable horizontal 2D viewport overflow
  • •Send Money step wizard layout integrity at 375px
  • •Card detail rendering without PAN truncation
Playwright / Mock Interceptors
VERIFIED PASS
44/ 44 tests

Error Handling & Edge Cases

Fault injection and HTTP error simulations validating UI resilience and error state rendering.

Key Invariants Verified:

  • •Graceful degradation on backend 500 without crashing React tree
  • •Clear error messaging instead of misleading empty states
  • •Network dropout handling during transfer polling
Playwright
VERIFIED PASS
46/ 46 tests

Session Expiry & 401 Interceptors

Token lifecycle, automatic eviction, 401 response handling, and polling termination audits.

Key Invariants Verified:

  • •Immediate localStorage token purge on 401 response
  • •React AuthContext synchronization preventing zombie authenticated states
  • •Transfer polling timer cancellation on unauthorized responses
Playwright / test.fail()
EXPECTED FAIL
9/ 9 tests

Known Defect Regression Suite

9 automated test specifications asserting verified open defects using test.fail() to track fix readiness without breaking CI.

Key Invariants Verified:

  • •WP-QA-001: Async transfer failure wallet refund omission
  • •WP-QA-003: Non-UUID path parameter 500 error handling (3 tests)
  • •WP-QA-004: Decimal exchange rate type discrepancy
// Root-Cause Analysis

Flagship Defect Investigations

Real defects uncovered during automation. Proving deep diagnosis across BullMQ retry handlers, PostgreSQL lock contention, and contract type mismatches.

View All 8 Flagship Findings →
WP-QA-001Confirmed Functional Defect

Missing Automatic Refund on Asynchronous BullMQ Settlement Failure

When an asynchronous transfer reaches a terminal failure state in the BullMQ worker, customer funds remain permanently debited from their EUR balance without automatic restitution.

High SeverityRead Dossier →
WP-QA-002Architectural Risk

PostgreSQL Commit Precedes BullMQ Enqueue (Dual-Write Window)

If Redis suffers a transient network outage or queue memory exhaustion immediately following a database transaction commit, transfers become permanently stranded in 'PENDING_EXECUTION' with no worker pickup.

High SeverityRead Dossier →
WP-QA-003Confirmed Functional Defect

Malformed Non-UUID Path Parameters Trigger Unhandled HTTP 500

Supplying non-UUID values (e.g., 'invalid-uuid-123', 'test', 'NaN') in URL path parameters crashes with HTTP 500 Internal Server Error instead of 400 Bad Request or 404 Not Found.

Medium SeverityRead Dossier →
// Systems Thinking

The 6-Stage Engineering Approach

A systematic methodology for engineering test automation — understanding system boundaries and modeling risks before writing a single test script.

1Understand

Analyze the system architecture, data flows, and business rules before writing a single test.

2Model

Map the application layers — frontend, API, backend, database — and their interaction boundaries.

3Identify Risk

Determine where failures are most likely and most costly. Prioritize coverage accordingly.

4Automate

Build reliable, maintainable automation that validates each layer independently and together.

5Validate

Execute tests across the full stack — from UI interactions to database state verification.

6Improve

Analyze results, refine coverage, and evolve the testing architecture as the system grows.

Ready to review the full technical investigation?

Explore the complete 18-section WrightPay case study, testing matrix, code samples, and k6 telemetry.

Open WrightPay Case Study