The latest updates on your projects. Learn more about Vercel for GitHub.
Remove redundant tests and brittle verification scripts#66
The test suite contains duplicated cases, assertions on fixtures that never enter the code under test, source-string checks, and UI tests pinned to editorial copy and retired layout details. This cleanup removes those checks and keeps the tests that exercise product behavior. It is based on the video-embed fix in #65; the diff here contains only the test cleanup and its documentation.
Unit tests drop from 86 to 70, and browser journeys drop from 22 to 18. All 117 backend tests and both CSP tests remain. The change deletes five obsolete verification scripts and removes 1,672 lines overall. docs/testing.md explains the coverage, each removal, how to run the suites, and their limits.
The retained output-controller test now checks actual persisted review state instead of an untouched project/salary fixture. The backup test now round-trips real nonempty records and actually supplies values it checks for exclusion. Local project creation and opening helpers use the current dialog and full-page view. Fixed pixel/color/class assertions are removed while real scrolling, navigation, keyboard, persistence, and payment checks remain.
Production verification now uses one built-app smoke script: route status/content type, expected 404s, and desktop/mobile main-content visibility, keyboard entry, runtime errors, and 200% text resizing. Exact HTML wording and Firefox PNG-size checks are removed. The full command keeps the dependency audit but runs it last so audit failures no longer hide test results. The manual brand/accessibility/deployment diagnostics remain available.
Validation:
pnpm check:fullcompleted the UI import check, app and marketing type checks, production build, all 70 unit tests, all 117 Convex tests, both CSP checks, and the rewritten production smoke checks. It then failed on the existing dependency audit (18 vulnerabilities); dependency versions are unchanged.- Five workspace-layout browser journeys passed, covering persistent navigation, command-menu keyboard use, direct project URLs/back, sample isolation, and project creation from another route.
- Three additional browser journeys passed after updating stale helpers: local creation/reload, backup export/restore, and shell scrolling.
- Final app type check, formatting and whitespace checks passed. All three skill-mirror tooling tests passed and all 62 mirror files matched.
- The full 18-journey Playwright suite and the authenticated cloud journey were not validated. Browser workflows remain a separate command, outside the current CI/check:full pipeline. Live YouTube/Vimeo availability and embed permissions are also outside markup tests.
Tradeoff: removed source/geometry checks no longer freeze internal page-family markup, exact gutters, colors or special inspector layouts. This change does not claim comprehensive visual-regression coverage. Backend authorization, billing, quota and public-data privacy coverage remains intact.
Checks
Failing1
- Failed
Added 1 commit
- Remove redundant tests and replace brittle verification scripts492b7bd
Warning
Review limit reached
You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.
Next included review available in 59 minutes.
View limit details
Limit details: You’ve used the included review currently available.
Review configuration:
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: 694788be-49ff-4977-a076-51a924592a30
📥 Commits
Reviewing files that changed from the base of the PR and between a6e8247372691a8768bac6ab4a3b0b715c8f5d30 and 492b7bd28f2757d7a8a51845b2d46f23762a6d67.
📒 Files selected for processing (21)
CONTRIBUTING.mdREADME.mddocs/README.mddocs/testing.mde2e/helpers.tse2e/local-project.spec.tspackage.jsonscripts/check-workspace-layout.mjsscripts/verify-browser-smoke.mjsscripts/verify-production.mjsscripts/verify-relay-rebuild.mjsscripts/verify-ui-interactions.mjsscripts/verify.mjssrc/app/client-portal/client-portal-view.test.tssrc/app/providers.test.tsxsrc/components/subscription-plans.test.tsxsrc/components/workspace-page/workspace-page.test.tsxsrc/features/project-outputs/project-output-controller.test.tssrc/features/project-outputs/project-output-domain.test.tssrc/features/projects/project-table-domain.test.tssrc/lib/workspace-backup.test.ts
- Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Autopilot is currently an internal CodeRabbit preview.
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.
Comment @coderabbitai help to get the list of available commands.
Deploying with
Cloudflare Workers
The latest updates on your project. Learn more about integrating Git with Workers.
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs | relay | 492b7bd2 | Oct 02 2026, 12:04 AM |
Deploying with
Cloudflare Workers
The latest updates on your project. Learn more about integrating Git with Workers.
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs | relay-web | 492b7bd2 | Commit Preview URL Branch Preview URL | Oct 02 2026, 12:05 AM |
Capy couldn't review this pull request because Screen's workspace is out of credits, add credits or enable auto-reload to resume automatic reviews.