You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am migrating cucumber from V6 to V7. In V7 you have removed @type/cucumber from where in V6 we were importing 'pickle' and 'event' object which is not a case in V7. I can't find exports for these objects and many others.
Could you please suggest?
Thank you.
The text was updated successfully, but these errors were encountered:
VivekLande
changed the title
How to import pickle and event in Cucumber V7?
How to import 'pickle' and 'event' in Cucumber V7?
Jan 14, 2021
With "pickle", there is a new object structure for that which is part of the standardised messages schema now. This is the pickle that is part of the result object passed to your After hook function. I've described the change a bit in #1692 including a link to its schema definition.
The model for events changed completely as part of 7.0.0, so the previous events described in the @types/cucumber package are no longer emitted, and now we emit envelope events, each containing a standardised message object. If you have any issues using the messages to e.g. build a formatter, please drop a question in the Slack or forum and you should get some help. The built-in formatters are a good reference point for this also.
Hi,
I am migrating cucumber from V6 to V7. In V7 you have removed @type/cucumber from where in V6 we were importing 'pickle' and 'event' object which is not a case in V7. I can't find exports for these objects and many others.
Could you please suggest?
Thank you.
The text was updated successfully, but these errors were encountered: