public void GiftYourDetailsInvalidPhoneNumber() { GiftYourDetails giftYourDetails = new GiftYourDetails(driver); giftYourDetails.EnterPhoneNumber("."); giftYourDetails.ClickHeader(); giftYourDetails.CheckErrorMessage("Only numbers are allowed."); giftYourDetails.EnterPhoneNumber("07713187347"); }
public void GiftYourDetailsNoPhoneNumber() { GiftYourDetails giftYourDetails = new GiftYourDetails(driver); giftYourDetails.EnterPhoneNumber(string.Empty); giftYourDetails.ClickHeader(); giftYourDetails.CheckErrorMessage("Required Field"); giftYourDetails.EnterPhoneNumber("07713187347"); }
public void GiftYourDetailsInvalidEmail() { GiftYourDetails giftYourDetails = new GiftYourDetails(driver); giftYourDetails.EnterEmailAddress("A"); giftYourDetails.ClickHeader(); giftYourDetails.CheckErrorMessage("Sorry! This doesn`t look like a valid email address. Please try again."); giftYourDetails.EnterEmailAddress("*****@*****.**"); }
public void GiftYourDetailsNoEmailAddress() { GiftYourDetails giftYourDetails = new GiftYourDetails(driver); giftYourDetails.EnterEmailAddress(string.Empty); giftYourDetails.ClickHeader(); giftYourDetails.CheckErrorMessage("Required Field"); giftYourDetails.EnterEmailAddress("*****@*****.**"); }
public void GiftYourDetailsShortName() { GiftYourDetails giftYourDetails = new GiftYourDetails(driver); giftYourDetails.EnterName("A"); giftYourDetails.ClickHeader(); giftYourDetails.CheckErrorMessage("Must be at least 2 characters long."); giftYourDetails.EnterName(base.forename + "" + base.surname); }
public void GiftYourDetailsNoName() { GiftYourDetails giftYourDetails = new GiftYourDetails(driver); giftYourDetails.EnterName(string.Empty); giftYourDetails.ClickHeader(); giftYourDetails.CheckErrorMessage("Required Field"); giftYourDetails.EnterName(base.forename + "" + base.surname); }