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