bahmutov / bahmutov/cypress-split

cypress-split always uses average duration

Open
#267 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
285
Forks
28
PR merge metrics
No merged PRs in 30d

Description

cypress-split finds and reads the timings file correctly, but cannot find the individual specs in it. The reason is that the path in the timings file and the path that cypress-split compares with are different, see image.

![image](https://github.com/bahmutov/cypress-split/assets/24510869/a91dc9b0-c65b-4467-afa4-f2e9cf8b379d)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the mismatch shown in the attached image and trace where cypress-split compares the timings-file path with each Cypress spec path. Verify the fix by confirming individual spec durations are found and the split no longer always uses the average duration; the issue names no files or tests to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
cypress, javascript
Domain
ci-cd, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.