-
Notifications
You must be signed in to change notification settings - Fork 14
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
Use cucumber mink from within a node javascript file #326
Comments
Hello @MattLish hope this helps |
Hi, I want to add mink to my angular 5 project using protractor-cucumber-framework. I've put a 'onPrepare' in my protractor.conf.js that initializes mink & registers itself to cucumber, and I get the same error as MatLish.
On the homepage of mink: http://cucumber-mink.js.org/ it's described how to run with cucumber.js support code, but still uses the deprecated method 'defineSupportCode' which I replaced with the new approach (see my code fragment). |
@pmestrum where you ever able to find a viable solution for new(er) versions of protractor? If so, would you mind sharing a snippet? EDIT: note I eventually ended up porting this as it was easier than working around not using protractor natively -- https://github.com/matmar10/protractor-cucumber-mink |
I want to run cucumber mink using gulp (instead of from the command line).
So to do this, I need to just run mink from a javascript file.
I have tried doing:
and
However, both times I receive the same error:
Is it possible to run cucumber mink from a javascript file rather than the command line?
Is there something I am missing/not understanding here?
The text was updated successfully, but these errors were encountered: