• FLAKY
  • SLOW
  • HUMAN
  • ACTION

How to identify flaky and slow tests with your agent

Connect Cypress Cloud to your agent to pull real-time execution data. Once connected, you can ask for specific reports on test stability and speed.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How can I find flaky and slow tests using AI?

Your agent queries Cypress Cloud to isolate tests that fail inconsistently or take too long to run. You'll get a clear list of problematic specs to investigate. This breakdown shows how it works.

The results you get.

Where your test issues land.

Your agent categorizes your Cypress Cloud data into these four areas.

FLAKY

Unstable test reports

Your agent uses report_flaky to find tests that pass and fail on the same commit. You get a list of the most unreliable specs.

SLOW

Pipeline bottlenecks

Using report_slow, your agent identifies which specific files are increasing your total CI duration. You'll see exactly which specs are the culprits.

HUMAN

Manual debugging

Your agent identifies the problematic tests, but you still need to step in to fix the actual code or environment. It points you to the problem, not the solution.

ACTION

Prioritized fix lists

Your agent compiles a list of tests that need attention. You can use this to decide which tests to optimize first.

The workflow

What your agent does when the data arrives.

Instead of you digging through dashboards, your agent handles the data retrieval.

  1. Scan test history

    Your agent looks through recent Cypress Cloud runs to find patterns in execution time.

    report_slow
  2. Isolate instability

    Your agent flags specific test files that show non-deterministic behavior across different runs.

    report_flaky
  3. Identify bottlenecks

    Your agent compares spec durations to find the files slowing down your deployment.

    report_slow
  4. Summarize findings

    Your agent presents a clean list of the most problematic tests so you know where to start.

    report_flakyreport_slow

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Cypress tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to trigger the analysis immediately.

Starting points

These are opening lines. Swap out the project names or repo names to match your setup.

Cypress Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_IKhVCeL6avFJPY6iQ838105q3zZBtwMa7WMfyaRI/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Cypress capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "cypress-cloud-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_IKhVCeL6avFJPY6iQ838105q3zZBtwMa7WMfyaRI/mcp"
    }
  }
}
Copy into chat04
  • 01

    Show me a report of all flaky tests in my 'frontend-e2e' project.

  • 02

    Which specs in my 'mobile-app' suite are making my pipeline slow?

  • 03

    Identify the top 5 slowest tests in my current Cypress Cloud dashboard.

  • 04

    List all intermittent failures for the 'auth-service' repo from the last 24 hours.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Cypress Cloud once, then ask.

Link your account once. Your credentials stay encrypted, and you can start asking questions in any MCP-compatible client.

Connect Cypress Cloud to your agent

FAQ

How this task behaves.

  • 01

    Can your agent fix my flaky tests automatically?

    No. Your agent identifies which tests are flaky, but you have to write the code to fix them.

  • 02

    Does your agent delete any test data in Cypress Cloud?

    No. Your agent only reads data to generate reports. It cannot delete or modify your test results.

  • 03

    Can I use this with Cursor or Claude?

    Yes. Once connected via Vinkius, you can use these tools in any MCP-compatible client like Claude, Cursor, or Windsurf.

  • 04

    How does it know which tests are slow?

    Your agent uses the report_slow tool to pull duration data directly from your Cypress Cloud history.

  • 05

    Will this work with my local Cypress runs?

    No. This specific connector works with data stored in Cypress Cloud.

  • More questions about Cypress Cloud? The Connector page answers them. See everything the Cypress Cloud Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Cypress to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Cypress plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Cypress to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.