Beispiel #1
0
 public static void AssertErrorMessageForFullName(this RegistrationPage page, string text)
 {
     Assert.IsTrue(page.ErrorMessageForFullName.Displayed);
     StringAssert.Contains(text, page.ErrorMessageForFullName.Text);
 }
Beispiel #2
0
 public static void AssertErrorMessageForPasswordMismatch(this RegistrationPage page, string text)
 {
     Assert.IsTrue(page.ErrorMessageForPasswordMismatch.Displayed);
     StringAssert.Contains(text, page.ErrorMessageForPasswordMismatch.Text);
 }
Beispiel #3
0
 public static void AssertSuccessMessage(this RegistrationPage page, string text)
 {
     Assert.IsTrue(page.SuccessMessage.Displayed);
     StringAssert.Contains(text, page.SuccessMessage.Text);
 }