Behat 3.0 changes

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
sethcohn's picture

So I'm working with the new Behat 3.0 (and the latest Drupal Extension), and discovering how much has changed... For example, Metasteps? Gone. Lots of changes to how you call stuff, and so on.

So a lot of the existing (and awesome) code out there you'll find googling no longer works.
One example: take a screenshot when a step fails? The code is obsolete. I know it's doable, but I'm not sure how yet.

Is there a good place (yet?) to discover the 3.0 way of doing things, and a repository of good example code for doing 'all the things'?

Comments

Screenshots in 3.0

Behatch also has screenshot code

sethcohn's picture

https://github.com/Behatch/contexts
Haven't used it much yet, but seems to work alongside of DrupalExtension fine, and includes a variety of nitfy items including screenshot, more wait functions, and JSON steps.