bahmutov / cypress-split

Split Cypress specs across parallel CI machines for speed
MIT License
199 stars 21 forks source link

CI machine number incorrect #280

Closed parkuman closed 1 month ago

parkuman commented 1 month ago

Noticed this issue when running in Gitlab CI with parallel: 5.

job 1/5

image

job 5/5

image

Can be seen in the official GitLab example: https://gitlab.com/bahmutov/cypress-split-gitlab-example/-/jobs/3611343446

I think this might be CI-independent since it looks like cypress-split prefers 0 index, but when printing we don't +1. Let me know if incorrect!