@Test(dependsOnMethods = "refreshPage", enabled = false, groups = "nonGrid") public void testKeysForHeaderBar() throws Exception { drone.refresh(); dashBoard.inputFromKeyborad(Keys.TAB); dashBoard.inputFromKeyborad(Keys.ARROW_RIGHT); dashBoard.inputFromKeyborad(Keys.ARROW_RIGHT); dashBoard.inputFromKeyborad(Keys.RETURN); Assert.assertTrue(drone.getCurrentPage().render() instanceof SharedFilesPage); }
@SuppressWarnings("unchecked") @Override public DashBoardPage render(RenderTime timer) { basicRender(timer); try { getDashlet("my-sites").render(timer); getDashlet("my-documents").render(timer); getDashlet("activities").render(timer); } catch (PageException pe) { throw new PageException(this.getClass().getName() + " failed to render in time", pe); } return this; }
DashBoardPage extends SharePage implements Dashboard { @SuppressWarnings("unchecked") @Override public DashBoardPage render(RenderTime timer) { basicRender(timer); try { getDashlet("my-sites").render(timer); getDashlet("my-documents").render(timer); getDashlet("activities").render(timer); } catch (PageException pe) { throw new PageException(this.getClass().getName() + " failed to render in time", pe); } return this; } }
DashBoardPage extends SharePage implements Dashboard { @SuppressWarnings("unchecked") @Override public DashBoardPage render(RenderTime timer) { basicRender(timer); try { getDashlet("my-sites").render(timer); getDashlet("my-documents").render(timer); getDashlet("activities").render(timer); } catch (PageException pe) { throw new PageException(this.getClass().getName() + " failed to render in time", pe); } return this; } DashBoardPage(WebDrone drone); }
DashBoardPage extends SharePage implements Dashboard { @SuppressWarnings("unchecked") @Override public DashBoardPage render(RenderTime timer) { basicRender(timer); try { getDashlet("my-sites").render(timer); getDashlet("my-documents").render(timer); getDashlet("activities").render(timer); } catch (PageException pe) { throw new PageException(this.getClass().getName() + " failed to render in time", pe); } return this; } DashBoardPage(WebDrone drone); @SuppressWarnings("unchecked") @Override DashBoardPage render(RenderTime timer); @SuppressWarnings("unchecked") @Override DashBoardPage render(); @SuppressWarnings("unchecked") @Override DashBoardPage render(final long time); boolean titlePresent(); Dashlet getDashlet(final String name); }
DashBoardPage extends SharePage implements Dashboard { @SuppressWarnings("unchecked") @Override public DashBoardPage render(RenderTime timer) { basicRender(timer); try { getDashlet("my-sites").render(timer); getDashlet("my-documents").render(timer); getDashlet("activities").render(timer); } catch (PageException pe) { throw new PageException(this.getClass().getName() + " failed to render in time", pe); } return this; } DashBoardPage(WebDrone drone); @SuppressWarnings("unchecked") @Override DashBoardPage render(RenderTime timer); @SuppressWarnings("unchecked") @Override DashBoardPage render(); @SuppressWarnings("unchecked") @Override DashBoardPage render(final long time); boolean titlePresent(); Dashlet getDashlet(final String name);  }