public void SuccessfulLogin() { LoginPage loginPage = new LoginPage(Driver); EmployeePage employeePage = loginPage.LoginAs("admin", "admin123"); Assert.IsTrue(employeePage.FormIsPresent()); }
public void SuccessfulLogin() { Test.Log(Status.Info, "SuccessfulLogin"); eyes.CheckWindow("Login Page"); LoginPage loginPage = new LoginPage(Driver); EmployeePage employeePage = loginPage.LoginAs("admin", "admin123"); Assert.IsTrue(employeePage.FormIsPresent()); }