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

Posts tagged "framework-design"

All ai ai-agents ai-testing api-testing appium career case-study cicd claude code-review consulting contract-testing copilot cypress debugging design-patterns devops docker enterprise flaky-tests framework-design github-actions hiring java jenkins leadership lessons-learned llm localization locators loose-coupling migration parallel-execution performance-testing playwright qa-strategy reporting sdet sdet-career security selenium self-healing shift-left slack team-building test-automation test-data test-generation testing testng tight-coupling trace-viewer war-story
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
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
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 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
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 / 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 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 / 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 / 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
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
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 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 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 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 / 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 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 / 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 / 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
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
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
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
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
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
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
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
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
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.