Exemplo n.º 1
0
        public void SearchAndRequestMovie()
        {
            using (Driver)
            {
                var userLogin = new UserLoginPage(Driver);
                var search    = userLogin.Login("AutomationUser");

                search.SearchForMovie("007");
            }
        }
Exemplo n.º 2
0
        public void LoginWithoutAuthentication()
        {
            using (Driver)
            {
                var userLogin = new UserLoginPage(Driver);
                var search    = userLogin.Login("AutomationUser");

                Assert.That(search.PageTitle.Exists());
            }
        }
Exemplo n.º 3
0
 public void LoginAsDemoUser()
 {
     _userLoginPage.Open();
     _userLoginPage.Login(Configuration.PhpTravels.Settings.DemoUserName, Configuration.PhpTravels.Settings.DemoUserPassword);
     _accountPage.WaitToBeOpened();
 }