public void BFC_NewsLetter_Email_NewsArticle_SignUp()
 {
     WebDriver.Navigate().GoToUrl("https://bfc-test.bftcloud.com/news/government-announces-1m-cyber-security-scheme-for-smes/");
     BFC_NewsPage.Enter_Email("*****@*****.**");
     BFC_NewsPage.SignUp();
     Assert.AreEqual(_thankyouMessage, BFC_NewsPage.confirmationText());
 }
 public void BFC_NewsLetter_Email_NewsArticle_NoDomain_SignUp()
 {
     WebDriver.Navigate().GoToUrl("https://bfc-test.bftcloud.com/news/government-announces-1m-cyber-security-scheme-for-smes/");
     BFC_NewsPage.Enter_Email("jacktest@gmail.");
     BFC_NewsPage.SignUp();
     Assert.AreEqual(_validEmailErrorMessage, BFC_NewsPage.emailErrorText());
 }
 public void BFC_NewsLetter_Email_Invalid_Valid_SignUp()
 {
     BFC_NewsPage.Enter_Email("jack.broughtongmail");
     BFC_NewsPage.SignUp();
     Assert.AreEqual(_validEmailErrorMessage, BFC_NewsPage.emailErrorText());
     BFC_NewsPage.Enter_Email("*****@*****.**");
     BFC_NewsPage.SignUp();
     Assert.AreEqual(_thankyouMessage, BFC_NewsPage.confirmationText());
 }
 public void BFC_NewsLetter_Email_PlusSymbol_SignUp()
 {
     BFC_NewsPage.Enter_Email("*****@*****.**");
     BFC_NewsPage.SignUp();
     Assert.AreEqual(_thankyouMessage, BFC_NewsPage.confirmationText());
 }
 public void BFC_NewsLetter_Email_NoDomain_NoSignUp()
 {
     BFC_NewsPage.Enter_Email("jack.broughtongmail@");
     BFC_NewsPage.ClickElseWhere();
     Assert.AreEqual(_validEmailErrorMessage, BFC_NewsPage.emailErrorText());
 }
 public void BFC_NewsLetter_Email_NoDot_NoAt_SignUp()
 {
     BFC_NewsPage.Enter_Email("jack.broughtongmail@");
     BFC_NewsPage.SignUp();
     Assert.AreEqual(_validEmailErrorMessage, BFC_NewsPage.emailErrorText());
 }
 public void BFC_NewsLetter_Email_NoDot_SignUp()    //Your subscription could not be completed //NO WARNING ON EMAIL CHAR LIMIT, APPEARS TO BE 100
 {
     BFC_NewsPage.Enter_Email("jack.broughtongmail@gmail");
     BFC_NewsPage.SignUp();
     Assert.AreEqual(_validEmailErrorMessage, BFC_NewsPage.emailErrorText());
 }
 public void BFC_NewsLetter_Email_NoUsername_SignUp()
 {
     BFC_NewsPage.Enter_Email("@testgmail.com");
     BFC_NewsPage.SignUp();
     Assert.AreEqual(_validEmailErrorMessage, BFC_NewsPage.emailErrorText());
 }
 public void BFC_NewsLetter_Email_Blank_SignUp()
 {
     BFC_NewsPage.Enter_Email("");
     BFC_NewsPage.SignUp();
     Assert.AreEqual(_fieldRequiredMessage, BFC_NewsPage.emailErrorText());
 }
 public void BFC_NewsLetter_Email_MultipleDots_SignUp()
 {
     BFC_NewsPage.Enter_Email("[email protected] Hello");
     BFC_NewsPage.SignUp();
     Assert.AreEqual(_validEmailErrorMessage, BFC_NewsPage.emailErrorText());
 }
 public void BFC_NewsLetter_Email_Valid_SignUp()
 {
     BFC_NewsPage.Enter_Email("*****@*****.**");
     BFC_NewsPage.SignUp();
     Assert.AreEqual(_thankyouMessage, BFC_NewsPage.confirmationText());
 }
 public void BFC_NewsLetter_Email_UnderScores_SignUp()
 {
     BFC_NewsPage.Enter_Email("*****@*****.**");
     BFC_NewsPage.SignUp();
     Assert.AreEqual(_thankyouMessage, BFC_NewsPage.confirmationText());
 }
 public void BFC_NewsLetter_Email_Spaces_SignUp()
 {
     BFC_NewsPage.Enter_Email("jack [email protected]");
     BFC_NewsPage.SignUp();
     Assert.AreEqual(_validEmailErrorMessage, BFC_NewsPage.emailErrorText());
 }
 public void BFC_NewsLetter_Email_NonAlpha_SignUp()
 {
     BFC_NewsPage.Enter_Email("#@%^%#$@#$@#.com");
     BFC_NewsPage.SignUp();
     Assert.AreEqual(_validEmailErrorMessage, BFC_NewsPage.emailErrorText());
 }