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"); }
public void TestAnEmailRequiredMessageIsDisaplayed() { new LoginPage() .SetEmailOrUserName("*****@*****.**") .SetPassword("control123") .ValidateLoginButton() .ClickLoginButton(); MyProfile.GoTo() .IsAccountDisplayed() .SetUserName("Matt Damon") .SetRealName("Carlos Orellana") .IsAnEmailIsRequiredMessageDisplayed(); }
public void TestDeleteCurrentProfile() { new LoginPage() .SetEmailOrUserName("*****@*****.**") .SetPassword("control123") .ValidateLoginButton() .ClickLoginButton(); MyProfile.GoTo() .IsAccountDisplayed() .ClickDeleteAccount() .GoToDeleteAccountPopup() .ClickDeleteAccount() .GoToLoginPage() .IsLoginPage(); }
public void TestNavigationToMyProfilePage() { new LoginPage() .SetEmailOrUserName("*****@*****.**") .SetPassword("control123") .ValidateLoginButton() .ClickLoginButton(); MyProfile.GoTo() .IsAccountDisplayed(); Dashboard.GoTo() .IsStatisticsDisplayed(); Issues.GoTo() .IsTableTitleDisplayed(); SingOut.GoTo() .IsLoginPage(); }
public void GivenGoToMyProfilePage() { MyProfile.GoTo(); }