wp-cypress
wp-cypress copied to clipboard
Cucumber multi-wp installs
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
- Adds file check to parse script.
Screenshots/Videos
If PR includes visual changes, please include a screenshot (or short video if applicable).
Types of changes (if applicable):
- [x] Bug fix (non-breaking change which fixes an issue).
- [ ] New feature (non-breaking change which adds functionality).
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
Checklist (if applicable):
- [x] Meets provided linting standards.
@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?
@PaulREnglish I'll put together an example repo for you so you can test this.