cypress-split
cypress-split copied to clipboard
Split launching 1 spec
Hello!
I am using cypress-split plugin in our ci with a value of 2 as matrix-containers. Everything is working fine launching our smokes tests but now we have the possibility to launch a tag as input. So my tag @Login only has 1 spec and the problem is that is executing the file on matrix-container 0 and then the matrix container 1 fails because does not found tests to executed.
I was thinking to use the plugin find-cypress-spec but I am using cucumber and I saw this ticket.
Any idea how can I retrieve the files involved for the execution and determinate the matrix? Or how can I configure to not fail if there are not tests to be executed?
Thanks in advance!