# End-to-end testing services with AI agents, reviewed by engineers

> End-to-End Testing Services with AI Agents | Zapple.Tech. Canonical page: <https://zapple.tech/services/agentic-e2e-testing/>

Your end-to-end suite is slow to grow and expensive to keep green. You get a ranked list of the user journeys that need coverage, then a suite for them that AI agents help draft and repair, reviewed by our engineers before it is merged and kept as ordinary test code in your repository.

## What you can order

- **Agent-drafted tests from a written plan**: An agent explores the application and drafts tests from a plan agreed with you. Engineers turn the drafts into tests your team can read and own.
- **Playwright test agents and Playwright MCP**: Playwright's planner, generator and healer agents, and Microsoft's Playwright MCP server, which lets an AI tool drive a browser.
- **[CodeceptJS with AI features](https://zapple.tech/codeceptjs/)**: Scenario-style tests that read like user steps, with CodeceptJS AI features used where they help.
- **[Suite maintenance with agents](https://zapple.tech/services/automated-testing-maintenance/)**: When the interface changes, an agent proposes repairs and an engineer decides which ones are correct.

## Why end-to-end suites stall

End-to-end tests check the product the way a user uses it, which is why teams want them and why they are hard to
keep. Three things usually go wrong.

- **Writing is slow.** Each journey needs a plan, test data, locators and waits. The suite grows more slowly than
  the product, so coverage falls behind.
- **Upkeep eats the gain.** A changed button, a renamed field or a new modal breaks tests that were correct the day
  before. Engineers spend their time repairing tests instead of finding defects.
- **Nobody trusts a red build.** Once some failures are flaky, people re-run and ignore. A real defect then
  looks like another flake.

AI agents help with the first two. They can explore a page, draft a test from a plan and propose a repair when a
locator changes. They make the third problem worse if nobody checks their work, so review is part of the service,
not an add-on.

## How the work is done

1. **Plan.** For each journey we write a short test plan in plain language and agree it with you.
2. **Draft.** An agent drafts the test against your test environment, using your framework and conventions.
3. **Review.** An engineer reads the test as a pull request: is the assertion the business rule, are the waits
   sound, is the data isolated, would this test fail on a real defect?
4. **Run.** The test runs in your CI. Failures are sorted into defects, test faults and environment faults.
5. **Repair.** When the interface changes, an agent proposes a repair. An engineer approves or rejects it, and a
   rejected repair often points to a real bug.

## What the review checks

| Area | Example checks |
|:-----|:---------------|
| Assertions | The test checks the business rule, not only that a page loaded |
| Locators | Role, label or test id in preference to brittle CSS paths |
| Waiting | Waits on page state, never on a fixed delay |
| Data | Each test creates or resets its own data and does not depend on the order of other tests |
| Repairs | A healed step still tests what the original step tested |

## Tools we may use

Tools are chosen for your stack, not the other way round. Playwright ships planner, generator and healer agents
that can be set up for VS Code, Claude Code, Codex or OpenCode, and Microsoft's Playwright MCP server lets an AI
tool drive a browser. CodeceptJS has AI features for healing failing steps and grouping failures. These are named
as examples of open-source tools, not partnerships. Zapple.Tech was founded by the founders of CodeceptJS and
Codeception, two open-source testing frameworks. For Playwright as the framework, whoever writes the tests, see
[Playwright testing services](/services/playwright-testing/).

In CodeceptJS, healing needs an AI provider in the configuration, heal recipes (`npx codeceptjs generate:heal`)
and the `heal` plugin, and it runs when the tests start with the `--ai` flag. The three steps, as the CodeceptJS
documentation shows them:

```js
// codecept.conf.js: the AI provider
import { anthropic } from '@ai-sdk/anthropic'

export default {
  ai: {
    model: anthropic('claude-sonnet-4-6'),
    // or use claude-opus-4-7, claude-haiku-4-5, etc.
  },
}
```

```js
// the heal plugin
plugins: {
  heal: {
    enabled: true
  }
}
```

```sh
npx codeceptjs run --ai
```

<p class="code-source">Snippets from the CodeceptJS documentation (codecept.io/ai). A healed step is still reviewed by an engineer before it is merged.</p>

For the full range of automation work, see [QA automation testing services](/services/). For browser automation without agents, see
[web test automation](/services/web-test-automation/); if the code under test was itself written with AI
assistants, see [QA for AI-generated code](/services/ai-generated-code-testing/).

## What AI agents do not solve in end-to-end testing

Agents make the writing and upkeep of tests faster. They do not make the tests right on their own.

- An agent can write a test that passes and checks the wrong thing. Someone who knows the business rule has to read every assertion.
- A healed test can hide a real defect, because the changed element may be the bug. Playwright's healer can even mark a test as skipped when it decides the feature is broken; an engineer has to confirm that call.
- Agents do not decide what is worth testing. Choosing journeys by risk is an engineering and product decision.
- End-to-end tests stay slower than unit and API tests. Agents do not change that, so the suite stays small and focused on journeys.
- Unstable test data and shared environments cause flaky tests that no agent can repair from the test side.

## Playwright's test agents and CodeceptJS's AI features compared. With either, a healed test can hide a real defect, because the changed element may be the bug. Zapple.Tech was founded by the founders of CodeceptJS and Codeception.

| Aspect | Playwright test agents | CodeceptJS AI features |
| --- | --- | --- |
| How tests are written | Planner explores the app and writes a Markdown test plan; generator turns it into Playwright Test files | Scenario-style tests that read like user steps, with AI features used where they help |
| When a test fails | Healer replays the failing test, patches it, or marks it skipped if it believes the feature is broken | Heal plugin heals failing steps on CI and prints a suggested change at the end of execution |
| Setup | Agent definitions generated for VS Code, Claude Code, Codex or OpenCode, with a seed test | AI provider in the configuration, heal recipes, the heal plugin, and the --ai flag |
| Engineer's check | An engineer confirms any skip and reviews each healed test before it is merged | An engineer reviews each healed step before it is merged |

## How the work runs

1. **End-to-end audit** (About one week): We read your existing suite or, if there is none, map your critical user journeys. We run what exists and find out why it is slow, flaky or thin.
2. **Pilot** (Two to six weeks): One product area gets end-to-end tests drafted with agents and reviewed by engineers, running in your CI.
3. **Ongoing** (Monthly): Zapple.Tech engineers extend coverage to new features, review agent-proposed repairs and keep the suite green, alongside your team or as a dedicated team.

## FAQ

### Which tools do you use?

It depends on your stack. For example, Playwright with its test agents and the Playwright MCP server, or CodeceptJS with its AI features. If your team already runs Cypress, Selenium or another framework, the audit starts from that. The choice is written into the audit report.

### What do you need from us?

A test environment the agents can use, test accounts, read access to your repository and CI, and someone who can say what each critical journey must do. For an existing suite, the last few weeks of CI results help.

### Does the AI see our application and our data?

Agents work only against the test environment you provide. Which environments and data they may touch, and which AI provider is used, are agreed before the start. We ask for test accounts and data without personal information.

### Who reviews what the agents write?

Zapple.Tech engineers review each change in a pull request in your repository before it is merged. Your own engineers can review as well.

### Will we depend on AI tooling to keep the tests running?

No. The result is ordinary test code in your repository. It runs in your CI, and your engineers can read, change and run it without us and without an agent.

### How long until the first journeys are covered?

The audit takes about a week. The pilot covers one product area in two to six weeks; the number of journeys and the state of your test data decide where in that range it lands.

### How much does it cost?

Prices are not published. The quote depends on the number of journeys, how much of an existing suite is kept, and how many environments the tests must run on. Describe the product and you get a scoped quote within one business day.

[Request an audit quote](https://zapple.tech/services/agentic-e2e-testing/#start)
