-
-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New cypress-cucumber-preprocessor 1.19.0 + cypress/webpack-preprocessor = error when executing tests #291
Comments
Looks like the issue is already in 1.17.0. Might be a change in the settings? |
Looks like or you are sure? Please Go to your node_modules/ find the package and check what version you have installed in the Cypress cucumber preprocessor package.json |
Tried all version above 1.16.2 and get the same error. |
Not sure if this is the same thing, but I am hitting an issue when upgrading Cypress to 3.8. Note, it did something weird to my path in the error message (and removed my slashes in the paths):
It looks like the same thing though. Notice my lines have the same butchered white-space as @Lukaszli I am running 1.19.0 (when I look in the node_modules/cypress-cucumber-preprocessor/package.json |
@Jscaramal found it was due to commit 152ccdd (Oct 11). After I reverted, it is now running as expected in Windows for me |
For my case I have the latest Cypress 3.8.1 and cypress-cucumber-preprocessor in version 1.19.0 is causing an error while 1.18.0 is working fine :) |
🎉 This issue has been resolved in version 1.19.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
For people coming from Google - if you still seem to have this problem please try the 2.0.1 Or more recent version |
cypress-io/cypress#5998
New cypress-cucumber-preprocessor - version 1.19.0
(https://github.com/TheBrainFamily/cypress-cucumber-preprocessor) and cypress/webpack-preprocessor is causing an error when trying to execute tests.
Everything is working when using Cypress 3.7.0 and cypress-cucumber-preprocessor 1.18.0.
I have the same error when I am using Cypress 3.7.0 and cypress-cucumber-preprocessor 1.19.0.
But it looks like I get it working when using Cypress 3.8.0 and cypress-cucumber-preprocessor 1.18.0 so it looks like it is an issue in cypress-cucumber-preprocessor 1.19.0 :)
Error:
(I had to remove some data from paths so the error is edited a little bit)
Versions
Tested on Windows 10.
Cypress 3.7.0
Cypress 3.8.0
In /cypress/plugins/index.js I have:
const cucumber = require('cypress-cucumber-preprocessor').default;
In /cypress/support/index.js I don't have anything related to cypress-cucumber-preprocessor
My feature files are written in Gherkin and my step_definitions are using:
import { Given } from 'cypress-cucumber-preprocessor/steps';
The text was updated successfully, but these errors were encountered: