{
  "id": 4015394,
  "title": "cypress tap: Closing the Loop Between Your Agent and Your Suite",
  "url": "https://urgent.news/2026/08/28/cypress-tap-closing-the-loop-between-your-agent-and-your-suite",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-08-28T19:03:12.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/cydavid/cypress-tap-closing-the-loop-between-your-agent-and-your-suite-2m1e"
  },
  "original_language": "en",
  "account": "Cypress tap is a set of CLI commands that enable reading and driving an open-mode Cypress session from the terminal. By setting up two terminals, one running `cypress open` and the other running `cypress tap`, users can effectively bridge the gap between the agent and the running app. This approach allows for better debugging and test writing, as the agent can now access and interact with the DOM. To demonstrate this, a fake pet adoption site was used to intentionally break a test by renaming a data-testid attribute. Using cypress tap, the agent was able to identify the session, run the failing spec, capture the failure as text, and expand on the failing test to pinpoint the exact issue. The agent was also able to pull the failing command as data, providing structured output for further analysis. This new approach, facilitated by cypress tap, promises to improve the efficiency of test writing and debugging, especially when working on a tight product deadline.",
  "summary": "Your agent can write the test and run the test. Until now, it couldn't see the page. Test failures will happen. Flake will happen. Writing new tests against a product deadline will happen. We've all been there and will be there again in the future. Software development is predictable that way, and completely fluid at the same time, which is what makes every day a slightly different problem than…",
  "key_points": [
    "Cypress tap enables reading and driving open-mode Cypress sessions from the terminal.",
    "Two terminals setup: one runs cypress open, the other runs cypress tap.",
    "Facilitates better debugging and test writing by accessing and interacting with the DOM."
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}