Skip to content

Conversation

@davidfirst
Copy link
Member

@davidfirst davidfirst commented Jul 11, 2025

Split the massive 1603-line lanes.e2e.ts file into 9 smaller, focused test files organized by functionality. This enables better load balancing when running e2e tests in parallel across 25 machines. Each new file focuses on a specific aspect of lane operations (basic operations, snapping, export, import, merging, diffing, multiple scopes, forking, and management) and ranges from 150-400 lines.

Also, change Circle to split the test by timing and fix the glob pattern to make this works.

- Create jest-fixtures.ts with shared test fixture functions
- Remove fixture functions from jest.e2e.ts to prevent unintended test execution
- Update imports in build-cmd.e2e.ts and merge-lanes-edge-cases.e2e.ts
- Fix issue where importing specFileFailingFixture caused entire jest.e2e.ts test suite to run
CircleCI timing data stores absolute paths but glob was returning relative paths,
causing autodetection to fail and fall back to name-based weighting
@davidfirst davidfirst merged commit 943de55 into master Jul 17, 2025
10 checks passed
@davidfirst davidfirst deleted the refactor/split-lanes-e2e-for-parallel-testing branch July 17, 2025 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants