-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Error using Protractor 2.1.0 with CucumberJS 0.4.9 #342
Comments
Looks like a bug in protractor: See https://github.com/angular/protractor/blob/2.1.0/lib/frameworks/cucumber.js#L82 I think |
Fixes the run failures reported in cucumber/cucumber-js#342.
Fixes the run failures reported in cucumber/cucumber-js#342.
PR opened on Protractor. |
Fixes the run failures reported in cucumber/cucumber-js#342.
@aristarkhartemiy FYI my PR on protractor has been merged. Is everything fine now? |
Thank you. It works. |
@aristarkhartemiy Hi! can you please help me using protractor+cucumber? I'm getting this error:
My
I guess that you run your test by PLEASE HELP! EDIT: |
In 0.8.0 when we added support for multiple formatters, the function changed from |
@charlierudolph Thanks for your reply! I've forced to use 0.8.0, and I had installed globally Protractor and cucumber, but, I keep getting the same behavior, seems that some how its trying to use locallly Cucumber... Shouldn't it be looking for cucumber module? where/how do I force to look into it? Thanks! |
The current version of protractor is using cucumber 0.6.0. Protractor needs to be updated to be compatible with the new version of cucumber. |
@charlierudolph OK! I had downgraded to 0.6.0, the Thanks a lot for your time! |
Protractor uses the cucumber module and |
@charlierudolph thanks! I just saw this issue 2634 which I had commented as well! |
I am also facing same issue |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
CucumberJS 0.4.9 is supported by Protractor 2.0.0. However, is CucumberJS 0.4.9 supported by Protractor 2.1.0?
I'm experiencing trouble upgrading to Protractor 2.1 from Protractor 2.0 in my project which uses CucumberJS 0.4.9. I suspect it's an issue with the use of Protractor 2.1.0 and CucumberJS 0.4.9.
When I edit the package.json to downgrade to Protractor 2.0.0, and reinstall the node packages, the issue is resolved. What's causing the error in Protractor 2.1.0 with CucumberJS 0.4.9?
My project files and their contents are listed below:
/path/to/myproject/conf.js
/path/to/myproject/features/demo.feature
/path/to/myproject/features/stepDefinitions.js
/path/to/myproject/package.json
When the node packages are installed, and Protractor is run:
The following error is printed to the terminal:
However, if I edit the package.json to downgrade to Protractor 2.0.0, and install the node packages again:
It then works when I run Protractor:
The text was updated successfully, but these errors were encountered: