public void ResizeWidthAndHeight()
        {
            var resizablePage = new ResizablePage(this.driver);

            resizablePage.IncreaseWidthAndHeightBy(250, 200);
            resizablePage.AssertNewSize(250, 200);

            resizablePage.IncreaseWidthAndHeightBy(100);
            resizablePage.AssertNewSize(100, 100);
        }
Esempio n. 2
0
        public void ResizableSecondTest()
        {
            var resizablePage = new ResizablePage(driver);

            resizablePage.NavigateTo();
            resizablePage.IncreaseWidthAndHeightBy(100, 0);

            resizablePage.AssertNewSizeWidth();
        }
Esempio n. 3
0
        public void ResizableThirdTest()
        {
            var resizablePage = new ResizablePage(driver);

            resizablePage.NavigateTo();
            resizablePage.IncreaseWidthAndHeightBy(0, 100);

            resizablePage.AssertNewSizeHeight();
        }
Esempio n. 4
0
        public void ResizableItem_ResizeSides100PixBigger_ItemSidesAre100PixBigger()
        {
            var resizablePage = new ResizablePage(this.driver);

            resizablePage.NavigateTo(resizablePage.URL);

            resizablePage.IncreaseWidthAndHeightBy(100);

            resizablePage.AssertSizeIncreasedWith(100);
        }