On may 14 we have a new #meetup in #Eindhoven , We have @timobakx to speak about testing API endpoints using #Behat and #Gherkin Possibly a must-attend event if you develop APIs... ;)
We use the Alice bundle for our fixtures in the behat feature tests. With the last update the order of the inserts of the entities has been changed. I don’t know how or why but it was done. But we must ensure that the entities has the expected ids.
Now we change to the Foundry package where we can be safe that the entities will be created in the expected order.
Does someone had the same problem with the Alice bundle?
After sifting through many outdated blogs and read-the-docs sites, I finally managed Behat running with Lando for testing Drupal (D9). Here’s a short post describing part of that: Running Headless Chrome as a Lando Service.
Using the Drush Behat Params library, you can quickly and easily configure Behat for Drupal testing. This library provides a drush command wrapper for 'bin/behat' with BEHAT_PARAMS already set, eliminating the need to specify the URL, path to code, and drush alias each time you run Behat.