Repository navigation
chore(e2e): add smart E2E runner with shared dev server - #207
Merged
Merged
Conversation
- Add scripts/e2e-runner.ts for intelligent E2E test execution - Share dev server across spec files to avoid port conflicts - Support --mock, --shard, --update, --project options - Auto-detect changed files and run only affected tests - Update CI to use e2e:runner instead of running all tests at once - Update Safari screenshot baselines
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
添加智能 E2E Runner 脚本,解决以下问题:
Changes
新增
scripts/e2e-runner.ts设计原则
CI 更新
更新
.github/workflows/ci.yml,使用e2e:runner替代原有的全量运行:截图基准更新
更新了 Mobile Safari 的截图基准文件。
Testing
pnpm e2e:runner authorize.mock pages.mock通过pnpm e2e:runner --dry-run --all --mock正确显示分片