Exemplo n.º 1
0
        public void BeAbleToResizeElement(int offsetX, int offsetY, int expectedSizeWidth, int expectedSizeHeight)
        {
            var homePage = new HomePage(this.Driver);

            homePage.Open();
            homePage.JavaScriptClick(homePage.InteractionsSection);

            var interactionsPage = new InteractionsPage(this.Driver);

            interactionsPage.JavaScriptClick(interactionsPage.ResizableLink);

            var resizablePage = new ResizablePage(this.Driver);

            resizablePage.AssertsResize(offsetX, offsetY, expectedSizeWidth, expectedSizeHeight);
        }