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")); }
public void ThenThePhoneNumberFieldsValidationIsShown() { PracticeFormPage.WaitForValidation(PracticeFormPage.MobileNumber); Assert.AreEqual("rgb(220, 53, 69)", PracticeFormPage.MobileNumber.GetCssValue("border-color")); }
public void ThentheEmailFieldValidationIsShown() { PracticeFormPage.WaitForValidation(PracticeFormPage.Email); Assert.AreEqual("rgb(220, 53, 69)", PracticeFormPage.Email.GetCssValue("border-color")); }