Beispiel #1
0
        public void TargetBoxColorIsChanged_When_ElementIsDraggedAndDroppedInsideAndThenOutside()
        {
            var colorBefore = _droppablePage.TargetBox.WrappedElement.GetCssColor();

            Builder.DragAndDrop(_droppablePage.SourceBox.WrappedElement, _droppablePage.TargetBox.WrappedElement).DragAndDropToOffset(_droppablePage.SourceBox.WrappedElement, 0, 180).Perform();

            var colorAfter = _droppablePage.TargetBox.WrappedElement.GetCssColor();

            _droppablePage.AssertColorsBeforeAndAfter(colorAfter, colorBefore);
        }