public static void AssertPostDeleteCancelButton(this DeletePost page, string text)
 {
     Assert.IsTrue(page.PostDeleteCancelButton.Displayed);
     Assert.AreEqual(text, page.PostDeleteCancelButton.Text);
 }
 public static void AssertEditForeignPostErrorMessageIsDisplayed(this DeletePost page, string text)
 {
     Assert.AreEqual(page.DeleteForeignPostText.Text, text);
     Assert.IsTrue(page.DeleteForeignPostText.Displayed);
 }
 public static void AssertSuccessfulPostDelete(this DeletePost page, string text)
 {
     Assert.IsTrue(page.SuccessfulPostDelete.Displayed);
     Assert.AreNotEqual(text, page.SuccessfulPostDelete.Text);
 }