public static void AssertCancelButtonDisplayed(this CreateArticle page) { Assert.IsTrue(page.CancelButton.Displayed); }
public static void AssertPageUrl(this CreateArticle newArticle) { Assert.AreEqual("http://localhost:60639/Article/List", newArticle.URL); }
public static void AssertContentErrorMessage(this CreateArticle page, string text) { Assert.IsTrue(page.ErrorMessageTitle.Displayed); StringAssert.Contains(text, page.ErrorMessageTitle.Text); }