Ejemplo n.º 1
0
 public void ThenAllAppropriateFieldValidationMessagesAreShown()
 {
     PracticeFormPage.WaitForValidation(PracticeFormPage.FirstName);
     Assert.AreEqual("rgb(220, 53, 69)", PracticeFormPage.FirstName.GetCssValue("border-color"));
     Assert.AreEqual("rgb(220, 53, 69)", PracticeFormPage.LastName.GetCssValue("border-color"));
     Assert.AreEqual("rgba(220, 53, 69, 1)", PracticeFormPage.GenderMale.GetCssValue("color"));
     Assert.AreEqual("rgb(220, 53, 69)", PracticeFormPage.MobileNumber.GetCssValue("border-color"));
 }
Ejemplo n.º 2
0
 public void ThenThePhoneNumberFieldsValidationIsShown()
 {
     PracticeFormPage.WaitForValidation(PracticeFormPage.MobileNumber);
     Assert.AreEqual("rgb(220, 53, 69)", PracticeFormPage.MobileNumber.GetCssValue("border-color"));
 }
Ejemplo n.º 3
0
 public void ThentheEmailFieldValidationIsShown()
 {
     PracticeFormPage.WaitForValidation(PracticeFormPage.Email);
     Assert.AreEqual("rgb(220, 53, 69)", PracticeFormPage.Email.GetCssValue("border-color"));
 }