Пример #1
0
 /// <summary>
 /// Assert the submission succeeded within a normal timespan.
 /// </summary>
 protected override void OnAssertSubmissionSucceeded()
 {
     AssertionHelpers.AssertElementIsVisibleByXPath(string.Format(Constants.HeaderWithTextXPath,
                                                                  "The addition was successful!"), TimeSpanHelpers.NormalWait);
 }
Пример #2
0
 /// <summary>
 /// Assert the release of the pokemon from the mypokedex page succeeds within a normal timespan.
 /// </summary>
 public static void AssertReleaseIsSuccessful()
 {
     AssertionHelpers.AssertElementIsVisibleByXPath(string.Format(Constants.HeaderWithTextXPath,
                                                                  "The release was successful!"), TimeSpanHelpers.NormalWait);
 }