# End-to-end tests

> Your agent proves every change with an end-to-end test. It runs the test on its own copy of your app while it builds. When the change merges, the test joins your suite and checks every change after it.

## Your agent proves every change with an end-to-end test.

[Join the waitlist](https://runcofactor.com/#waitlist). We onboard two companies a week.

Trusted by teams at Fintary, Colvin Run, AirBills, Dragonfly, SixMap, Flip, Ask Safely.

## Regression testing that doesn't suck

Start from scratch with your agent, or bring the suite you already have.

### Starting fresh

|  | Cofactor | Playwright from scratch | Other AI testing tools |
| --- | --- | --- | --- |
| When tests get written | Yes: As your agent codes | No: Once it's on staging (Waterfall, basically) | No: Once it's on staging (Waterfall, basically) |
| Where tests run | Yes: On our servers (Each test on its own copy of your app) | No: On your runners (Pointed at staging) | No: On their servers (One at a time, pointed at staging) |
| Speed | Yes: Everything in parallel (And only the tests that need to run) | No: Often hours | No: Even slower |
| Maintenance | Yes: Barely any flakes (And tests heal themselves) | Partly: You build and maintain it | Partly: They heal what they can |
| What you can test | Yes: Anything (Built-in emulators for third-party services, plus email, SMS, one-time codes and PDFs) [See the list](https://runcofactor.com/product/emulators.md) | No: You build each piece yourself | Partly: AI assertions only |
| Cost of a 1,000-test suite | Yes: $399 a month (Fits in the Scale plan) | No: A few thousand a month (Plus the people to keep it green) | No: About $10,000 a month (Per-step pricing, plus people) |

### I have a suite

|  | Cofactor + your suite | Your suite on its own | Other AI testing tools |
| --- | --- | --- | --- |
| Your existing tests | Yes: Bring them as is | Yes: Obviously | No: Migrate, regret immediately (They can't run your suite) |
| How long a full run takes | Yes: Minutes (Everything runs in parallel) | No: Hours, or longer (Depends on your max concurrency) | No: They can't run your suite |
| Flaky tests | Yes: Rare (Each test gets its own copy of your app) | No: Common (Tests fight over staging) | No: They can't run your suite |
| Where they can run | Yes: Anywhere (Locally, or on any commit, PR or main) | No: Whatever's on staging | No: They can't run your suite |
| Finding what broke | Yes: Triaged for you | No: Enjoy the logs | No: They can't run your suite |
| Your coding agent | Yes: Gets the tools to fix it | No: On its own | No: They can't run your suite |
| Cost of a 1,000-test suite | Yes: $399 a month (Fits in the Scale plan) | No: A few thousand a month (Plus the people to keep it green) | No: They can't run your suite |

Estimates for 1,000 tests run every night, with upkeep at $100 an hour.

[Calculate yours](https://runcofactor.com/pricing#calculator). [Get started for free](https://app.runcofactor.com/signup).

## While you build

### Your agent writes the test as it codes

It syncs each change to its own copy of your app and runs a real end-to-end test against it, before you ever see the pull request.

### It tests the way a user would

The test clicks through your app in a real browser and hits your real API, with its own data and logins.

### The proof is on the pull request

Reviewers see which tests passed before they merge. When the change merges, the test joins your suite.

## Every run after that

### Your whole suite runs at once

Every test gets its own copy of your app, so a thousand tests finish in minutes.

### One test can’t break another

Tests never share data or logins, so most flakes go away.

### Tests heal when your UI changes

When a button moves or a label changes, Cofactor fixes that step and the test keeps running. A real bug still fails the test.

## Common questions

### What if my app changes?

Cofactor works out whether the app changed on purpose. If you’ve told it how the app should behave, the test fixes itself. If not, it stops and asks you.

Learn more: [How healing decides](https://runcofactor.com/product/self-healing.md)

### Which coding agents work with this?

Any agent that can run a command line. We have ready-made skills for Claude Code, Codex and Copilot, and a plug-in for Claude Desktop, Claude Code, Cursor, Windsurf and OpenCode.

Learn more: [Agents and Cofactor](https://runcofactor.com/solutions/coding-agents.md)

### Do tests step on each other?

No. Each run gets its own copy of the app, so one test can’t change the data another one reads.

Learn more: [The copy each test gets](https://runcofactor.com/product/agent-environments.md)

### Where do the tests live?

Tests written through Cofactor are stored in Cofactor and appear in your suites. Playwright tests you bring yourself stay in your own repository.

Learn more: [Bringing Playwright tests](https://runcofactor.com/product/your-suite.md)

### Does the agent have to wait for a merge to run a test?

No. It can copy its uncommitted changes into its app copy and run a test straight away.

## Get started

[Join the waitlist](https://runcofactor.com/#waitlist). We onboard two companies a week.

Have a more complicated setup, or questions? [Talk to the team](https://runcofactor.com/book-a-meeting)