bigbite / wp-cypress

WordPress end to end testing with Cypress.io.
MIT License
86 stars 18 forks source link

Cucumber multi-wp installs #101

Open ampersarnie opened 2 years ago

ampersarnie commented 2 years ago

Description

There have been difficulties getting Cucumber and .feature files running on multi-wp testing setups. This seems to be happening because during the copy and parse of the test files, WP-Cypress is attempting to parse .feature files as though they are .js files. This parsing is not required for these files, so they can and should be skipped.

Change Log

Screenshots/Videos

If PR includes visual changes, please include a screenshot (or short video if applicable).

Screenshot 2022-07-17 at 23 14 09

Types of changes (if applicable):

Checklist (if applicable):

PaulREnglish commented 1 year ago

@ampersarnie I'm having trouble reproducing the problem you described. Does this problem only occur if your different sites have different versions of WordPress installed?

ampersarnie commented 1 year ago

@PaulREnglish I'll put together an example repo for you so you can test this.