public void Setup() { _loginPage = new LoginPage(WebBrowser.Current); _loginPage.Open(); _homePage = _loginPage.LoginAs(ConfigurationManager.AppSettings["Login"], ConfigurationManager.AppSettings["Password"]); }
public void WhenILogingInWithCorrectEmailAndPassword(string p0, string p1) { HomePage = LoginPage.LoginAs(p0, p1); }
public void ThenIShouldSeeTheLinkToMyProfileWithMyName() { HomePage = new HomePage(WebBrowser.Current); Assert.AreEqual(User.Name, HomePage.GetProfileLinkText()); }
public void ThenIShouldBeRedirectedToMyCoolToolHomePage() { HomePage = new HomePage(WebBrowser.Current); Assert.AreEqual(User.Name, HomePage.GetProfileLinkText()); }