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