Description
Current behavior
cypress run --spec file_a.tsx file_b.tsx
and also cypress run --spec file_a.tsx,file_b.tsx
both end up running only the specs in file_a.tsx
Desired behavior
cypress run --spec file_a.tsx file_b.tsx
and also cypress run --spec file_a.tsx,file_b.tsx
both result in test_a.tsx
and test_b.tsx
both being executed by cypress
Test code to reproduce
Any test suite with at least two files can be used to reproduce. Manually specify at least 2 files using --spec
but only the first one in the list will be executed by cypress
Cypress Version
9.5.4, 10.3.0
Other
cypress run --spec file_a.tsx file_b.tsx
this used to work at some point in our CI pipeline, but it eventually broke silently. We didn't notice because the pipeline was still succeeding, it was just running a small sample of the tests.
I tried upgrading from 9.5.4 to 10.3.0 but the issue persists.