@Test public void googleDocsAuthorisationCancel() throws Exception { SitePage site = drone.getCurrentPage().render(); DocumentLibraryPage docPage = site.getSiteNav().selectSiteDocumentLibrary().render(); GoogleDocsAuthorisation googleAuth = docPage.getNavigation().selectCreateContent(ContentType.GOOGLEDOCS).render(); Assert.assertTrue(googleAuth.isAuthorisationDisplayed()); docPage = (DocumentLibraryPage) googleAuth.cancel(); Assert.assertTrue(docPage.isDocumentLibrary()); }
@SuppressWarnings("unchecked") @Override public EditInGoogleDocsPage render(RenderTime timer) throws PageRenderTimeException { basicRender(timer); return this; }
EditInGoogleDocsPage extends SitePage { @SuppressWarnings("unchecked") @Override public EditInGoogleDocsPage render(RenderTime timer) throws PageRenderTimeException { basicRender(timer); return this; } }
EditInGoogleDocsPage extends SitePage { @SuppressWarnings("unchecked") @Override public EditInGoogleDocsPage render(RenderTime timer) throws PageRenderTimeException { basicRender(timer); return this; } EditInGoogleDocsPage(WebDrone drone, Boolean isGoogleCreate);  EditInGoogleDocsPage(WebDrone drone); protected  EditInGoogleDocsPage(WebDrone drone, final String documentVersion, Boolean isGoogleCreate); }
EditInGoogleDocsPage extends SitePage { @SuppressWarnings("unchecked") @Override public EditInGoogleDocsPage render(RenderTime timer) throws PageRenderTimeException { basicRender(timer); return this; } EditInGoogleDocsPage(WebDrone drone, Boolean isGoogleCreate);  EditInGoogleDocsPage(WebDrone drone); protected  EditInGoogleDocsPage(WebDrone drone, final String documentVersion, Boolean isGoogleCreate); void setGoogleCreate(boolean isGoogleCreate); @SuppressWarnings("unchecked") @Override EditInGoogleDocsPage render(RenderTime timer); @SuppressWarnings("unchecked") @Override EditInGoogleDocsPage render(long time); @SuppressWarnings("unchecked") @Override EditInGoogleDocsPage render(); boolean isSaveToAlfrescoVisible(); boolean isDiscardChangesVisible(); boolean isBackToSharevisible(); boolean isGoogleDocsIframeVisible(); GoogleDocsDiscardChanges selectDiscard(); HtmlPage selectSaveToAlfresco(); HtmlPage selectBackToShare(); void edit(final String content); GoogleDocsRenamePage renameDocumentTitle(); String getDocumentTitle(); }
EditInGoogleDocsPage extends SitePage { @SuppressWarnings("unchecked") @Override public EditInGoogleDocsPage render(RenderTime timer) throws PageRenderTimeException { basicRender(timer); return this; } EditInGoogleDocsPage(WebDrone drone, Boolean isGoogleCreate);  EditInGoogleDocsPage(WebDrone drone); protected  EditInGoogleDocsPage(WebDrone drone, final String documentVersion, Boolean isGoogleCreate); void setGoogleCreate(boolean isGoogleCreate); @SuppressWarnings("unchecked") @Override EditInGoogleDocsPage render(RenderTime timer); @SuppressWarnings("unchecked") @Override EditInGoogleDocsPage render(long time); @SuppressWarnings("unchecked") @Override EditInGoogleDocsPage render(); boolean isSaveToAlfrescoVisible(); boolean isDiscardChangesVisible(); boolean isBackToSharevisible(); boolean isGoogleDocsIframeVisible(); GoogleDocsDiscardChanges selectDiscard(); HtmlPage selectSaveToAlfresco(); HtmlPage selectBackToShare(); void edit(final String content); GoogleDocsRenamePage renameDocumentTitle(); String getDocumentTitle();  }