Пример #1
0
 public static void AssertNewPosition(this DropablePage page, int pixelToLeft, int pixelToTop)
 {
     Assert.IsTrue(page.Left > 68 && page.Top > 100);
 }
Пример #2
0
 public static void AssertTargetAttributeText(this DropablePage page, string classValue)
 {
     Assert.AreEqual(classValue, page.Drop.Text);
 }
Пример #3
0
 public static void AssertDisplayElementsDrag(this DropablePage page)
 {
     Assert.IsTrue(page.Drag.Displayed);
 }
Пример #4
0
 public static void AssertTargetAttributeValue(this DropablePage page, string classValue)
 {
     Assert.AreEqual(classValue, page.Drop.GetAttribute("class"));
 }