public void Cleanup() { var actor = _scenarioContext.ScenarioContainer.Resolve <Actor>(); actor.AttemptsTo(QuitWebDriver.ForBrowser()); var databaseContext = _scenarioContext.ScenarioContainer.Resolve <IDatabaseContext>(); databaseContext.Database.EnsureDeleted(); }
public void QuitBrowser() { Actor.AttemptsTo(QuitWebDriver.ForBrowser()); }
public void Cleanup() { var actor = _scenarioContext.ScenarioContainer.Resolve <Actor>(); actor.AttemptsTo(QuitWebDriver.ForBrowser()); }