You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 20, 2021. It is now read-only.
Using BrowserKit, when I execute all scenarios in my feature file, headers are not reset between scenarios.
For example, if I add a Given I add "CONTENT_TYPE" header equal to "application/json" step in my first scenario, this header will be kept in the second scenario.
This is a bug as it makes fail my second scenario because of that extra & unwanted header.
The text was updated successfully, but these errors were encountered:
This PR was squashed before being merged into the 3.1-dev branch (closes#261).
Discussion
----------
Reset headers
Required by Behatch/contexts#164
See Behatch/contexts#163
Commits
-------
08724f1 Reset headers
Using BrowserKit, when I execute all scenarios in my feature file, headers are not reset between scenarios.
For example, if I add a
Given I add "CONTENT_TYPE" header equal to "application/json"
step in my first scenario, this header will be kept in the second scenario.This is a bug as it makes fail my second scenario because of that extra & unwanted header.
The text was updated successfully, but these errors were encountered: