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.
claude mcp add --transport http --scope user currents https://mcp.currents.dev/mcpNo credit card required.Setup for Cursor, Codex and other agents (opens in a new tab)
- Flakycheckout › shows the delivery estimate
Passed on retry
Flaky in 3 of the last 30 runs
- Failedcheckout › applies a promo code
Broken since 3f9c2e1
Failed 2 of 2 since 3f9c2e1
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
main · latest run · 17:19
checkout › shows the delivery estimatePassed
✓Attempt 1passed· re-run
Earlier runs · not kept
- 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
main · last 30 runs
checkout › shows the delivery estimateFlaky
✕Attempt 1failed· trace kept
✓Attempt 2passed· on retry
Flaky in 3 of the last 30 runs · passed on retry each time
- 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.
- PR commentView trace
- TraceClick timed out
- Fixmaya pushes 8c41d07
- Fix with AIOpens Claude Code
- Failure context via MCPcurrents-get-context
- Fix and re-run1 passed
- 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-312andSHOP-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 workHand 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.
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
Terminalnpx skills add https://github.com/currents-dev/playwright-best-practices-skillcheckout.spec.ts- await page.waitForTimeout(2000);+ await expect(page.getByTestId("delivery-estimate")).toBeVisible();- Web-first assertions
- Solid locators
- Real cause of a flake
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
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
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
Set in Branch protection · GitHub and Test History · Currents
Flake rates that came down

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
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 storyJuvare
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.”