Driver state is not cleared
jakzal opened this issue · 3 comments
jakzal commented
Given I set a header in one scenario, it is also used with the next ones.
stof commented
yeah, reset should take care of it
stof commented
This is actually an issue in the BrowserKitDriver parent class.
We should not call setServerParameters
in our driver but store the headers in our driver and pass them when calling $client->request()
to avoid altering the inner state of the driver (which cannot be read easily to reset it)
aik099 commented
Agreed.