@Test( groups = {"alfresco-one"}, priority = 12) public void test112LikeMethodsForFile() throws Exception { // Get File FileDirectoryInfo thisRow = documentLibPage.getFileDirectoryInfo(file.getName()); // Like Assert.assertFalse(thisRow.isLiked()); Assert.assertEquals(thisRow.getLikeCount(), "0"); thisRow.selectLike(); Assert.assertTrue(thisRow.isLiked()); Assert.assertEquals(thisRow.getLikeCount(), "1"); }