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 static void AcceptRequestWithOtherUser() { ProfilePages.LogOut(); SignIn.OpenForm(); SignIn.FillCredentials(5); ProfilePages.CheckProfilePage(); NavigateToReceivedRequest(); AcceptRequest(); Thread.Sleep(3000); LogOutButton.Click(); SignIn.OpenForm(); SignIn.FillCredentials(2); ProfilePages.CheckProfilePage(); NavigateToSentRequest(); }