public void IfEmailAddressIsValid_NotShowLoginErrorMessage()
      {
         using (var driver = new ChromeDriver())
         {

            var lp = new LoginPage(driver)
               .Navigate()
               .EmailInput(ValidEmail)
               .SubmitButton();

            Assert.Throws<NoSuchElementException>(
               () => lp.EmailErrorMessage());
         }
      }
      public void IfEmailAddressIsNotValid_ShowLoginErrorMessage()
      {
         using (var driver = new ChromeDriver())
         {
            var lp = new LoginPage(driver)
               .Navigate()
               .EmailInput(InvalidEmail)
               .SubmitButton();

            var loginErrorMessage = lp.EmailErrorMessage();
            
            Assert.AreEqual(loginErrorMessage.Text, InvalidErrorEmailMessage);
         }
      }
        public void IfEmailAddressIsNotValid_ShowValidationMessage()
        {
            using (var driver = new ChromeDriver())
            {
                var loginPage = new LoginPage(driver);
                loginPage.Navigate();

                var emailImput = loginPage.EmailInput();
                emailImput.SendKeys("xxx");

                loginPage
                    .Submit();

                var loginErrorMessage = loginPage.EmailErrorMessage();

                Assert.True(loginErrorMessage.Displayed);
            }
        }