Skip to content
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

Issue when migrating cucumber from 1.0.0 to 1.2.0 #38

Open
vytautas-pranskunas- opened this issue Jun 29, 2016 · 0 comments
Open

Issue when migrating cucumber from 1.0.0 to 1.2.0 #38

vytautas-pranskunas- opened this issue Jun 29, 2016 · 0 comments

Comments

@vytautas-pranskunas-
Copy link

Hello,

after cucumber version was updated i run into an issue:

cucumber event handlers attached via registerHandler are now passed the associated object instead of an event
getPayloadItem will be removed in the next major release

C:\dev\Topic Analyst\Frontend\node_modules\cucumber\lib\cucumber\runtime\event_broadcaster.js:30
throw error;
^
function accepts a callback and returns a promise

0 passing (3.30s)

[10:43:31] 'cucumber' errored after 3.51 s
[10:43:31] Error in plugin 'gulp-webdriver'
Message:
wdio exited with code 1

I got an answer from cucumber: cucumber/cucumber-js#601 (comment)

we are hooking to "beforeFeature" - I think gulp-cucumber uses callbacks. If so cna you do cucumber version upgrade and made a fix for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant