Example #1
0
 public static void AssertNoPassword(this LogInPage page, string text)
 {
     Assert.IsTrue(page.PasswordFieldRequired.Displayed);
     StringAssert.Contains(text, page.PasswordFieldRequired.Text);
 }
Example #2
0
 public static void AssertInvalidLogInAttemptEmailAndOrPassword(this LogInPage page, string text)
 {
     Assert.IsTrue(page.InvalidLogInAttempt.Displayed);
     StringAssert.Contains(text, page.InvalidLogInAttempt.Text);
 }
Example #3
0
 public static void AssertValidLogIn2(this LogInPage page, string text)
 {
     Assert.IsTrue(page.LogOff.Displayed);
     StringAssert.Contains(text, page.LogOff.Text);
 }
Example #4
0
 public static void AssertInvalidEmailAddressFormat(this LogInPage page, string text)
 {
     Assert.IsTrue(page.NoEmailAddressOrInvalidEmailAddressFormat.Displayed);
     StringAssert.Contains(text, page.NoEmailAddressOrInvalidEmailAddressFormat.Text);
 }
Example #5
0
 public static void AssertLogInPageIsOpen(this LogInPage page, string text)
 {
     Assert.AreEqual(text, page.Header.Text);
 }