Esempio n. 1
0
 public static void AssertSortingGrid(this SortablePage page)
 {
     Assert.AreEqual(Constants.EXPECTED_FIRST_GRID_ITEM, page.Elements.SorableGrid.First().Text);
 }
Esempio n. 2
0
 public static void AssertSortingList(this SortablePage page)
 {
     Assert.AreEqual(Constants.EXPECTED_FIRST_LIST_ITEM, page.Elements.SorableList.First().Text);
 }
Esempio n. 3
0
 public static void AssertSortingConnectedLists(this SortablePage page)
 {
     Assert.IsTrue(page.Elements.ConnectListTwo.Skip(1).First().GetAttribute("class").Contains("ui-state-default"));
 }