public void Cleanup()
        {
            var actor = _scenarioContext.ScenarioContainer.Resolve <Actor>();

            actor.AttemptsTo(QuitWebDriver.ForBrowser());

            var databaseContext = _scenarioContext.ScenarioContainer.Resolve <IDatabaseContext>();

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

            actor.AttemptsTo(QuitWebDriver.ForBrowser());
        }