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
Hello!
Although we can access getContext through a BeforeScenarioScope as described here, we can't through a BeforeFeatureScope. Wouldn't that be nice?
The text was updated successfully, but these errors were encountered:
Is there any way I could use the context once before running all scenarios then?
instantiate it yourself (which should light a few warning lights in your head ;) ) - not recommended
run whatever you need to run in a pre-scenario hook. If you really only want to run it once, remember you've already run it and check the flag on subsequent runs.
What are you trying to do?
It's desired to start with a clean state before each scenario. Running something before all scenarios is undesired, even if possible.
Hello!
Although we can access
getContext
through aBeforeScenarioScope
as described here, we can't through aBeforeFeatureScope
. Wouldn't that be nice?The text was updated successfully, but these errors were encountered: