---
title: "Agentic Testing: Where Agents Fit in the E2E Testing Stack"
description: "Across 200+ agent-driven E2E runs against Slack test workspaces, agents using Playwright MCP were the most reliable (0% failures on a simple thread-reply flow, ~12% on a longer search flow)."
url: "https://swe.quest/articles/agentic-testing-where-agents-fit-in-the-e2e-testing-stack-fa760680a95bc5c9"
canonical: "https://slack.engineering/agentic-testing-where-agents-fit-in-the-e2e-testing-stack/"
source: "Slack Engineering"
published: "2026-06-11"
difficulty: "medium"
kind: "Research"
reading_minutes: 11
tags: ["testing","ai-agents","llms","cost-optimization"]
---

# Agentic Testing: Where Agents Fit in the E2E Testing Stack

A post on [Slack Engineering](https://swe.quest/sources/slack.md), published 2026-06-11, 11 min read, Research. Original: [https://slack.engineering/agentic-testing-where-agents-fit-in-the-e2e-testing-stack/](https://slack.engineering/agentic-testing-where-agents-fit-in-the-e2e-testing-stack/)

## Summary

Across 200+ agent-driven E2E runs against Slack test workspaces, agents using Playwright MCP were the most reliable (0% failures on a simple thread-reply flow, ~12% on a longer search flow). Playwright CLI agents failed 12–20%, mostly from auth, navigation timing and session instability. Agent-generated Playwright tests ran fastest (~3 min including generation, ~30–45 s raw) but failed ~48% on the complex flow. Agent runs cost $15–30 each, driven by turn count and retransmitted context such as accessibility-tree snapshots rather than model choice; CLI took ~85 turns versus MCP's ~40. The recommendation is to keep deterministic tests for CI and add agentic testing as a top pyramid layer for exploration, debugging and bug reproduction.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Testing](https://swe.quest/tags/testing.md) (Engineering practices)
- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Cost optimization](https://swe.quest/tags/cost-optimization.md) (Reliability & operations)

## Prerequisites

- end-to-end UI testing ([easy posts on Testing](https://swe.quest/tags/testing.md?difficulty=easy))
- Playwright
- LLM agents and tool calling ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))

## Keywords

Playwright, Playwright MCP, Claude Code, Model Context Protocol, Claude Sonnet 4.5, Claude Opus 4.6, Slack

## Related posts

- [Agents are users, so your software needs evals](https://swe.quest/articles/agents-are-users-so-your-software-needs-evals-ae7971006fec5a38.md): Vercel · 2026-11-16 · Medium · 19 min read · Evaluation, AI agents, Testing, LLMs
  Agents act as users of APIs, CLIs, MCP servers and SDKs, so measuring whether they complete tasks correctly requires evals: tests run many times and scored.
- [How We Optimized Browser Use for Deep Agents](https://swe.quest/articles/how-we-optimized-browser-use-for-deep-agents-2f840018f7b43754.md): LangChain · 2026-11-06 · Medium · 9 min read · AI agents, Evaluation, Performance engineering, LLMs
  Tool design dominated cost and speed for browser agents: across seven toolsets on 100 WebVoyager tasks, pass rates ranged 78–90%, but Stagehand passed 90% for $1.98 total while Playwright MCP passed 78% for $26.71 at three times the latency.
- [Harness design for long-running apps](https://swe.quest/articles/harness-design-for-long-running-apps-8e65b1112006c61b.md): Anthropic Engineering · 2026-03-24 · Medium · 23 min read · AI agents, AI for coding, Evaluation, LLMs, Frontend
  A GAN-inspired multi-agent harness separates generation from evaluation so Claude can produce distinctive frontend designs and build full-stack apps autonomously over multi-hour sessions.
- [My 2 Cents: I'll gladly spend them to stop staring at test logs](https://swe.quest/articles/my-2-cents-i-ll-gladly-spend-them-to-stop-staring-at-test-logs-fd2b2fd0a7e91451.md): trivago tech · 2026-04-15 · Medium · 9 min read · Testing, CI/CD, LLMs, AI for coding
  trivago added a trailing GitHub Actions job that uses an LLM to triage persistent end-to-end test failures in its Selenium-based trupi suite, where a run-level success rate of only 20% forced manual failure analysis 30+ times a day.
- [We gave cloud agents a phone to QA](https://swe.quest/articles/we-gave-cloud-agents-a-phone-to-qa-54ed4288a0052c04.md): incident.io · 2026-10-14 · Medium · 12 min read · AI agents, Mobile, Testing, AI for coding, Developer productivity
  incident.io's Cursor cloud agents now QA React Native pull requests by driving an iOS simulator (EAS Simulator) or Android emulator in the cloud against a per-agent copy of the Go backend with seeded Postgres data, tunnelled back to the agent's VM, and attach claims linked to screenshots and a session recording.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
