public void Login_EmptyInput_ErrorMessage()
        {
            var startPage = new YandexLogin(this.driver);

            startPage.Login_ExpectingError(string.Empty, string.Empty);

            Assert.AreEqual("Логин не указан", startPage.ErrorMessage.Text);
        }
        public void Login_WrongUsername_ErrorMessage()
        {
            var startPage = new YandexLogin(this.driver);
            var username  = "******";

            startPage.Login_ExpectingError(username, string.Empty);

            Assert.AreEqual("Такого аккаунта нет", startPage.ErrorMessage.Text);
        }
        public void Login_EmptyPassword_ErrorMessage()
        {
            var startPage = new YandexLogin(this.driver);
            var username  = "******";

            startPage.Login_ExpectingError(username, string.Empty);

            Assert.AreEqual("Пароль не указан", startPage.ErrorMessage.Text);
        }
        public void Login_WrongPassword_ErrorMessage()
        {
            var startPage = new YandexLogin(this.driver);
            var username  = "******";
            var password  = "******";

            startPage.Login_ExpectingError(username, password);

            Assert.AreEqual("Неверный пароль", startPage.ErrorMessage.Text);
        }