Beispiel #1
0
        public void ElementMovedToRightAndCheckExactPosition_When_DragAndDropToOffset()
        {
            _dragabblePage.DraggebleBox.Click();

            Builder.DragAndDropToOffset(_dragabblePage.DraggebleBox, 200, 100).Perform();

            _dragabblePage.AssertExactPosition(635d, _dragabblePage.DraggebleBox.Location.X, 5);
        }
        public void ElementMovedToRightAndCheckExactPosition_When_DragAndDropToOffset()
        {
            //Arrange
            _dragabblePage.DraggebleBox.Click();

            //Act
            _dragabblePage.DragAndDropToOffset(_dragabblePage.DraggebleBox, 200, 100);

            //Assert
            _dragabblePage.AssertExactPosition(635d, _dragabblePage.DraggebleBox.Location.X, 5);
        }