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());
 }