public void TestLogin() { var loginPage = new LogInPage(); loginPage.Goto(); loginPage.Username = "******"; loginPage.Password = "******"; loginPage.Submit(); Thread.Sleep(1000); var button = Browser.Driver.FindElement(By.ClassName("add-todo-btn")); Assert.True(button != null); }
public void TestNavigateToLogin() { var loginPage = new LogInPage(); loginPage.Goto(); Assert.True(loginPage.IsAt()); }