예제 #1
0
        public void TestUpdateCurrentProfile()
        {
            new LoginPage()
            .SetEmailOrUserName("*****@*****.**")
            .SetPassword("control123")
            .ValidateLoginButton()
            .ClickLoginButton();

            MyProfile.GoTo()
            .IsAccountDisplayed()
            .SetUserName("Matt Damon")
            .SetRealName("Carlos Orellana")
            .SetEmail("*****@*****.**")
            .CheckKeepMyEmailAddressprivate()
            .SetCompany("Home")
            .SetLocation("Bol")
            .ClickUpdateProfile()

            .GoToUpdateAccountPopup()
            .ClickOk()

            .GoToMyProfilePage()
            .IsAccountDisplayed()
            .ValidateUserName("Matt Damon")
            .ValidateRealName("Carlos Orellana")
            .ValidateEmail("*****@*****.**")
            .IsCheckedKeepMyEmailAddressprivate()
            .ValidateCompany("Home")
            .ValidateLocation("Bol");
        }
예제 #2
0
        public void TestAnEmailRequiredMessageIsDisaplayed()
        {
            new LoginPage()
            .SetEmailOrUserName("*****@*****.**")
            .SetPassword("control123")
            .ValidateLoginButton()
            .ClickLoginButton();

            MyProfile.GoTo()
            .IsAccountDisplayed()
            .SetUserName("Matt Damon")
            .SetRealName("Carlos Orellana")
            .IsAnEmailIsRequiredMessageDisplayed();
        }
예제 #3
0
        public void TestDeleteCurrentProfile()
        {
            new LoginPage()
            .SetEmailOrUserName("*****@*****.**")
            .SetPassword("control123")
            .ValidateLoginButton()
            .ClickLoginButton();

            MyProfile.GoTo()
            .IsAccountDisplayed()
            .ClickDeleteAccount()

            .GoToDeleteAccountPopup()
            .ClickDeleteAccount()

            .GoToLoginPage()
            .IsLoginPage();
        }
예제 #4
0
        public void TestNavigationToMyProfilePage()
        {
            new LoginPage()
            .SetEmailOrUserName("*****@*****.**")
            .SetPassword("control123")
            .ValidateLoginButton()
            .ClickLoginButton();

            MyProfile.GoTo()
            .IsAccountDisplayed();

            Dashboard.GoTo()
            .IsStatisticsDisplayed();

            Issues.GoTo()
            .IsTableTitleDisplayed();

            SingOut.GoTo()
            .IsLoginPage();
        }
예제 #5
0
 public void GivenGoToMyProfilePage()
 {
     MyProfile.GoTo();
 }