Halmurat T.
Halmurat T.

Senior SDET

Home Blog Books ask About

The Dispatch

Weekly QA notes from the trenches.

Welcome aboard!

You're on the list. Expect real-world QA insights — no fluff, no spam.

© 2026 Halmurat T.

Automation 29
  • Selenium
  • Playwright
  • Appium
  • Cypress
AI Testing 68
CI/CD 13
  • GitHub Actions
  • Slack Reporting
QA Strategy 11
Case Studies 9
§ Journal · Archive

Blog

All (130) Automation (29) AI Testing (68) CI/CD (13) QA Strategy (11) Case Studies (9)
Case Studies
November 12, 2026 / 12 min

We Deleted 612 Redundant Tests and Caught More Bugs

How we used per-test coverage overlap and mutation testing to delete redundant tests from a 2,140-test suite: the criteria, the dead ends, and the politics.

Filed under case-study /war-story
CI/CD
November 12, 2026 / 14 min

Playwright Test Locks Don't Cross Shards. Pin Them.

Playwright test locks only coordinate tests inside one run. Each CI shard is its own run, so 8 of 12 locked tests failed in my demo. Pin them to one job.

Filed under playwright /parallel-execution
AI Testing
November 10, 2026 / 15 min

A Chatbot Confidence Score That Never Drops Is a Bug

Chatbot confidence score always high, even on nonsense? That's a bug, not a strong model. How to measure calibration, fix it, route on it, and test it in CI.

Filed under ai-testing /war-story
QA Strategy
November 10, 2026 / 10 min

Test Failure Triage Has One Question: App or Test?

Test failure triage starts with one question: did the app change, or the test? A 2-step isolation and last-known-good protocol classifies every red test fast.

Filed under qa-strategy /playwright
Automation
November 10, 2026 / 10 min

Playwright 1.64 Breaking Changes: Gate Every Upgrade

Playwright 1.64 breaking changes can turn red tests green. Pin the exact version, run each release in a canary lane, and promote once failures are explained.

Filed under playwright /testing
AI Testing
November 5, 2026 / 17 min

AI Agents Hallucinate Domains: --allowed-origins Leaks

AI agents navigate to hallucinated domains when nobody gives them a URL. In my tests, Playwright MCP's --allowed-origins still let Chrome connect first.

Filed under ai-testing /ai-agents
AI Testing
November 5, 2026 / 14 min

readOnlyHint: true, Yet Playwright's MCP Tools Write Files

Playwright 1.65.0 still marks test_run and generator_write_test readOnlyHint: true, so auto-approve MCP clients skip the prompt. Here's a checker to catch it.

Filed under ai-testing /ai-agents
CI/CD
November 3, 2026 / 16 min

Trivy and Grype Miss Chromium in Playwright Docker Images

Trivy and Grype found 0 Chromium CVEs when I scanned the Playwright Docker image. How to scan Playwright Docker images properly, and a CI gate that catches it.

Filed under docker /github-actions
Automation
November 3, 2026 / 18 min

Playwright Test Agents in Java: Plan, Generate, Heal

Playwright Test Agents for Java aren't planned. This MCP, CLI and Browser.bind() setup still planned, wrote and healed 25 TestNG tests in a Maven project.

Filed under playwright /java
AI Testing
October 29, 2026 / 15 min

Parallel Playwright MCP Agents Need Their Own Connection

Parallel agents on one Playwright MCP connection overwrite each other, and isolatedContext won't stop it. Real runs, plus the per-agent setup that went 12/12.

Filed under ai-testing /playwright
QA Strategy
October 29, 2026 / 11 min

Agentic Testing vs Playwright Tests: Who Gets the PR Gate?

Agentic testing vs Playwright tests answer different questions. A 60-run demo plus Slack's 200-run study show which one earns the PR gate, and where agents fit.

Filed under qa-strategy /playwright
AI Testing
October 27, 2026 / 15 min

Playwright 1.65 Quietly Changed What Agents See

Playwright 1.65 aria snapshot changes rename buttons, drop collapsed text, and block inert actions. Pin one version for tests and MCP, and diff what agents see.

Filed under ai-testing /playwright
Automation
October 27, 2026 / 18 min

Nothing Validates WebMCP Inputs: Write Tool Contract Tests

Chrome runs WebMCP tools on input that breaks their own schema. These WebMCP tool contract tests in Playwright TypeScript and Java catch it before agents do.

Filed under playwright /api-testing
AI Testing
October 22, 2026 / 16 min

Your Agent Acts on Half-Streamed Tool-Call JSON

Streamed tool-call arguments are invalid JSON until the final chunk — here's the Playwright pattern that stops your AI agent from acting on half-parsed args.

Filed under ai-testing /ai-agents
AI Testing
October 22, 2026 / 15 min

The Agent Passed. The Send Button Was Still Broken.

Playwright MCP hands page WebMCP tools to agents by default. In my runs, agents routed around a broken button and said PASS. Here's the --no-webmcp gate.

Filed under ai-testing /playwright
AI Testing
October 20, 2026 / 12 min

Your Agent's Confirm Dialog Is Safety Theater

Your Playwright test checks the confirm dialog renders — not that the irreversible action was blocked. Test the human-in-the-loop approval gate properly.

Filed under ai-testing /ai-agents
AI Testing
October 20, 2026 / 14 min

Your Stop Button Lies: Tokens You Still Pay For

Hitting Stop on a streaming AI response clears the UI but leaves the LLM call running and billing. Here's how to test stream cancellation with Playwright.

Filed under ai-testing /playwright
AI Testing
October 15, 2026 / 12 min

Your AI Agent Retries and Charges the Card Twice

A tool call commits but the response is lost, so your AI agent retries and double-charges. Here's the Playwright test a senior SDET writes for exactly-once.

Filed under ai-testing /ai-agents
Automation
October 15, 2026 / 16 min

Shuffle AI-Generated Playwright Tests on 4 Workers, Not 1

Shuffle AI-generated Playwright tests on one worker and nothing fails. At four workers, 21 broke. Here is the probe, the isolated-retry check and the lock fix.

Filed under playwright /testing
AI Testing
October 13, 2026 / 17 min

Your AI Feature Has Three Clocks. They Disagree.

Your browser clock, your server clock, and the model's idea of now rarely agree. Pin all three in Playwright before a date bug quietly reaches production.

Filed under ai-testing /llm
AI Testing
October 13, 2026 / 15 min

Your AI Failed Over to a Model You Never Tested

Your gateway fails over to a backup model the moment the primary 429s — and every eval you own pinned the primary. Here's how to gate the fallback path.

Filed under ai-testing /llm
AI Testing
October 8, 2026 / 13 min

A Safer Model Can Quietly Refuse Your Real Users

A model upgrade that refuses benign requests passes every test you own — the div fills, the assertion holds. Build an over-refusal suite in Playwright.

Filed under ai-testing /llm
AI Testing
October 8, 2026 / 13 min

Your AI Guesses When It Should Say 'I Don't Know'

Your AI invents an answer when the data isn't there — a liability, not a UX gap. Build a Playwright abstention suite that proves it says 'I don't know.'

Filed under ai-testing /playwright
AI Testing
October 6, 2026 / 16 min

Your AI Feature Works at 5 Docs and Breaks at 50

Your AI feature passes with three test documents and degrades at fifty. Build a Playwright context-length gate that finds the cliff before production does.

Filed under ai-testing /llm
AI Testing
October 6, 2026 / 14 min

Stop Judging Every AI Assertion With Another LLM

LLM-as-judge is slow, costs money, and is non-deterministic. Build a Playwright semantic assertion matcher with golden embeddings and cosine similarity instead.

Filed under ai-testing /playwright
AI Testing
October 1, 2026 / 13 min

Your 30-Case AI Eval Can't Tell If the Model Got Worse

You upgraded the model, reran your 30-case AI eval, and it passed. That comparison is statistically meaningless. Here's the paired-test math a senior SDET uses.

Filed under ai-testing /llm
AI Testing
October 1, 2026 / 14 min

Your Agents Pass Alone and Fail at the Handoff

Multi-agent LLM systems fail 41-86.7% of the time and the bug lives at the handoff, not in the agents. How to test agent-to-agent contracts in Playwright.

Filed under ai-testing /ai-agents
AI Testing
September 29, 2026 / 15 min

Your Agent Has More Permissions Than Your User

AI agents call tools with service credentials, so user authorization vanishes at the tool boundary. Test the confused deputy in Playwright before an auditor.

Filed under ai-testing /ai-agents
AI Testing
September 29, 2026 / 13 min

Stop Testing the DOM: Generative UI Needs Contract Tests

When the LLM picks which components render, DOM assertions become a coin flip. Here's the contract-test layer that makes generative UI testable in Playwright.

Filed under ai-testing /playwright
AI Testing
September 24, 2026 / 15 min

Playwright Healer Found the Bugs, Then Skipped the Tests

Playwright's team says you're better off without the healer agent. In my demo it found both regressions, marked them test.fixme(), and the CI run exited 0.

Filed under ai-testing /playwright
CI/CD
September 24, 2026 / 13 min

Cypress vs Playwright CI Cost in 2026: The Real Math

The viral 2.5x Cypress vs Playwright CI cost claim gets 2026 wrong twice: runner minutes gap is 1.5x, and Cypress Cloud billing can push it past 7x total.

Filed under cicd /github-actions
AI Testing
September 22, 2026 / 14 min

Your Semantic Cache Test Passes. The Cache Still Leaks.

Your semantic cache serves a near-miss query the wrong user's answer and the DOM test stays green. How to test cache false hits and leaks in Playwright.

Filed under ai-testing /llm
CI/CD
September 22, 2026 / 3 min

Quick Tip: Diff Passing vs Failing Playwright Traces

Playwright's retain-on-failure-and-retries trace mode keeps the passing retry's trace too. Diff it against the failing attempt and the flake explains itself.

Filed under playwright /cicd
AI Testing
September 17, 2026 / 14 min

Temperature 0 Isn't Deterministic — Your AI Test Is Flaky

Temperature 0 gives you greedy decoding, not reproducibility. Batch size on the server flips tokens — here's what your Playwright tests should assert instead.

Filed under ai-testing /playwright
QA Strategy
September 17, 2026 / 12 min

We Budget 30% of Every Sprint for Flaky Tests

Your flaky test maintenance budget already exists — unbudgeted, invisible, billed to velocity. Here's the argument that gets leadership to fund it on purpose.

Filed under qa-strategy /leadership
Case Studies
September 15, 2026 / 15 min

A Self-Healing Locator Hid a Bug for 3 Weeks

A self healing test false positive kept our suite green for 23 days while paid checked bags vanished from real bookings. The heal log, the postmortem, the fix.

Filed under case-study /war-story
QA Strategy
September 15, 2026 / 14 min

The Only QA Job Left in 2026 Is the One That Codes

The SDET job market in 2026 is collapsing three QA roles into one, and AI is the accelerant. Who's at risk, what screens you out, and what to learn first.

Filed under qa-strategy /sdet-career
AI Testing
September 10, 2026 / 12 min

Don't Use Playwright Agents Until It's Boring

When to use Playwright AI agents: not until your suite is boring. The readiness floor nobody defends, why 200 tests is the wrong gate, and how to score yours.

Filed under ai-testing /playwright
AI Testing
September 10, 2026 / 14 min

Your AI Chat Leaks Data Through a Rendered Image

Your Playwright tests assert the AI answer and never see the image tag it rendered. Build an LLM output render-sink contract test that catches the leak.

Filed under ai-testing /playwright
AI Testing
September 8, 2026 / 16 min

Your Checkout Works. An AI Agent Can't Finish It.

AI browser agents are real traffic now, and they stall on flows your users pass. Build a Playwright agent-readiness gate that catches the breakage in CI.

Filed under ai-testing /ai-agents
CI/CD
September 8, 2026 / 15 min

Our AI E2E Suite Cost $400 a Day in CI

Our LLM E2E test CI cost hit $403 a day because tokens grow quadratically with every agent step. Here's where the money went, and the fix that finally worked.

Filed under cicd /ai-testing
AI Testing
September 3, 2026 / 13 min

Your Playwright Timeouts Are Wrong for AI Features

AI features have a 5-10x p50-to-p99 latency gap driven by cold starts and queuing. A single fixed Playwright timeout can't tell a slow model from a broken one.

Filed under ai-testing /playwright
AI Testing
September 3, 2026 / 14 min

Gate Time-to-First-Token, Not Total Latency

Your AI chat's total-latency SLO passes while users watch a blank box. Measure time-to-first-token in Playwright and gate CI on the p95 users actually feel.

Filed under ai-testing /playwright
Case Studies
September 1, 2026 / 18 min

Selenium to Playwright Migration: 1,400 Never Made It

A 6-month enterprise Selenium to Playwright migration: 4,000 tests in, 2,600 out. The audit, the codemod that failed, the deletion fight, and the regrets.

Filed under case-study /migration
CI/CD
September 1, 2026 / 13 min

Performance Tests Don't Belong in Your PR Pipeline

A performance testing CI pipeline strategy that survives reality: block merges on deterministic checks only, and run statistical load tests nightly instead.

Filed under cicd /performance-testing
CI/CD
August 27, 2026 / 21 min

Ephemeral Docker Envs Beat Shared Staging

Build a Docker Compose ephemeral test environment per PR in CI: healthchecks that don't lie, seeded Postgres, teardown, and what it actually costs at scale.

Filed under cicd /docker
Automation
August 27, 2026 / 18 min

Playwright vs Puppeteer 2026: When Puppeteer Wins

Playwright vs Puppeteer — when to use each in 2026. Playwright owns E2E testing, but it can't render a PDF outside Chromium and has no serverless story.

Filed under playwright /framework-design
AI Testing
August 25, 2026 / 20 min

3 AI Testing Tools Hid the Bugs I Planted (2026)

An honest AI testing tool evaluation: three self-healing tools, one enterprise suite, six planted bugs. Heal rates hit 87% — and every tool hid real ones.

Filed under ai-testing /self-healing
QA Strategy
August 25, 2026 / 17 min

The SDET Bus Factor Nobody Talks About

Every enterprise test framework has a bus factor of 1. Test framework knowledge silo risk hides in the concurrency layer — and documenting it won't save you.

Filed under qa-strategy /leadership
AI Testing
August 20, 2026 / 14 min

Your AI Agent Is Looping, and No Test Caught It

A max-iterations cap hides livelock instead of catching it. Here's the Playwright test a senior SDET writes to detect cyclic tool calls before they hit prod.

Filed under ai-testing /ai-agents
QA Strategy
August 20, 2026 / 21 min

Your QA Metrics Are Lying to Leadership

Pass rate and coverage are the QA test metrics most misleading to leadership. The three that actually predict quality — and how to sell the switch upward.

Filed under qa-strategy /leadership
AI Testing
August 18, 2026 / 15 min

Your Grounding Tests Pass. Retrieval Recall Dropped.

You upgraded the embedding model, your RAG grounding tests stayed green, and retrieval recall quietly dropped. Here's the recall@k gate that catches it.

Filed under ai-testing /llm
AI Testing
August 13, 2026 / 15 min

Your AI Bug Reports Are Beautiful and Unreproducible

Our agent filed beautiful bug reports and triage time went up. AI generated bug report quality is a gating problem, not a prompting one — here's the contract.

Filed under ai-testing /ai-agents
Case Studies
August 11, 2026 / 19 min

We Quarantined Flaky Tests — The 6-Month Cost

A flaky test quarantine that grew from 8 to 287 skipped tests in six months. The enterprise cost: 12 of them were quietly catching real production bugs.

Filed under case-study /war-story
AI Testing
August 6, 2026 / 14 min

Agentic AI Said the Test Passed. It Didn't.

An agent called our checkout green while the tax was wrong by $4.10. On agentic AI test pass/fail reliability, the verdict is the one job an agent can't have.

Filed under ai-testing /ai-agents
AI Testing
August 6, 2026 / 13 min

Your AI Test Failed. Prove Which Prompt Did It.

A failed AI test hands you a DOM diff and nothing else. Wire W3C trace context from Playwright into OpenTelemetry GenAI spans and assert on the trace instead.

Filed under ai-testing /playwright
AI Testing
August 4, 2026 / 13 min

Your Parallel AI Tests Are Racing the Prompt Cache

Eight Playwright workers hit the same prompt prefix and all miss the cache. Why your AI tests flake on timeouts — and how to make prompt caching deterministic.

Filed under ai-testing /playwright
AI Testing
July 30, 2026 / 15 min

Your Agent Obeys Turn 1 and Forgets It by Turn 8

Single-turn Playwright tests pass while your agent forgets a constraint the user set six turns ago. Test multi-turn conversation memory in CI before it ships.

Filed under ai-testing /ai-agents
AI Testing
July 30, 2026 / 13 min

Your Parallel AI Tests Fail on 429s, Not the Model

Your Playwright AI suite flakes in CI but not locally. It's not the model — it's parallel workers slamming the provider's TPM limit into 429s. Here's the fix.

Filed under ai-testing /playwright
AI Testing
July 28, 2026 / 13 min

Your Agent Tests Pass Because Its Tools Never Fail

Your AI agent looks robust because CI only ever runs it against tools that succeed. Fault-inject the tool layer in Playwright and test how the agent recovers.

Filed under ai-testing /ai-agents
AI Testing
July 28, 2026 / 12 min

A Correct RAG Answer Can Still Be Hallucinated

Your RAG feature returned the right answer and a green Playwright test — but nothing proved it came from what it retrieved. Here's how to test grounding.

Filed under ai-testing /llm
AI Testing
July 23, 2026 / 11 min

Your AI Test Should Be Allowed to Fail — By Design

Asserting an AI feature passes in one Playwright run is a lie you'll pay for in CI. Here's the pass@k math a senior SDET uses to gate flaky LLM tests.

Filed under ai-testing /playwright
AI Testing
July 21, 2026 / 14 min

Context Engineering vs Prompt Engineering: Karpathy's Method

Karpathy's context engineering vs prompt engineering verdict, distilled for SDETs: why context wins and what it means for Copilot and Playwright AI agents.

Filed under ai-testing /llm
AI Testing
July 16, 2026 / 13 min

Stop Asserting Clicks: Trajectory Tests for Browser Agents

Exact-step assertions make browser-agent tests flaky by design. Record the trajectory and assert invariants — goal, forbidden actions, step budget — instead.

Filed under ai-testing /ai-agents
AI Testing
July 16, 2026 / 13 min

Mocked AI Tests Pass. That's How Model Drift Ships.

Mocking the LLM keeps your Playwright suite green — and blind to model drift. Build a scheduled real-model eval gate that catches LLM drift before users do.

Filed under ai-testing /llm
AI Testing
July 14, 2026 / 12 min

Put a Token Budget on Your Playwright AI Agents

Playwright's healer and generator agents loop on tokens. Without a per-PR AI token budget that fails the build, CI cost scales with flakiness, not value.

Filed under ai-testing /playwright
AI Testing
July 14, 2026 / 13 min

Your Playwright Traces Leak PII to the LLM

Piping Playwright traces to an LLM for triage? That trace.zip carries network bodies, tokens, and customer PII to a third party. Build the redaction gate first.

Filed under ai-testing /playwright
AI Testing
July 9, 2026 / 13 min

Your AI Agent's Tool Calls Come Out of Order

Parallel AI tool calls arrive in a different order every run, flaking your ordered Playwright assertions. Assert the set and the real dependencies instead.

Filed under ai-testing /ai-agents
AI Testing
July 9, 2026 / 16 min

Run Playwright's Healer in Shadow Mode Before You Trust It

Everyone quotes a heal rate for Playwright's Healer. Nobody sourced it. Build a shadow-mode harness and measure self-healing precision on your own suite.

Filed under ai-testing /playwright
AI Testing
July 7, 2026 / 13 min

Test What Your AI Agent Does, Not What It Says

Your AI agent test is green because you asserted on its reply. Assert on the tool calls it makes in Playwright instead — the pattern for agentic features.

Filed under ai-testing /ai-agents
AI Testing
July 7, 2026 / 12 min

Your LLM Judge Is the Flakiest Test in Your Suite

Using an LLM-as-judge to assert on AI output in Playwright? You just multiplied two flaky systems. Here's how a senior SDET makes the judge reproducible.

Filed under ai-testing /playwright
AI Testing
July 2, 2026 / 13 min

Generate Playwright Tests With AI Once, Then Freeze

AI-generated Playwright tests don't belong in your CI loop. Generate once, freeze to deterministic specs, and stop paying tokens — and flakiness — on every run.

Filed under ai-testing /playwright
AI Testing
July 2, 2026 / 11 min

Your Playwright Tests Race the AI Token Stream

Streaming AI responses defeat Playwright's auto-wait — your assertion passes on a half-rendered answer, then a real one fails. Here's the completion-signal fix.

Filed under ai-testing /playwright
AI Testing
June 30, 2026 / 13 min

Your Playwright Generator Is Only as Good as Its Seed

Prompt-tuning your Playwright generator agent each run is a trap. Fix brittle, inline-selector tests with the seed file and agent definition you commit once.

Filed under ai-testing /playwright
AI Testing
June 30, 2026 / 13 min

Your App Under Test Can Hijack Your Playwright Agent

Run Playwright MCP agents in CI and your app under test becomes untrusted input. Here's how prompt injection hijacks your agent — and how to contain it.

Filed under ai-testing /playwright
AI Testing
June 25, 2026 / 12 min

Don't Let AI Pick Which Playwright Tests to Skip

Playwright's --only-changed and an LLM both look like smart test selection. One silently skips the spec that breaks. Here's the layered AI approach I trust.

Filed under ai-testing /playwright
AI Testing
June 25, 2026 / 12 min

Don't Make an LLM Your Visual Regression Gate

A multimodal LLM is a great visual-regression triage tool but a dangerous merge gate. Here's where an LLM oracle earns its place in a Playwright suite.

Filed under ai-testing /playwright
AI Testing
June 23, 2026 / 13 min

Your AI Tests Pass. Mutation Testing Says They're Fake

AI-generated Playwright tests inflate coverage while catching almost no bugs. Mutation testing is the only cheap way to prove they actually assert something.

Filed under ai-testing /playwright
AI Testing
June 23, 2026 / 14 min

Stop Asserting LLM Text — Test the Contract in Playwright

Your product's new AI feature breaks every deterministic Playwright test. The fix isn't more retries — it's asserting the contract, not the prose. Here's how.

Filed under ai-testing /playwright
AI Testing
June 18, 2026 / 13 min

Let AI Triage Your Playwright Failures, Not Decide Them

An LLM can triage your Playwright CI failures in seconds — but the moment it decides flaky vs. real regression for you, it starts hiding bugs. The safe line.

Filed under ai-testing /playwright
AI Testing
June 18, 2026 / 15 min

Mock LLM Responses in CI, Eval Nightly: Two-Lane Tests

Your AI feature tests shouldn't call OpenAI on every PR. Here's how to mock LLM responses in Playwright for a deterministic CI gate, then eval live nightly.

Filed under ai-testing /playwright
AI Testing
June 16, 2026 / 12 min

Anchor AI Test Agents to the Accessibility Tree

Self-healing agents that repair Playwright tests against the DOM optimize for green, not truth. Anchor them to the accessibility tree — the contract users see.

Filed under ai-testing /playwright
AI Testing
June 16, 2026 / 11 min

Playwright's Healer Agent Will Hide Your Race Conditions

Playwright's Healer agent auto-fixes red tests to green. In a parallel enterprise suite, that's how real regressions ship silently. Here's the guardrail I use.

Filed under ai-testing /playwright
QA Strategy
May 5, 2026 / 16 min

QA Lead Responsibilities: What the Role Actually Looks Like

QA lead responsibilities for 2026 — a clear breakdown of what the role really involves, how it differs from QA manager and SDET, and if it's worth pursuing.

Filed under qa-strategy /leadership
AI Testing
April 30, 2026 / 12 min

AI-Generated Code Ships 1.7x More Bugs Your Tests Miss

AI-generated code ships 1.7x more bugs while AI-written tests stay green. How to test AI-generated code in 2026 with assertions that catch real logic errors.

Filed under ai-testing /test-generation
AI Testing
April 28, 2026 / 19 min

Playwright MCP vs CLI vs Agents: What to Use in 2026

Playwright MCP vs CLI vs Test Agents, re-measured on 1.65: the 4x token gap is now a harness setting. The decision framework an enterprise SDET uses in 2026.

Filed under ai-testing /playwright
AI Testing
April 23, 2026 / 12 min

Claude Code Has 2 Primitives, Not 3 — Use Skills First

Most engineers think Claude Code has three primitives. It actually has two — skills and subagents. Here's when to use which, with token-cost benchmarks.

Filed under ai-testing /claude
AI Testing
April 23, 2026 / 15 min

Reviewing AI-Generated Tests with Playwright Screencast

Playwright 1.56's planner, generator, and healer agents weren't reviewable at PR speed. 1.59's Screencast API turns each agent into a 90-second receipt.

Filed under ai-testing /playwright
CI/CD
April 21, 2026 / 11 min

Playwright's New CLI Debugger Finally Works in Headless CI

Playwright 1.59 ships --debug=cli and scriptable trace analysis. The first debug surface that actually works where enterprise tests fail — headless CI.

Filed under playwright /cicd
Automation
April 21, 2026 / 14 min

Playwright 1.59's Screencast API Ends Useless Test Videos

Playwright 1.59 ships a Screencast API with burned-in action annotations and chapter markers. Microsoft sells it for AI agents — the real win is CI triage.

Filed under playwright /trace-viewer
QA Strategy
April 16, 2026 / 24 min

Stop Sharing Test Environments — Build One You Control

Shared staging environments are the #1 source of flaky UI tests in enterprise teams. Here's the 5-pillar blueprint for building a controlled test environment.

Filed under qa-strategy /test-data
Case Studies
April 9, 2026 / 11 min

We Cut 150 Min of Test Setup with 3 Java Classes

How we built a Playwright API test data layer in Java — replacing UI setup that burned 150 minutes per run with 3 classes and a legacy API wrapping pattern.

Filed under case-study /api-testing
Automation
April 2, 2026 / 13 min

Contract Testing vs API Testing — What's the Difference?

Contract testing and API testing look similar but they catch very different bugs. Here's where contract testing fits next to unit, API, and E2E tests.

Filed under api-testing /design-patterns
Automation
March 24, 2026 / 13 min

Parallel Execution Without the Refactor Tax

Thread-level parallelism demands ThreadLocal and full framework rewrites. Process-level parallelism doesn't. Here's the difference and when to use each.

Filed under selenium /parallel-execution
Automation
March 19, 2026 / 9 min

Stop Using locator() for Everything in Playwright

Most Playwright teams still use CSS selectors via locator() out of habit. getByRole and getByText find elements the way users do — and survive redesigns.

Filed under playwright /selenium
Automation
March 17, 2026 / 12 min

Shared Test Users Are Sabotaging Your Parallel Suite

How shared test accounts create race conditions in parallel Playwright runs, and the 3 isolation patterns that eliminated our 12% failure rate overnight.

Filed under playwright /parallel-execution
Automation
March 12, 2026 / 8 min

Stop Launching a Browser Per Test in Playwright

Launching a new browser per test in Playwright wastes 3-6 seconds each time. BrowserContext gives you the same isolation in milliseconds. Here's how to switch.

Filed under playwright /selenium
Automation
March 10, 2026 / 10 min

Playwright's storageState() Is Contaminating Your Tests

storageState() saves cookies, localStorage, and sessionStorage in one blob. Here's how it silently poisons parallel tests and how to strip it to cookies only.

Filed under playwright /parallel-execution
Automation
March 5, 2026 / 15 min

Selenium vs Playwright in 2026: Same Test, Two Frameworks

We build the exact same Java test in both Selenium and Playwright side by side. See the real code differences in setup, locators, network mocking, and debugging

Filed under selenium /playwright
Automation
March 3, 2026 / 6 min

The Browser Errors Your Test Suite Never Catches

Your UI tests pass green while the console throws errors. Learn to catch JavaScript and page errors in Selenium and Playwright Java — before users do.

Filed under playwright /selenium
Automation
February 26, 2026 / 12 min

Your Test Suite Is Slow for 5 Reasons — Not Just One

Parallelism alone won't save your slow test suite. Here are five layers of optimization — from test design to cloud infrastructure — ranked by real impact.

Filed under selenium /parallel-execution
QA Strategy
February 24, 2026 / 9 min

Shift-Left Is a Lie If Only QA Shifted

Shift-left promised earlier testing. In practice, it shifted QA's workload without shifting developer accountability. Here's what actually needs to change.

Filed under qa-strategy /shift-left
Case Studies
February 19, 2026 / 13 min

Shared Session Cookies Corrupted Our Parallel Tests

Eight Playwright BrowserContexts were properly isolated, but they all loaded the same session cookie — so the server treated 8 parallel threads as one.

Filed under case-study /parallel-execution
AI Testing
February 12, 2026 / 12 min

Self-Healing Locators Aren't Magic — Here's How They Work

Most self-healing test tools use simple fallback chains, not real AI. Learn the 4 approaches to AI locator repair and which one fits your framework best.

Filed under self-healing /ai-testing
QA Strategy
February 10, 2026 / 13 min

Your Green Test Suite Is Hiding Real Bugs

Handling unexpected alerts or removing assertions to make tests pass doesn't fix anything — it buries bugs. Here's how to spot and stop these patterns.

Filed under qa-strategy /testing
Automation
January 27, 2026 / 5 min

Playwright's onceDialog Has a Silent Handler Leak

Why onceDialog stays registered when no dialog fires, silently eating the next dialog from an unrelated action — and the onDialog/offDialog pattern that fixes it.

Filed under playwright /framework-design
Case Studies
January 13, 2026 / 13 min

The Flaky Test Isn't Flaky — It's a Race Condition

How a 'flaky' Playwright test exposed a shared test user race condition in our parallel suite, and the isolation patterns that fixed it for good.

Filed under case-study /parallel-execution
Automation
December 16, 2025 / 12 min

Selenium's Alert Handling Crashed Our Parallel Suite

How UnhandledAlertException broke 8-thread parallel execution and why Playwright's event-driven dialog model avoids that entire failure pattern in practice.

Filed under playwright /selenium
Automation
November 4, 2025 / 3 min

Playwright's onceDialog Saved Me From a Handler Leak — Until It Didn't

How onceDialog fixes permanent handler leaks from onDialog — and the one case where it creates a new problem. Includes the onDialog/offDialog pattern for dialogs that might not fire.

Filed under playwright /framework-design
CI/CD
September 23, 2025 / 12 min

Stop Emailing Test Reports — Host Allure on Jenkins

Replace emailed Extent Report HTML files with a persistent Allure portal on Jenkins, so the team gets one URL, full history, and zero downloads to manage.

Filed under cicd /jenkins
CI/CD
August 12, 2025 / 10 min

Host a Team Report Portal with Allure Docker Service

Set up a standalone Allure report portal with Docker that any CI tool can push to, so the whole team can review results without logging into Jenkins daily.

Filed under cicd /docker
AI Testing
June 24, 2025 / 10 min

Your Copilot Isn't Dumb — You're Starving It of Context

Enterprise GitHub Copilot stuck on an older model? Three files give it project context, reusable prompts, and path-specific rules that improve output.

Filed under copilot /ai-testing
CI/CD
May 6, 2025 / 11 min

Task Scheduler Runs Our Automation Server — Here's How

Five real ways I use Windows Task Scheduler to keep an enterprise Playwright automation server healthy — from nightly test runs to disk alerts and cleanup.

Filed under cicd /devops
Case Studies
March 11, 2025 / 11 min

2 Minutes a Day Cost Me More Than You Think

I automated my enterprise VPN login with Python and saved 10+ hours a year. But the real win wasn't time — it was the focus and brain energy I never got back.

Filed under case-study /war-story
Case Studies
January 28, 2025 / 11 min

Our Enterprise Approved AI — And Why It's the Biggest Risk

Enterprises lock teams into outdated AI models for safety. The irony? Older, less capable models produce worse code and create more risk than they prevent.

Filed under case-study /ai-testing
Automation
December 10, 2024 / 5 min

From Selenium Wrappers to Playwright Locators

How Playwright's locator API eliminates the need for custom wrapper classes we spent weeks building in Selenium, and when wrappers still make sense today.

Filed under selenium /playwright
AI Testing
October 15, 2024 / 11 min

I Let AI Write My Test Suite — Here's What Broke

A hands-on experiment with AI-generated Playwright tests: where LLMs save time, where they create false confidence, and the review workflow that works.

Filed under ai-testing /test-generation
Automation
August 6, 2024 / 8 min

How We Stopped Arguing About Whose Tests Failed

Use Cucumber squad tags and Extent Reports to route test failures to the right team automatically, with full implementation details for Appium projects.

Filed under selenium /framework-design
Automation
May 28, 2024 / 7 min

Your Selectors Keep Breaking — Start Using Text

Why text-based locators reduce test maintenance by up to 60%, and how to use them in Selenium and Playwright with real enterprise UI examples that last.

Filed under selenium /playwright
Automation
March 19, 2024 / 5 min

Managing UI Text in Test Automation

When to use properties files, enums, or spreadsheets for UI text in test automation, and how to keep assertions maintainable across locales and releases.

Filed under test-automation /java
Automation
January 23, 2024 / 8 min

Testing Webhooks Requires a Different Strategy

Why your API testing patterns fail for webhooks, and the listener-based strategy that fixed our CI pipeline after a full week of production-style debugging.

Filed under api-testing /framework-design
CI/CD
November 14, 2023 / 5 min

Passing Inputs to Tests with GitHub Actions

Use workflow_dispatch inputs to choose platform, suite, and release data at runtime without cloning workflows or hardcoding separate jobs for each scenario.

Filed under testing /github-actions
CI/CD
August 22, 2023 / 5 min

Send Test Results to Slack Without Losing the Signal

A practical pattern for posting color-coded test summaries to Slack from GitHub Actions, with thresholds and summaries that help teams notice failures fast.

Filed under slack /reporting
Automation
May 16, 2023 / 9 min

What Makes a Good Test?

A practical guide to writing tests that catch broken behavior, fail for useful reasons, and keep earning trust in noisy enterprise CI pipelines over time.

Filed under java /testing
Automation
February 7, 2023 / 6 min

Migrating Off Cypress? Here's When to Keep It

An honest take on Cypress vs Playwright migrations from an SDET who's done three, including the signals that tell you not to migrate your suite just yet.

Filed under cypress /playwright
Automation
October 18, 2022 / 6 min

The Async Trap Behind Flaky Playwright Tests

The 3 async mistakes that cause flaky Playwright tests after a Selenium migration, and how we fixed a 23% intermittent failure rate in our CI pipeline.

Filed under playwright /framework-design
Automation
June 14, 2022 / 11 min

Thread Safety in Parallel Tests: The 3-Day Bug

How a shared WebDriver instance caused phantom failures in our 800-test parallel suite, and the ThreadLocal pattern that finally stabilized the whole run.

Filed under java /parallel-execution
QA Strategy
February 8, 2022 / 7 min

What the SDET Role Looks Like in the Age of AI

How AI is changing the SDET role in practice, from faster test generation and log analysis to stronger review, evaluation, and system design judgment.

Filed under ai /sdet
Automation
October 12, 2021 / 4 min

Tight vs Loose Coupling in Java Test Design

A practical explanation of tight and loose coupling in Java, with examples that show why dependency boundaries matter for maintainability and testing.

Filed under java /loose-coupling
Automation
June 29, 2021 / 8 min

XPath text() vs Dot — Why Your Text Match Fails

The real difference between XPath text(), dot, contains(), and normalize-space() for test automation — with examples that explain real flaky failures.

Filed under selenium /playwright
§ Colophon

Halmurat T. — Senior SDET writing about test automation, CI/CD, and QA strategy from 10+ years in the enterprise trenches.

Set in
IBM Plex Sans, Lora, and IBM Plex Mono.
Built with
Astro, MDX, Tailwind CSS & Expressive Code. Served by Vercel.
Privacy
No cookies. No tracking scripts on the main thread — analytics run sandboxed via Partytown.
Source
github.com/Halmurat-Uyghur
Terminal
Try /ask to query Halmurat's notes in a shell prompt.

© 2026 Halmurat T. · Written in plain text, shipped in plain time.

Search
Esc

Search is not available in dev mode.

Run npm run build then npm run preview:local to test search locally.