public static void SignInWithValidData() { SignUp.CheckHomePage(); SignIn.OpenForm(); SignIn.FillCredentials(2); ProfilePages.CheckProfilePage(); }
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 ThenIShouldSeeTheProfilePage() { ProfilePages.CheckProfilePage(); }