@Test(dependsOnMethods="isTagsPanelPresent", groups = { "alfresco-one" }) public void isLikeLinkPresent() throws Exception { DetailsPage detailsPage = drone.getCurrentPage().render(); Assert.assertTrue(detailsPage.isLikeLinkPresent()); }
public boolean isLikeLinkPresent() { try { return drone.find(By.cssSelector(LIKE_ACTION)).isDisplayed(); } catch (NoSuchElementException nse) { } return false; }
DetailsPage extends SitePage { public boolean isLikeLinkPresent() { try { return drone.find(By.cssSelector(LIKE_ACTION)).isDisplayed(); } catch (NoSuchElementException nse) { } return false; } }
DetailsPage extends SitePage { public boolean isLikeLinkPresent() { try { return drone.find(By.cssSelector(LIKE_ACTION)).isDisplayed(); } catch (NoSuchElementException nse) { } return false; } protected  DetailsPage(WebDrone drone); }
DetailsPage extends SitePage { public boolean isLikeLinkPresent() { try { return drone.find(By.cssSelector(LIKE_ACTION)).isDisplayed(); } catch (NoSuchElementException nse) { } return false; } protected  DetailsPage(WebDrone drone); boolean isDetailsPage(String type); String getContentTitle(); List<String> getComments(); HtmlPage selectLike(); String getLikeCount(); Map<String, String> getPermissionsOfDetailsPage(); Map<String, Object> getProperties(); List<String> getTagList(); HtmlPage selectFavourite(); boolean isFavourite(); boolean isLiked(); String getToolTipForFavourite(); String getToolTipForLike(); EditDocumentPropertiesPage selectEditProperties(); HtmlPage addComment(String comment, Encoder encoder); boolean isCommentSectionPresent(); HtmlPage addComment(final String comment); HtmlPage removeComment(final String comment); HtmlPage deleteComment(final String comment); boolean isModifiedByDetailsPresent(); boolean isSharePanePresent(); TinyMceEditor getContentPage(); boolean isCommentLinkPresent(); int getCommentCount(); ManagePermissionsPage selectManagePermissions(); SyncInfoPage getSyncInfoPage(); SelectAspectsPage selectManageAspects(); RepositoryPage navigateToFolderInRepositoryPage(); RepositoryPage navigateToParentFolder(); boolean isDocumentActionPresent(DocumentAction action); HtmlPage editComment(final String comment, final String newComment); HtmlPage saveEditComments(); void cancelEditComments(); AddCommentForm clickAddCommentButton(); EditCommentForm clickEditCommentButton(String comment); boolean isEditCommentButtonPresent(String comment); boolean isDeleteCommentButtonPresent(String comment); boolean isCommentCorrect(String comment); String getCommentChangeTime(String comment); boolean isErrorBalloonMessageDisplay(); boolean checkConfirmDeleteForm(final String comment); void cancelDeleteComment(); PaginationForm getCommentsPagination(); boolean isTagsPanelPresent(); boolean isPropertiesPanelPresent(); boolean isLikeLinkPresent(); boolean isFavouriteLinkPresent(); boolean isAddCommentButtonPresent(); boolean isCommentsPanelPresent(); boolean isAddCommentsButtonEnbaled(); boolean isCopyShareLinkPresent(); boolean isSynPanelPresent(); boolean isPermissionsPanelPresent(); AddCommentForm selectAddComment(); AddCommentForm clickAddButton(); EditDocumentPropertiesPage clickEditTagsIcon(boolean folder); EditDocumentPropertiesPage clickEditPropertiesIcon(boolean folder); boolean isCommentFieldPresent(); boolean isViewOnGoogleMapsLinkVisible(); boolean isAddCommentButtonDisplayed(); boolean isTagIconDisplayed(); boolean isEditPropertiesIconDisplayed(); boolean isEditPermissionsIconDisplayed(); DocumentLibraryPage delete(); CopyOrMoveContentPage selectCopyTo(); CopyOrMoveContentPage selectMoveTo(); DetailsPage changeType(String typeValue); String getCommentHTML(String comment); }
DetailsPage extends SitePage { public boolean isLikeLinkPresent() { try { return drone.find(By.cssSelector(LIKE_ACTION)).isDisplayed(); } catch (NoSuchElementException nse) { } return false; } protected  DetailsPage(WebDrone drone); boolean isDetailsPage(String type); String getContentTitle(); List<String> getComments(); HtmlPage selectLike(); String getLikeCount(); Map<String, String> getPermissionsOfDetailsPage(); Map<String, Object> getProperties(); List<String> getTagList(); HtmlPage selectFavourite(); boolean isFavourite(); boolean isLiked(); String getToolTipForFavourite(); String getToolTipForLike(); EditDocumentPropertiesPage selectEditProperties(); HtmlPage addComment(String comment, Encoder encoder); boolean isCommentSectionPresent(); HtmlPage addComment(final String comment); HtmlPage removeComment(final String comment); HtmlPage deleteComment(final String comment); boolean isModifiedByDetailsPresent(); boolean isSharePanePresent(); TinyMceEditor getContentPage(); boolean isCommentLinkPresent(); int getCommentCount(); ManagePermissionsPage selectManagePermissions(); SyncInfoPage getSyncInfoPage(); SelectAspectsPage selectManageAspects(); RepositoryPage navigateToFolderInRepositoryPage(); RepositoryPage navigateToParentFolder(); boolean isDocumentActionPresent(DocumentAction action); HtmlPage editComment(final String comment, final String newComment); HtmlPage saveEditComments(); void cancelEditComments(); AddCommentForm clickAddCommentButton(); EditCommentForm clickEditCommentButton(String comment); boolean isEditCommentButtonPresent(String comment); boolean isDeleteCommentButtonPresent(String comment); boolean isCommentCorrect(String comment); String getCommentChangeTime(String comment); boolean isErrorBalloonMessageDisplay(); boolean checkConfirmDeleteForm(final String comment); void cancelDeleteComment(); PaginationForm getCommentsPagination(); boolean isTagsPanelPresent(); boolean isPropertiesPanelPresent(); boolean isLikeLinkPresent(); boolean isFavouriteLinkPresent(); boolean isAddCommentButtonPresent(); boolean isCommentsPanelPresent(); boolean isAddCommentsButtonEnbaled(); boolean isCopyShareLinkPresent(); boolean isSynPanelPresent(); boolean isPermissionsPanelPresent(); AddCommentForm selectAddComment(); AddCommentForm clickAddButton(); EditDocumentPropertiesPage clickEditTagsIcon(boolean folder); EditDocumentPropertiesPage clickEditPropertiesIcon(boolean folder); boolean isCommentFieldPresent(); boolean isViewOnGoogleMapsLinkVisible(); boolean isAddCommentButtonDisplayed(); boolean isTagIconDisplayed(); boolean isEditPropertiesIconDisplayed(); boolean isEditPermissionsIconDisplayed(); DocumentLibraryPage delete(); CopyOrMoveContentPage selectCopyTo(); CopyOrMoveContentPage selectMoveTo(); DetailsPage changeType(String typeValue); String getCommentHTML(String comment); static final String DOCUMENT_VERSION_PLACEHOLDER; }