public void Setup()
 {
     _loginPage = new LoginPage(WebBrowser.Current);
     _loginPage.Open();
     _homePage = _loginPage.LoginAs(ConfigurationManager.AppSettings["Login"],
                                    ConfigurationManager.AppSettings["Password"]);
 }
Пример #2
0
 public void WhenILogingInWithCorrectEmailAndPassword(string p0, string p1)
 {
     HomePage = LoginPage.LoginAs(p0, p1);
 }
Пример #3
0
 public void ThenIShouldSeeTheLinkToMyProfileWithMyName()
 {
     HomePage = new HomePage(WebBrowser.Current);
     Assert.AreEqual(User.Name, HomePage.GetProfileLinkText());
 }
Пример #4
0
 public void ThenIShouldBeRedirectedToMyCoolToolHomePage()
 {
     HomePage = new HomePage(WebBrowser.Current);
     Assert.AreEqual(User.Name, HomePage.GetProfileLinkText());
 }