@Test(groups = "Enterprise4.2", dependsOnMethods = "selectSaveButtonToReturnMyTasksPage") public void isEditButtonPresent() throws Exception { taskDetailsPage = myTasksPage.selectViewTasks(siteName).render(); editTaskPage = taskDetailsPage.selectEditButton().render(); editTaskPage.selectStatusDropDown(TaskStatus.COMPLETED); editTaskPage.enterComment(taskComment); taskDetailsPage = editTaskPage.selectTaskDoneButton().render(); Assert.assertEquals(taskDetailsPage.getTaskStatus(), TaskStatus.COMPLETED); Assert.assertEquals(taskDetailsPage.getComment(), taskComment); Assert.assertFalse(taskDetailsPage.isEditButtonPresent()); }
@SuppressWarnings("unchecked") @Override public NewWorkflowPage render(RenderTime timer) { webElementRender(timer); return this; }
NewWorkflowPage extends WorkFlowPage { @SuppressWarnings("unchecked") @Override public NewWorkflowPage render(RenderTime timer) { webElementRender(timer); return this; } }
NewWorkflowPage extends WorkFlowPage { @SuppressWarnings("unchecked") @Override public NewWorkflowPage render(RenderTime timer) { webElementRender(timer); return this; } NewWorkflowPage(WebDrone drone); }
NewWorkflowPage extends WorkFlowPage { @SuppressWarnings("unchecked") @Override public NewWorkflowPage render(RenderTime timer) { webElementRender(timer); return this; } NewWorkflowPage(WebDrone drone); @SuppressWarnings("unchecked") @Override NewWorkflowPage render(RenderTime timer); @SuppressWarnings("unchecked") @Override NewWorkflowPage render(); @SuppressWarnings("unchecked") @Override NewWorkflowPage render(final long time); @Override HtmlPage startWorkflow(WorkFlowFormDetails formDetails); HtmlPage submitWorkflow(); @Override HtmlPage cancelCreateWorkflow(WorkFlowFormDetails formDetails); void fillUpWorkflowForm(WorkFlowFormDetails formDetails); HtmlPage cancelWorkflow(); }
NewWorkflowPage extends WorkFlowPage { @SuppressWarnings("unchecked") @Override public NewWorkflowPage render(RenderTime timer) { webElementRender(timer); return this; } NewWorkflowPage(WebDrone drone); @SuppressWarnings("unchecked") @Override NewWorkflowPage render(RenderTime timer); @SuppressWarnings("unchecked") @Override NewWorkflowPage render(); @SuppressWarnings("unchecked") @Override NewWorkflowPage render(final long time); @Override HtmlPage startWorkflow(WorkFlowFormDetails formDetails); HtmlPage submitWorkflow(); @Override HtmlPage cancelCreateWorkflow(WorkFlowFormDetails formDetails); void fillUpWorkflowForm(WorkFlowFormDetails formDetails); HtmlPage cancelWorkflow();  }