Gate full E2E suite in CI / 将完整 E2E 套件交给 CI 门禁 - #675
Open
adibarra wants to merge 1 commit into
Open
Conversation
中文:将完整 E2E 套件交给 CI 门禁。\n\n默认 bun run test:e2e 运行 83 个 smoke 测试,bun run test:e2e:full 保留完整本地套件。所有 unit tests 和现有 E2E specs 保持不变。
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
bun run test:e2ea local smoke suite with 83 Cypress tests.bun run test:e2e:fullfor the complete local suite.bun run teston all unit tests plus the full E2E suite.Validation
bun run test:unitpassed, 3,477 tests.bun run typecheckpassed.bun run test:e2epassed, 83 tests in 36.7 seconds.The local smoke suite excludes
navigation.cy.tsbecause two overview navigation checks were flaky against the local development server. That spec remains in the full suite and CI gate.中文说明
摘要
bun run test:e2e改为运行 83 个 Cypress smoke 测试的本地快速套件。bun run test:e2e:full,用于本地运行完整测试套件。bun run test运行全部 unit tests 和完整 E2E 套件。验证
bun run test:unit通过,共 3,477 个测试。bun run typecheck通过。bun run test:e2e通过,83 个测试耗时 36.7 秒。由于本地开发服务器上的两个 overview 导航检查存在不稳定性,本地 smoke 套件暂不包含
navigation.cy.ts。该 spec 仍保留在完整套件和 CI 合并门禁中。Note
Low Risk
Script and documentation-only changes to the local test workflow; production code and CI E2E coverage are unchanged.
Overview
Local E2E is now a smoke gate.
bun run test:e2edelegates totest:e2e:quick, which runs a fixed subset of component specs (chart-buttons,scatter-graph) and integration specs (sanity, core chart pages, zh pages, CSV export overlay, overlay-optimal-only)—about 83 tests aimed at sub-minute feedback.bun run test:e2e:fullruns the previous behavior (cypress run --component && cypress run); the root workspace exposes the same script, andbun run teststill runs unit tests plus the full E2E suite.Docs and agent guidance (
AGENTS.md,docs/testing.md,docs/adding-entities.md) now tell developers and@claudeto iterate on smoke E2E and treat GitHub Actions as the merge gate for the full matrix; day-0 entity verification’s final gate points attest:e2e:fullinstead oftest:e2e.No Cypress spec files were removed in this diff; the smoke integration list simply omits specs such as
navigation.cy.ts(still in full/CI per PR notes).Reviewed by Cursor Bugbot for commit 164952e. Bugbot is set up for automated code reviews on this repo. Configure here.