public static void AssertEditArticleEditOtherUsersArticle(this EditArticlePage page)
 {
     Assert.IsFalse(page.GoToEditArticlePageButton.Displayed);
 }
 public static void AssertEditArticleWithInvalidTitleMinimunLenghtMessage(this EditArticlePage page, string text)
 {
     Assert.IsTrue(page.ErrorMessageForTooShortTitle.Displayed);
     Assert.AreEqual(text, page.ErrorMessageForTooShortTitle.Text);
 }
 public static void AssertEditArticleWithInvalidContentMaximumLenghtMessage(this EditArticlePage page, string text)
 {
     Assert.IsTrue(page.ErrorMessageForTooLongContent.Displayed);
     Assert.AreEqual(text, page.ErrorMessageForTooLongContent.Text);
 }
 public static void AssertEditArticleWithValidData(this EditArticlePage page, string text)
 {
     Assert.IsTrue(page.ArticleIsUpdated.Displayed);
     Assert.AreEqual(text, page.ArticleIsUpdated.Text);
 }