Drupal extension in Behat has 3 drivers - Blackbox, Drupal API, and Drush. Yo...

Contribution Date
Technology
Contribution Project
Contribution Details

Drupal extension in Behat has 3 drivers - Blackbox, Drupal API, and Drush. You can see a quick comparison listed on this page. So, Drush driver doesn't have the ability to create nodes, so you change your behat.yml to point to the drupal_api driver like this https://behat-drupal-extension.readthedocs.io/en/3.1/drupalapi.html
Also, make a note of this point - With the drupal_api driver, you can only execute scripts on your local instance and not on a remote server. To conclude, if you are executing scripts on a local instance, go ahead with the drupal_api driver or else switch to drush driver and use steps supported by it.

Issue Status
Active
Contribution Author
Files count
0
Patches count
0