public void LogInWithInvalidPass(string login, string pass, string errorMessage)
        {
            ap_POM = new AutorizePage_POM(chrome);
            ap_POM.FillLoginField(login).FillPassField(pass).ClickLoginButton();
            string actualError = ap_POM.GetLoginErrorMessage();

            Assert.AreEqual(errorMessage, actualError);
        }
        public void ForgetPasswordNavigationThroughtErrorMessage()
        {
            ap_POM = new AutorizePage_POM(chrome);
            ForgotPassword_POM fp_POM = new ForgotPassword_POM(chrome);

            ap_POM.FillLoginField("*****@*****.**").FillPassField("4f4f4f4f4f4").ClickLoginButton();
            ap_POM.ClickErrorForgetPassword();
            string navigatedUrl = fp_POM.GetPageTitle();

            Assert.AreEqual(navigatedUrl, "Изменение пароля");
        }
 public void LogInWithValidCredentials()
 {
     ap_POM = new AutorizePage_POM(chrome);
     ap_POM.FillLoginField("*****@*****.**").FillPassField("123qwe").ClickLoginButton();
     Assert.IsTrue(true);
 }