Finally fixed it! BeforeScenario was the problem.