Skip to content

test(e2e): move the installation test to e2e and remove Cypress (6.5.0) - #6013

Merged
adrians5j merged 1 commit into
release/6.5.0from
claude/650-e2e-installation
Oct 15, 2026
Merged

adrians5j merged 1 commit into
release/6.5.0from
claude/650-e2e-installation

Conversation

@adrians5j

Copy link
Copy Markdown
Member

Summary

Replaces Cypress with the e2e framework on release/6.5.0, keeping only the installation test. This is the 6.5.0 counterpart of #6010 on next, plus the leftover cleanups from #6012.

Added

  • An e2e/ workspace (e2e-tests) with tests/installation.e2e.ts: a freshly deployed project installs through the wizard and the admin lands on the dashboard. The test is the same as on next; 6.5.0's wizard has the same labels and buttons.
  • e2e.config.ts has the admin target and credentials only. With no agent steps there is no model, so no AI dependencies and no API key.
  • Root scripts e2e, e2e:headed and e2e:ts. The type-check step in pullRequests and push runs yarn e2e:ts.

Removed

  • The cypress-tests/ workspace, example.cypress.config.ts, scripts/setupCypress.js, scripts/listCypressTestsFolders.js, the cy:*, cypress:* and setup-cypress scripts, and the Cypress lines in example.env, .gitignore and tsconfig.build.json.
  • The v5 /cypress command workflow and its generator.
  • The window.Cypress check in the CMS model editor title (Name.tsx). It always resolved to autoFocus: true, which is EditableTitle's default, so nothing changes for users.
  • The <project root>/cypress listing in createDependencyTree. It returned the root's workspaces a second time, so references.json listed every package.json twice (252 of 254 dependencies had duplicate entries, 0 now).
  • cypress.json in the new-project example.gitignore. The Cypress section of docs/CONTRIBUTING.md is replaced by a short e2e paragraph.

CI

  • /e2e (AWS, DDB and DDB+OS) runs the installation test instead of the Cypress installation spec: it installs Playwright Chromium, runs yarn e2e --tag installation against the deployed Admin, and uploads e2e/.e2e on failure. The steps come from next's createInstallationTestSteps.
  • push gets the same change. The commented-out Cypress matrix job is gone.
  • Regenerated pullRequests.yml, pullRequestsCommandE2e.yml and push.yml.

Tests

  • e2e list collects the installation test; it's skipped unless E2E_INSTALLATION=1, as on next.
  • yarn e2e:ts, adio, oxfmt and oxlint pass.
  • The installation test needs a never-installed deployed project, so it hasn't run yet. /e2e on this PR is the real check.

Notes:

  • yarn.lock resolves e2e 0.15.1 and @e2e-dev/web 0.11.1, the versions next uses. The newest releases (0.15.2 and 0.11.2) don't load together.
  • The Cypress mentions left are the example workflows under docs/gh-actions-workflows/, which are for users' projects and stay on next too, and the transitive @cypress/request.

Workspace: wby-next2 · 🧹 MERGE 6.5.0 => NEXT

🤖 Generated with Claude Code

Ports #6010 and the cleanups from #6012 to 6.5.0. The installation wizard
test now lives in a new `e2e/` workspace (TesterArmy's e2e framework with
Playwright), and the Cypress workspace, its config template, setup scripts
and root scripts are gone.

The e2e workspace only carries what the installation test needs. There is no
AI agent config, so `ai`, `@ai-sdk/anthropic` and `zod` are left out; `ai` is
an optional peer of `e2e`. The lockfile pins `e2e` 0.15.1, `@e2e-dev/web`
0.11.1 and `playwright` 1.63.0, the versions next resolves. A fresh resolve
picked `@e2e-dev/web` 0.11.2, which fails to load against `e2e` 0.15.2.

CI: the `/e2e` command and the push E2E jobs (DDB and DDB+OS) run
`E2E_INSTALLATION=1 yarn e2e --tag installation` against the deployed Admin
app URL and upload `e2e/.e2e/` on failure. The type-check step runs
`yarn e2e:ts` instead of `yarn cy:ts`. The `/e2e` comment no longer says
Cypress.

Also removed: the v5 `/cypress` command workflow, the `window.Cypress`
autoFocus check in the CMS model editor title (`EditableTitle` already
defaults to `autoFocus`), the `<project root>/cypress` folder that made
`sync-dependencies` list every package.json twice, and `cypress.json` in the
new-project .gitignore template.

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

coderabbitai Bot commented Oct 15, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a5a99120-8fdf-4eec-82aa-b88cb02220ed

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added this to the 6.5.0 milestone Oct 15, 2026
@adrians5j
adrians5j merged commit b14a85e into release/6.5.0 Oct 15, 2026
20 checks passed
@adrians5j
adrians5j deleted the claude/650-e2e-installation branch October 15, 2026 10:00
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.

1 participant