Closed alexwizp closed 8 years ago
Also it will be great if you add ability to set timeout for Hooks(@before and @after)
WHO DISTURBS MY SLUMBER
@timjroberts Do you have any updates?
Will try and take a look as soon as I can. Family commitments are occupying my evenings at the moment.
For now a downgrade to cucumber v0.9.5 does the trick, but we miss the other goodies..
Hopefully this will now be fixed in v1.2.0. Let me know how it goes!
I can confirm that it works as expected, at least with one tag passed to the @before()
or @after()
For more details see https://github.com/cucumber/cucumber-js/blob/master/CHANGELOG.md
Section: updated tagged hook interface (Charlie Rudolph)
how to update:
this.Before('@tagA', function() { ... }) // becomes this.Before({tags: ['@tagA']}, function() { ... })
this.Before('@tagA', '@tagB,@tagC', function() { ... }) // becomes this.Before({tags: ['@tagA', '@tagB,@tagC']}, function() { ... })