drupal-behat
drupal-behat copied to clipboard
RedirectContext added to test redirections
Steps added:
I do not follow redirects
I (?:am|should be) redirected to
Concept and most of the code comes from @geerlingguy's blog post
👍🏼
Thanks @otarza ! I would actually remove the step to disable follow redirect and use just a tag to disable (in before scenario) and re-set in after scenario. We could call the tag @enableRedirectDetection or something.