Example #1
0
 //Check if content is changed
 public static void AssertYouAreOnListPage(this ArticleDeletePage page)
 {
     Assert.AreEqual("TestArticle12345-EditTitle", page.FirstArticle.Text);
 }
Example #2
0
 //Check if content is deleted
 public static void AssertArticleIsDeleted(this ArticleDeletePage page)
 {
     Assert.AreEqual("SOFTUNI BLOG", page.FirstArticle.Text);
 }
Example #3
0
 //Check if content is changed
 public static void AssertContentIsNotChanged(this ArticleDeletePage page)
 {
     Assert.AreNotEqual("This should not be visible", page.ContentField.Text);
 }