• LOGS
  • VISUALS
  • TRIAGE
  • HUMAN

How to debug failed test instances with your agent

Connect Cypress Cloud to your agent to stop hunting for failure details. Once connected, your agent handles the heavy lifting of gathering evidence for each broken spec.

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 debug failed Cypress tests using AI?

Your agent uses the Cypress Cloud connection to grab the exact error messages, screenshots, and video URLs for any failed spec. You get a direct line to the failure data without manual searching. Here is how the process works.

Debugging outcomes

Where your failure data lands.

Your agent organizes failure information into actionable categories.

LOGS

Error message retrieval

Your agent pulls the specific stack trace and error text for a failed run. You get the exact reason the test died immediately.

VISUALS

Media evidence

Your agent finds the direct links to screenshots and videos of the failure. You can view the exact moment the UI broke.

TRIAGE

Failure identification

Your agent identifies which specific spec instances failed within a run. This helps you isolate flaky tests from real regressions.

HUMAN

Manual code fixes

Your agent provides the data, but you still need to open your IDE to apply the fix. Your agent won't rewrite your test code for you.

The workflow

What your agent does when a test fails.

Instead of you clicking through the Cypress dashboard, your agent performs the lookup for you.

  1. Locate failures

    Your agent scans your recent runs to find which tests didn't pass.

    get_tests
  2. Fetch instance data

    Once a failure is identified, your agent pulls the specific details for that exact test run.

    get_instance
  3. Extract evidence

    Your agent pulls the error logs and media links from the instance data.

    get_instance
  4. Present findings

    Your agent delivers the error text and video URLs directly in your chat interface.

    get_instanceget_tests

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 debugging process.

Starting points

These are starting points. Swap out the specific run IDs or spec names with your actual data.

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 the error messages for the failed tests in my last Cypress run.

  • 02

    Find the video URL and screenshot for the failed 'login_spec.js' instance.

  • 03

    List all the failed spec instances from the most recent run in my Cypress Cloud project.

  • 04

    Why did the 'checkout_flow' test fail in the last run? Get the error details.

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

Start here

Connect Cypress Cloud once, then ask.

One connection gives your agent access to your test data. Your credentials stay encrypted and secure on our end.

Connect Cypress Cloud to your agent

FAQ

How this task behaves.

  • 01

    Can your agent fix my broken tests automatically?

    No. Your agent retrieves the error logs and media so you can see what happened, but you must perform the code changes yourself.

  • 02

    Can your agent delete failed test runs from Cypress Cloud?

    No. The tools only allow your agent to read data from your instances and tests. It cannot modify or delete anything in your account.

  • 03

    Does your agent need my Cypress Cloud password?

    No. You connect via the Vinkius platform, which manages the connection securely without exposing your raw credentials to your agent.

  • 04

    Can I ask for videos of specific tests?

    Yes, if the test run captured a video, your agent can retrieve the URL for you.

  • 05

    Can your agent run new tests?

    No. This connector is for retrieving data from existing runs, not for triggering new test executions.

  • More questions about Cypress Cloud? 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.