AI Briefing
KO

Agentic Testing - The Role of Agents in the E2E Test Stack

·2026.06.23 09:21

Key point

An analysis of how agent-based E2E testing differs from traditional deterministic testing and how it can be integrated into existing stacks.

Details

While traditional E2E (End-to-End) testing verifies a specific path (journey) through the UI, agent-based testing verifies whether a user's goal can be achieved. Agents flexibly adjust their path on their own in order to accomplish the goal.

The Slack engineering team compared three execution models through over 200 experiments:

  • Agent + Playwright MCP: The agent uses predefined browser actions to read DOM state and interact with it
  • Agent + Playwright CLI: The agent executes CLI commands via a shell and decides the next step based on UI state
  • Generated Playwright Tests: The agent generates deterministic test code based on natural language descriptions and iteratively revises it

The experiments showed that agent-based testing is more expensive than traditional testing in terms of execution cost ($15–30) and time (over 10 minutes), but confirmed that it can play an important role in the existing test stack as an exploratory testing layer.

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.