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-configto generate split file - Run
npm run timings-alternative-configagain to see the durations - Observe that all durations are equal (average)
To see the fix in action:
- Run
rm test/alternative-config-timings.jsonto remove the timings file, you need to generate it again - Run
SPLIT_FIX=true npm run timings-alternative-configto generate split file using the fix - Run
SPLIT_FIX=true npm run timings-alternative-configagain to see the durations - Observe that durations are correct