Beispiel #1
0
        public void BoxShouldChangeOnlyXCoordinates()
        {
            _draggablePage.AxisTab.Click();


            int xCoordinatesBefore = _draggablePage.OnlyXBox.Location.X;
            int yCoordinatesBefore = _draggablePage.OnlyXBox.Location.Y;

            Builder.ClickAndHold(_draggablePage.OnlyXBox).MoveByOffset(150, 100).Perform();

            int xCoordinatesAfter = _draggablePage.OnlyXBox.Location.X;
            int yCoordinatesAfter = _draggablePage.OnlyXBox.Location.Y;

            _draggablePage.AssertXCoordinateIsChanged(xCoordinatesBefore, yCoordinatesBefore, xCoordinatesAfter, yCoordinatesAfter);
        }