@Test( groups = {"alfresco-one"}, priority = 10) public void test110NodeRefForFile() throws Exception { // Get File FileDirectoryInfo thisRow = documentLibPage.getFileDirectoryInfo(file.getName()); // NodeRef Assert.assertNotNull(thisRow.getContentNodeRef(), "Node Reference is null"); logger.info("NodeRef:" + thisRow.getContentNodeRef()); Assert.assertFalse(thisRow.isVersionVisible()); Assert.assertTrue(thisRow.isCheckBoxVisible()); Assert.assertTrue(thisRow.getVersionInfo().equalsIgnoreCase("1.0")); }
@Test( groups = {"alfresco-one"}, priority = 3) public void test103NodeRefForFolder() throws Exception { // Get folder FileDirectoryInfo thisRow = documentLibPage.getFileDirectoryInfo(folderName); // NodeRef Assert.assertNotNull(thisRow.getContentNodeRef(), "Node Reference is null"); }