cypress-split
cypress-split copied to clipboard
Reproduction and potential solution for issue: "cypress-split always uses average duration" #267
To reproduce the issue described in #267 :
- Run
npm run timings-alternative-config
to generate split file - Run
npm run timings-alternative-config
again to see the durations - Observe that all durations are equal (average)
To see the fix in action:
- Run
rm test/alternative-config-timings.json
to remove the timings file, you need to generate it again - Run
SPLIT_FIX=true npm run timings-alternative-config
to generate split file using the fix - Run
SPLIT_FIX=true npm run timings-alternative-config
again to see the durations - Observe that durations are correct