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

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

            resizablePage.IncreaseWidthAndHeightBy(100);
            resizablePage.AssertNewSize(100, 100);
        }
        public void ResizeHeight()
        {
            var resizablePage = new ResizablePage(this.driver);

            resizablePage.IncreaseHeightBy(100);

            resizablePage.AssertNewSize(0, 100);
        }
        public void ResizeWidth()
        {
            var resizablePage = new ResizablePage(this.driver);

            resizablePage.IncreaseWidthBy(100);

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

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

            resizablePage.AssertNewSize();
        }