Jonathan Hedstrom

Results 134 comments of Jonathan Hedstrom

Ah, indeed. When using the `drush` driver, your code won't be able to call native PHP code, as the Behat process is actually running on a different server than the...

Can we fix this via documentation and make people always use the header?

Is this still an issue with the latest content moderation in core? IIRC, I've seen non-moderated content get created on recent projects...

There is some other discussion that provides some workarounds: #93, #184, #249.

Thanks! This needs to be against `master` however, and can be backported to the latest `3.x` version.

I had to pin versions in the Travis tests. Not sure what else we can do (aside from documentation) since core doesn't pin anything, but still only works with specific...

A scope object (in the case of before hooks, `Behat\Behat\Hook\Scope\BeforeFeatureScope`) is passed into any hook methods. You can call `::getEnvironment()` on that which should return details on any active contexts...

I think perhaps you need to call ``` $scope->getEnvironment()->getContext('CustomDrupalContext') ``` instead of the other method above. See the [`gatherContexts` function in these docs](https://behat-drupal-extension.readthedocs.org/en/3.1/subcontexts.html) for an example.

Closing this out. Feel free to re-open for further discussion.

Would be good for other folks using javascript scenarios to verify (our automated js tests of this library were never replaced when ZombieJS support was removed.)