public static void ChangePasswordWithValidPassword() { SignIn.OpenForm(); SignIn.FillCredentials(2); ProfilePages.OpenChangePassword(); ChangePassword.FillForm(3); ChangePassword.CheckNewPassword(); }
public static void CheckNewPassword() { //Logs out to try the new password Thread.Sleep(3000); ProfilePages.LogOut(); SignIn.OpenForm(); Thread.Sleep(1000); SignIn.FillCredentials(4); //Checks that the user is able to logIn and changes the password back again ProfilePages.CheckProfilePage(); ProfilePages.OpenChangePassword(); FillForm(2); }
public void WhenTheUserClicksTheChangePasswordOptionInTheProfileMenu() { ProfilePages.OpenChangePassword(); }