Skip to content

docs: add an agent sandbox guide and fix the Cursor environment files - #35109

Open
mike-plummer wants to merge 2 commits into
mikep/tap-browser-path-detectionfrom
mikep/tap-agent-sandbox-guide
Open

mike-plummer wants to merge 2 commits into
mikep/tap-browser-path-detectionfrom
mikep/tap-agent-sandbox-guide

Conversation

@mike-plummer

@mike-plummer mike-plummer commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor
  • Closes

Additional details

Adds guides/using-cypress-tap-in-agent-sandboxes.md, indexed in guides/README.md: requirements, the launch recipe, agent mode and CYPRESS_AGENT_MODE, choosing a browser, troubleshooting, and Claude Code on the web and Cursor Cloud setup. It links from AGENTS.md and corrects its claims about Chrome and ELECTRON_RUN_AS_NODE. .cursor/Dockerfile moves to cypress/base-internal:24.15.0-trixie and its Node comment is fixed.

The guide describes behavior from the other agent-sandbox PRs, including the separate CLI PRs, so it should merge last. Claims that have not been checked on the host named are marked unverified.

Stack: one of 7 stacked draft PRs (see the stack on GitHub). Merge in order from the bottom: PR with tap-keep-live-sessions, tap-print-open-mode-errors, tap-agent-welcome-bypass, tap-agent-no-config-start, tap-status-load-errors, tap-browser-path-detection, then the guide tap-agent-sandbox-guide last, since it describes behavior from the other PRs (including the CLI PRs that are not in this stack).

Jira: AW-188


Note

Low Risk
Documentation and Cursor Cloud Dockerfile base-image bump only; no runtime product code changes.

Overview
Adds guides/using-cypress-tap-in-agent-sandboxes.md (indexed in guides/README.md) documenting how agents run cypress open and drive tests via cypress tap: launch/wait recipe, Xvfb and network requirements, agent mode / CYPRESS_AGENT_MODE, browser choice, troubleshooting, and host-specific setup for Claude Code on the web vs Cursor Cloud. AGENTS.md now links to that guide, clarifies that Chrome in Cursor comes from the host (not .cursor/Dockerfile), and adds a short Driving cypress open with cypress tap section.

.cursor/Dockerfile updates the Cursor Cloud dev image from cypress/base-internal:22.19.0-trixie to 24.15.0-trixie so it matches .node-version and CI’s cy-docker executor.

Reviewed by Cursor Bugbot for commit 622dadd. Bugbot is set up for automated code reviews on this repo. Configure here.

Steps to test

  1. Read the guide against the code in the other PRs.
  2. Follow the launch recipe in a Claude Code on the web session.

How has the user experience changed?

No change to product behavior. Documentation and environment files only.

PR Tasks

  • Is there an associated issue with maintainer approval for PR submission?
  • [na] Have tests been added/updated?
  • [na] Has a PR for user-facing changes been opened in cypress-documentation?
  • [na] Have API changes been updated in the type definitions?

🤖 Generated with Claude Code

@mike-plummer
mike-plummer added this pull request to stack #35110 October 21, 2026 16:30
@mike-plummer
mike-plummer force-pushed the mikep/tap-agent-sandbox-guide branch from 778959a to 3682a68 Compare October 21, 2026 16:35
cypress-bot[bot]
cypress-bot Bot previously approved these changes Oct 21, 2026
@mike-plummer
mike-plummer force-pushed the mikep/tap-agent-sandbox-guide branch from 3682a68 to 2c8d618 Compare October 21, 2026 18:04
@cypress-bot
cypress-bot Bot dismissed their stale review October 21, 2026 18:04

New commits pushed (auto-approval was for 3682a68, head is now 2c8d618). Auto-approval dismissed pending Cursor Bugbot re-review of the new head SHA.

@mike-plummer
mike-plummer marked this pull request as ready for review October 21, 2026 18:29
@mike-plummer mike-plummer self-assigned this Oct 21, 2026
Comment thread guides/using-cypress-tap-in-agent-sandboxes.md Outdated
Comment thread guides/using-cypress-tap-in-agent-sandboxes.md Outdated
@cypress

cypress Bot commented Oct 26, 2026

Copy link
Copy Markdown

cypress    Run #74987

Run Properties:  status check passed Passed #74987  •  git commit 622daddaa7: Remove previous behavior references
Project cypress
Branch Review mikep/tap-agent-sandbox-guide
Run status status check passed Passed #74987
Run duration 16m 19s
Commit git commit 622daddaa7: Remove previous behavior references
Committer Mike Plummer
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 14
Tests that did not run due to a developer annotating a test with .skip  Pending 1034
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 29922
View all changes introduced in this branch ↗︎
UI Coverage  67.12%
  Untested elements 24  
  Tested elements 49  
Accessibility  98.98%
  Failed rules  0 critical   3 serious   2 moderate   0 minor
  Failed elements 18  

mike-plummer and others added 2 commits October 26, 2026 13:03
Adds a guide for running cypress open and driving it with cypress tap
from an AI agent in a sandbox: requirements, agent mode, choosing a
browser, what each failure looks like, and how to set up Claude Code on
the web and Cursor Cloud. It marks what has not been verified on a host.
Points to the guide from AGENTS.md.

The Cursor Cloud Dockerfile used the Node 22.19.0 image and claimed it
matched .node-version, which is 24.15.0. It now uses the 24.15.0 image
the monorepo's CI uses.

Jira: AW-188

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants