Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cypress-split always uses average duration #267

Open
KleaTech opened this issue Apr 12, 2024 · 4 comments
Open

cypress-split always uses average duration #267

KleaTech opened this issue Apr 12, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@KleaTech
Copy link

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

@KleaTech
Copy link
Author

I think this solves it, but probably it would make sense to revisit the specAbsoluteToRelative approach

image

@bahmutov
Copy link
Owner

bahmutov commented Apr 12, 2024 via email

@KleaTech
Copy link
Author

I check if I can write a test that indicates the issue.

The fix I suggested works, but I think it's more of a workaround. It's even possible that the best place for the fix is in find-cypress-specs.

@dwilson0806
Copy link

Any luck with this one ? :) hitting same thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants