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

Reproduction and potential solution for issue: "cypress-split always uses average duration" #267 #268

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KleaTech
Copy link

To reproduce the issue described in #267 :

  1. Run npm run timings-alternative-config to generate split file
  2. Run npm run timings-alternative-config again to see the durations
  3. Observe that all durations are equal (average)
    image

To see the fix in action:

  1. Run rm test/alternative-config-timings.json to remove the timings file, you need to generate it again
  2. Run SPLIT_FIX=true npm run timings-alternative-config to generate split file using the fix
  3. Run SPLIT_FIX=true npm run timings-alternative-config again to see the durations
  4. Observe that durations are correct
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant