jonathanjfshaw
jonathanjfshaw
We often want to restrict the focus of a particular step to it a particular part of a page (a "location"). To do this easily I find myself tempted to...
Basic features work locally, let's see what Travis says about the before/after hooks.
It seems to me that in most circumstances step authors would want the actions described in steps to flow successfully as described, without displaying Drupal errors or warnings on the...
Following on from: https://www.drupal.org/node/2537618, planning for adding support beyond nodes to the more basic content entities. JHedstrom commented there: "In the Drupal Drivers, there would be new methods added. For...
I was writing a subcontext, and got containerNotInitializedException when I wanted to call \Drupal::logger(). Because I know the extension well, it wasn't that hard for me to to track the...
If you try to specify entities with non-existing fields, no warning is given. This step passes but should not: ``` Given "page" content: | title | field_does_not_exist | | test...
The following steps work the first occasion they are run, but not on subsequent occasions: ``` Given a "discussion" with the title "Test" And I am on "/discuss/test" When I...
The lovely new UserManager service enables the following step. Is it worth including in DrupalContext? ``` /** * Creates content of the given type. * * @Given :name create(s) a/an...
Drupal Views can be complex and critical features of a site, good candidates surely for some BDD testing. Testing Views currently is hard, no ready-made steps offer much to help...
The handling of Drupal entities in Behat Drupal could be consolidated and made more robust. 1) Drupal behat passes complex objects around to represent Drupal entities, back and forth between...