Skip to content

chore: remove unused Cypress E2E suite - #842

Merged
mergify[bot] merged 1 commit into
box:masterfrom
JChan106:chore/remove-cypress
Nov 20, 2026
Merged

mergify[bot] merged 1 commit into
box:masterfrom
JChan106:chore/remove-cypress

Conversation

@JChan106

@JChan106 JChan106 commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Removes the Cypress E2E suite. No CI job has run it since Travis was removed in ci: remove Travis CI #837, and preview-client's Playwright suite covers annotations end to end.
  • Deletes cypress.config.js, scripts/cypress.js, test/integration/, test/support/, and test/.eslintrc.json.
  • Drops the cy:* and test:e2e* scripts and the cypress, eslint-plugin-cypress, and wait-on dev dependencies.
  • Removes the *.e2e.test.js ESLint override and the CYPRESS_INSTALL_BINARY: 0 env from the CI workflow.

Kept: test/index.html, test/styles.css, and test/fixtures/, which the webpack dev server (yarn start:dev) serves as its static root. axios also stays, since box-ui-elements imports it.

After this, a search for "travis" or "cypress" in the repo matches only CHANGELOG.md.

Test plan

  • yarn lint passes locally
  • yarn test passes locally (108 suites, 1,090 tests)
  • yarn build:prod:dist succeeds locally
  • CI Status passes on this PR

Summary by CodeRabbit

  • Chores
    • Removed the Cypress end-to-end testing setup and related test scripts.
    • Removed Cypress-based integration tests covering document and image annotations.

No CI job runs Cypress since Travis was removed in box#837. preview-client's Playwright suite covers annotations end to end. Keeps test/index.html, test/styles.css, and test/fixtures, which the webpack dev server still serves.

Co-authored-by: Cursor <cursoragent@cursor.com>
@JChan106
JChan106 requested a review from a team as a code owner November 20, 2026 17:49
@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The PR removes the Cypress end-to-end test setup, including its configuration, runner, dependencies, support files, and integration suites.

Changes

Cypress E2E retirement

Layer / File(s) Summary
Remove Cypress execution setup
.eslintrc.js, .github/workflows/ci.yml, cypress.config.js, package.json, scripts/cypress.js, test/.eslintrc.json
The Cypress configuration and runner are deleted. Cypress dependencies, test scripts, and related CI and ESLint settings are removed.
Remove Cypress test assets
test/integration/*, test/support/*
The Cypress integration suites and support files are deleted. The removed suites covered annotation creation, selection, drawing, rotation, and preview loading on documents and images.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Possibly related PRs

Suggested reviewers: jackiejou, jstoffan, ahorowitz123

Merge Risk: Minimal · up to 44fc8

This change removes the unused Cypress end-to-end suite and its configuration, scripts, and dependencies, and it updates the lockfile to match. It does not change runtime behavior, and no merge-blocking risk was found. Confirm that the pending CI check passes before merging.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "chore: remove unused Cypress E2E suite" matches the main change. The PR deletes the Cypress config, support files, integration tests, runner script, and dependencies, and removes the relate…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title "chore: remove unused Cypress E2E suite" matches the main change. The PR deletes the Cypress config, support files, integration tests, runner script, and dependencies, and removes the related CI setting. The title is concise and specific, and it follows the conventional commit style.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • 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

A rabbit checks the test suite’s trail,
Then clears the Cypress paths and rail.
The scripts, configs, and specs depart,
While carrots rest beside the chart.
One quiet hop; the cleanup’s done!

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b9d016c5-ebd7-4b2e-becd-38a0b7a0d82f
Commits

Reviewing files that changed from the base of the PR and between b91856c and 44fc8aa.

Files ignored due to path filters: 1

  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
Files selected for processing: 15

  • .eslintrc.js
  • .github/workflows/ci.yml
  • cypress.config.js
  • package.json
  • scripts/cypress.js
  • test/.eslintrc.json
  • test/integration/Discoverability.e2e.test.js
  • test/integration/Drawing.e2e.test.js
  • test/integration/Highlight.e2e.test.js
  • test/integration/Region.e2e.test.js
  • test/integration/Sanity.e2e.test.js
  • test/support/commands.js
  • test/support/constants.js
  • test/support/defaults.js
  • test/support/index.js
Files with no reviewable changes: 15

  • .eslintrc.js
  • .github/workflows/ci.yml
  • cypress.config.js
  • package.json
  • scripts/cypress.js
  • test/.eslintrc.json
  • test/integration/Discoverability.e2e.test.js
  • test/integration/Drawing.e2e.test.js
  • test/integration/Highlight.e2e.test.js
  • test/integration/Region.e2e.test.js
  • test/integration/Sanity.e2e.test.js
  • test/support/commands.js
  • test/support/constants.js
  • test/support/defaults.js
  • test/support/index.js

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@mergify

mergify Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

✅ Merged into master as 654c123 at 20:01 UTC

3 min in the queue, 2 min of it CI.

So far

  • ✅ Entered the queue Fri 20 Nov, 19:58 · rule default · triggered by rule Automatic strict merge
  • ✅ Passed · draft #843
  • ✅ Merged 20:01 · 654c123 · squash
3 merge conditions met
  • check-success=CI Status
  • github-review-approved · required by GitHub branch protection
  • any of · required by GitHub branch protection:
    • check-success = CI Status
    • check-neutral = CI Status
    • check-skipped = CI Status

Times in UTC · dashboard · how the merge queue works

@mergify
mergify Bot merged commit 654c123 into box:master Nov 20, 2026
12 checks passed
@mergify mergify Bot removed the queued label Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants