Пример #1
0
        public void LoginToFacebookPositiveTestCase()
        {
            User user = UserPool.getOne();

            NavigationUtils.GoToFacebookLoginPage();
            new LoginAction().LogIn(user);
            new LoginAsserts().AssertUserIsLoggedIn(user.UserId);
        }
Пример #2
0
        public void SearchAccountByUserName_PositiveTestCase()
        {
            User user = UserPool.getOne();

            NavigationUtils.GoToFacebookLoginPage();
            new LoginAction().LogIn(user);
            new SearchAction().Search("volodymyr lohvyniuk");
            new SearchAsserts().AssertSearchResultPresent("volodymyr.lohvyniuk");
        }
Пример #3
0
        public void LoginToFacebookNegativeTestCase()
        {
            User user = UserPool.getOne();

            user.Password = "******";
            NavigationUtils.GoToFacebookLoginPage();
            new LoginAction().LogIn(user);
            new LoginAsserts().AssertUserIsNotLoggedIn(user.FirstName);
        }