@Test(groups = "Enterprise4.2", dependsOnMethods = "getStatusOptions") public void selectCancelButtonToReturnTaskDetailsPage() throws Exception { editTaskPage.enterComment(taskComment); SharePage returnedPage = editTaskPage.selectCancelButton().render(); Assert.assertTrue(returnedPage instanceof TaskDetailsPage); taskDetailsPage.render(); Assert.assertEquals(taskDetailsPage.getComment(), "(None)"); }
@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();  }