Example #1
0
        public void ShouldBeInABOrderByDefault()
        {
            new HomePage(Driver).ClickDragAndDropLink();
            var dnd = new DragAndDropPage(Driver);

            dnd.Elements().Should().ContainInOrder("A", "B");
        }
Example #2
0
        public void ShouldBeInBAOrderAfterDragAndDrop()
        {
            new HomePage(Driver).ClickDragAndDropLink();
            var dnd = new DragAndDropPage(Driver);

            dnd.DragFromColAToColB();
            dnd.Elements().Should().ContainInOrder("B", "A");
        }