예제 #1
0
        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);
        }
예제 #2
0
 public void TestNavigateToLogin()
 {
     var loginPage = new LogInPage();
     loginPage.Goto();
     Assert.True(loginPage.IsAt());
 }