infosum / cypress-tags

Use custom tags to slice up Cypress test runs
83 stars 20 forks source link

Use cypress-tags with cy2 for parallel testing #187

Closed jmgate closed 2 years ago

jmgate commented 2 years ago

I need to be able to use cypress-tags in conjunction with the cy2 executable provided with Sorry Cypress to achieve test parallelization. Is there a way to have cypress-tags use cy2 instead of cypress under the hood?

jmgate commented 2 years ago

@annaet, do you by chance have any insight on this? I apologize if it's a silly question just due to a simple oversight on my end. Many thanks 😀

annaet commented 2 years ago

Hi,

I've not used sorry cypress myself so I'm not sure how their plugin interactions work. You would likely be able to adapt the cypress-tags code to work with it but I doubt it'll just plugin out of the box.

jmgate commented 2 years ago

We managed to get it working, and there weren't any hacks needed with respect to cypress-tags. Apparently our problem was just in how we had cy2 listed as a dependency of our Cypress tests package. Sorry to have bothered you.