@Test(groups = "Enterprise-only", dependsOnMethods = "editLink") public void deleteLink() { linksPage = linksDetailsPage.browseToLinksList(); int expNum = linksPage.getLinksCount() - 1; linksPage.deleteLinkWithConfirm(editedText); assertEquals(linksPage.getLinksCount(), expNum); }
@Test(groups = "Enterprise-only", dependsOnMethods = "createLink") public void editLink() { linksPage = linksDetailsPage.browseToLinksList(); linksPage.editLink(text, editedText, editedText, editedText, true); assertEquals(getLinkTitle(), editedText); assertNotNull(linksDetailsPage); }