コード例 #1
0
        public void RestrictedBoxHasMaxSize_When_ResizingToMaxRestrictions()
        {
            //Arrange
            int        expectedWidth  = ResizablePage.CONSTRAINT_AREA_MAX_X;
            int        expectedHeight = ResizablePage.CONSTRAINT_AREA_MAX_Y;
            List <int> expectedSize   = new List <int>()
            {
                expectedWidth,
                expectedHeight
            };

            //Act
            _resizePage.WaitForResizeHandleToBeClickable();
            _resizePage.ResizeRestrictedBoxToMaximum();

            //Assert
            _resizePage.ValidateRestrictedBoxSize(expectedSize);
        }