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
All posts

AI Testing

Field-tested writing on AI-assisted test generation, Copilot workflow design, and what actually changes for SDETs when AI enters the toolchain.

All (130) Automation (29) AI Testing (68) CI/CD (13) QA Strategy (11) Case Studies (9)
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
§ 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.