Behatch / contexts

Behat extension with most custom helper steps
Other
393 stars 203 forks source link

Stopping the session in a hard way at the end of the scenario should be opt-in #85

Open stof opened 10 years ago

stof commented 10 years ago

Currently, using the BrowserContext will always force stopping the session at the end of the scenario because of https://github.com/sanpii/behatch-contexts/blob/67de9a82d08e7355628b8d1a707bddec13f945f2/src/Context/BrowserContext.php#L21

But this is a bad idea:

I don't know why you force isolating each scenario entirely (MinkExtension already provides a way to do it for scenarios needing it to work btw), but it should not be forced by default for anyone using your context (it is not even documented)

aik099 commented 10 years ago

:+1: