Пример #1
0
 //Check if copyright is  present
 public static void AssertCopyrightIsPresent(this ManagePage page)
 {
     Assert.AreEqual("© 2017 - SoftUni Blog", page.Copyright.Text);
 }
Пример #2
0
 //Check if you are on create page on Manage Page
 public static void AssertIAmOnCreatePage(this ManagePage page)
 {
     Assert.AreEqual("Create Article", page.CreatePageLogo.Text);
 }
Пример #3
0
 //Second Commit
 //Check if you are on Home Page
 public static void AssertYouAreOnHomePage(this ManagePage page)
 {
     Assert.AreEqual("SOFTUNI BLOG", page.Logo.Text);
 }