public void BeAbleToSelectGridElement() { var homePage = new HomePage(this.Driver); homePage.Open(); homePage.JavaScriptClick(homePage.InteractionsSection); var interactionsPage = new InteractionsPage(this.Driver); interactionsPage.JavaScriptClick(interactionsPage.SelectableLink); var selectablePage = new SelectablePage(this.Driver); selectablePage.AssertSelectAndDragColor(); }
public void BeAbleToDragAndDropElement() { var homePage = new HomePage(this.Driver); homePage.Open(); homePage.JavaScriptClick(homePage.InteractionsSection); var interactionsPage = new InteractionsPage(this.Driver); interactionsPage.JavaScriptClick(interactionsPage.DroppableLink); var droppablePage = new DroppablePage(this.Driver); droppablePage.AssertDragAndDrop(); }
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); }
public void BeAbleToSortElement() { var homePage = new HomePage(this.Driver); homePage.Open(); homePage.JavaScriptClick(homePage.InteractionsSection); var interactionsPage = new InteractionsPage(this.Driver); interactionsPage.JavaScriptClick(interactionsPage.SortableLink); var sortablePage = new SortablePage(this.Driver); sortablePage.AssertReorderElements(); }