public void TryToLoggingIn() { var loginPage = new LoginPage(this.driver); var accountPage = new AccountPage.AccountPage(this.driver); loginPage.Login(); accountPage.NavigateTo(); accountPage.AssertIsLogged("Hello [email protected]!"); }
public void TryToLoggingIn() { var user = AccessExcelData.GetTestData("TryToLoggingIn"); var loginPage = new LoginPage(this.driver); var accountPage = new AccountPage.AccountPage(this.driver); accountPage.NavigateTo(); accountPage.LoginLink.Click(); loginPage.Login(user); accountPage.AssertIsLogged("Hello [email protected]!"); }