예제 #1
0
        public static void AssertTargetContains(this DroppablePage page, string text)
        {
            var texts = page.TargetElementContainerTab5.Text;

            StringAssert.Contains(text, page.TargetElementContainerTab5.Text);
        }
예제 #2
0
 public static void AssertTargetAttribute2(this DroppablePage page, string text, IWebElement element)
 {
     Assert.AreEqual(text, element.GetAttribute("class"));
 }
예제 #3
0
 public static void AssertElementPosition(this DroppablePage page, IWebElement element)
 {
     page.Wait.Until(w => page.Position == element.Location);
     Assert.AreEqual(page.Position, element.Location);
 }
예제 #4
0
 public static void AssertTargetAttribute(this DroppablePage page, string text) // Used for the exercises from the lecture
 {
     Assert.AreEqual(text, page.TargetElement.GetAttribute("class"));
 }