Make your tests reliable

Make red mean broken. Fix it in minutes.

Currents catches flaky tests and tracks every run and every attempt, so red means a real failure. Fix it in minutes yourself, or hand it to your coding agent.

Start a 14-day free trial
claude mcp add --transport http --scope user currents https://mcp.currents.dev/mcp

No credit card required.Setup for Cursor, Codex and other agents (opens in a new tab)

Currents Tests1 failed · 1 flaky · 1,212 passed · 6m 31sRequired
  • n8n
  • Sherpany
  • Cursor
  • LangChain
  • Snowflake
  • Red Hat

Every flaky test teaches your team to ignore red

A retry that goes green hides the flake. Currents keeps every run and every attempt.

A week later

A real bug fails main the same way. Nobody looks, and it ships.

Retry until green, latest run only

  • A re-run goes green and the flake drops out of sight.
  • A report of one run can't say whether a test has been failing for weeks.
  • So every red gets the same answer, the real bugs too.

Every run and attempt, kept

  • Currents records every attempt of every run, with its error and trace.
  • Each failing test gets a rate, a trend and a verdict: flaky, or broken by a change.
  • Red goes back to meaning broken.

Coding agents have the same reflex

Asked to make CI green, an agent retries, adds a wait or loosens an assertion, and the bug stays. With every run and attempt in front of it, the agent can tell a flake from a real bug before it touches the code.

Every test keeps a track record

Test History shows each execution of a test across runs and branches, with how often it failed and how often it flaked. The GitHub run comment prints the last 30 days on your branch and on the base branch.

Test History docs (opens in a new tab)

Ask your agent

Ask

Is checkout.spec flaky, or did my change break it?

Calls
  • currents-get-test-results
Answer
applies a promo code is broken by your change: it passed 30 of 30 on main and failed 2 of 2 since 3f9c2e1. shows the delivery estimate is flaky: 3 of the last 30 runs, each passed on retry.

Red to fixed, by you or by your agent

The run comment links straight to the failed test. Open the trace and fix it yourself, or hand the same evidence to your coding agent in one click. Both end on a passing run on the pull request.

currentsbotcommented 2 minutes ago
  1. PR commentView trace
  2. TraceClick timed out
  3. Fixmaya pushes 8c41d07
  1. Fix with AIOpens Claude Code
  2. Failure context via MCPcurrents-get-context
  3. Fix and re-run1 passed
  4. Passing run on the PR1,214 passed

maya opens the trace from the comment. The click on the Apply button timed out, and the page shows Redeem. She changes the locator to Redeem and pushes 8c41d07, and the Currents Tests check passes.

Fix with AI hands the failure to Claude Code. It reads the failure context and the trace through the Currents MCP server, finds that 3f9c2e1 renamed the button, makes the same one-line fix, re-runs the test to a pass and pushes 8c41d07, and the Currents Tests check passes.

Same evidence. Same fix.

About 1,600 tokens for one failing trace in our example, instead of about 20,000. Your agent fixes the test the way the Playwright Best Practices skill (opens in a new tab) teaches.

  • One link from the pull request

    The run comment lists the failed and flaky tests with their traces and screenshots. Its links open without signing in until they expire.

  • Everything in one view

    Trace, video, screenshots, console and network sit beside the error.

  • Kept if the job dies

    Results stream step by step. If a CI machine crashes, what it reported is kept.

One root cause behind forty red tests

Error Explorer analyzes Playwright errors and groups them by category, action and target. Each group counts its occurrences, the tests it hits and the branches it reaches, so test failure analysis ends on one cause and one fix.

Error Explorer docs (opens in a new tab)

Ask your agent

Ask

What's behind the 40 red tests on main this week?

Calls
  • currents-get-errors-explorer
Answer
38 of the 40 fail on one target, getByTestId('cookie-accept'). Fix it once.

Send it to the owner, or to an agent

Owner annotations send the Slack alert to the person who owns the test. Fix with AI hands the failure to Claude Code, Cursor, Copilot and more, and View in Currents opens the evidence. From the failure, you create or link a Jira or Linear issue with its context.

Hand it to your agent

Ask

Triage last night's failures and open issues for the real ones.

Calls
  • currents-get-runs
  • currents-get-context
  • currents-create-jira-issue
Answer
7 failed last night. 2 are real, now SHOP-312 and SHOP-313. 5 flaked.

Quarantine without forgetting

A rule quarantines a flaky test while someone fixes it. The test still runs, and its failure doesn’t fail the run. Give the rule an expiry date, and Currents alerts Slack or email before it lapses.

Your agent can create the rule and the Jira issue in one go. The rule sits in Actions with every other rule for the team to review. Creating a rule needs an Admin or Actions Admin.

How automation rules work

Hand it to your agent

Ask

Quarantine checkout.spec until Friday and open a ticket.

Calls
  • currents-get-test-results
  • currents-create-action
  • currents-create-jira-issue
Answer
Quarantined shows the delivery estimate until Fri 20 Nov and opened SHOP-311. applies a promo code is a real failure and still blocks the merge.

Know if your suite is getting better or worse

Project Overview compares runs, run success rate, test pass rate, flaky rate, run duration p95 and CI time on failed runs with the previous period. Scheduled reports go to email or Slack, and guest seats are free on paid plans.

Behind the tiles, Analytics charts failure rate, flakiness, duration and suite size over time, and paid plans keep 12 months of it. That is test reporting for the whole team, and leadership reads it on a guest seat.

Ask your agent

Ask

How did flakiness change this month, and which project got worse?

Calls
  • currents-get-project-insights
Answer
shop-e2e got worse. Its flaky rate is 2.4% this month, up 0.9 points on the previous period.

Start with the tests that cost the most

Test Explorer ranks tests by impact, which is rate times executions, for failures, flakiness and duration. Presets show what is Getting Worse, Trending Flaky and Slowing Down. Spec Files Explorer does the same for each spec file.

Hand the top of the list to your agent. It opens the pull requests with its own GitHub access, and Test History shows whether each fix held.

Hand it to your agent

Ask

Take this week's five flakiest tests and open a PR for each.

Calls
  • currents-get-tests-performance
  • $ gh pr create
Answer
Opened 5 pull requests, #518 to #522. #518 replaces the wait in shows the delivery estimate.

Let agents fix tests without letting them hide failures

The skill teaches the fix. Roles cap the access. Rules and history keep it honest.

  1. Before the fix

    The fix follows the skill

    The Playwright Best Practices skill teaches your agent web-first assertions, solid locators and how to find a flake's real cause, so a wait doesn't pass for a fix.

    Playwright Best Practices skill docs (opens in a new tab)

    Installs from GitHub, no Currents account needed.

    Set in Your agent · Skills

    Terminal
    npx skills add https://github.com/currents-dev/playwright-best-practices-skill
    checkout.spec.ts
    • Web-first assertions
    • Solid locators
    • Real cause of a flake
  2. Before it acts

    Access stops at your role

    An agent can't get more than your role allows. Connected Applications lists every agent and revokes it.

    Set in Connected Applications · Currents

  3. While it works

    Rules stay visible

    Every rule an agent adds sits in Actions with the rest. Give a rule an expiry date, and Currents alerts Slack or email before it lapses.

    Set in Currents Actions

  4. After the fix

    Real failures still block the merge

    A required check stays red until the test passes. Test History shows whether a fixed test stopped flaking.

    Currents TestsRequired

    Merging is blockedapplies a promo code failed

    What the agent did to fix shows the delivery estimate

    checkout › shows the delivery estimate

    0 flaky in 12 runs since #518

    #518 + expect(…).toBeVisible()

    Set in Branch protection · GitHub and Test History · Currents

Flake rates that came down

  • n8n

    From about 2 to 3% to about 0.3%

    n8n's flaky test rate. The drop spans its move from Cypress to Playwright.

    Read the n8n story
  • Sherpany

    From about 5% to about 0.1to0.2%

    Sherpany's flaky tests as a share of its Playwright suite, before and with Currents.

    Read the Sherpany story
  • Juvare

    Over20projects

    Juvare's teams set Currents up on their own, and test quality across their projects sits in one place.

    Read the Juvare story
“Most of our suites are more stable than we thought. Currents gave us numbers to talk about with engineering leadership and helped us identify where to assign resources.”
Rasa Mazutiene / Director of Engineering at Juvare

Questions teams ask

Trust red again