예제 #1
0
        public void BoxReachedLimit_When_Resized()
        {
            var resizableLimitedBoxValueBefore = _resizablePage.resizableLimitedBox.GetAttribute("style");

            Builder.DragAndDropToOffset(_resizablePage.resizableLimitedBoxCorner.WrappedElement, 300, 100).Perform();

            var resizableLimitedBoxValueAfter = _resizablePage.resizableLimitedBox.GetAttribute("style");

            _resizablePage.AssertDimensionsBefore("width: 200px; height: 200px;", resizableLimitedBoxValueBefore);
            _resizablePage.AssertDimensionsAfter("width: 500px; height: 300px;", resizableLimitedBoxValueAfter);
        }