Skip to content

Commit

Permalink
Remove coverage for now-deleted object-level discussions
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-jeckels committed Feb 8, 2025
1 parent f4b6eb3 commit a9f268f
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions src/org/labkey/test/tests/wiki/WikiLongTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,6 @@ public class WikiLongTest extends BaseWebDriverTest
private static final String WIKI_PAGE8_NAME= "Page 8 Name For Delete Subtree Test " + BaseWebDriverTest.INJECT_CHARS_1;
private static final String WIKI_PAGE9_NAME= "Page 9 _blank " + BaseWebDriverTest.INJECT_CHARS_1;

private static final String DISC1_TITLE = "Let's Talk";
private static final String DISC1_BODY = "I don't know how normal this wiki is";
private static final String RESP1_TITLE = "Let's Keep Talking";
private static final String RESP1_BODY = "I disagree";
private static final String USER1 = "wikilong_user1@wikilong.test";
private static final String USER2 = "wikilong_user2@wikilong.test";
private static final String USERS_GROUP = "Users";
Expand Down Expand Up @@ -323,33 +319,6 @@ public void testSteps()
clickAndWait(Locator.linkWithText("next"));
assertTextPresent("Some HTML content");

log("Check that discussion board works");
clickAndWait(Locator.linkWithText(WIKI_PAGE1_TITLE));
_ext4Helper.waitForOnReady();
click(Locator.linkWithText("discussions"));
waitForElement(Locator.linkWithText("Start new discussion"), defaultWaitForPage);
clickAndWait(Locator.linkWithText("Start new discussion"));
_wikiHelper.setWikiTitle(DISC1_TITLE);
setFormElement(Locator.id("body"), DISC1_BODY);
submit();
_ext4Helper.waitForOnReady();
clickMenuButton(true, Locator.linkWithText("discussions")
.findElement(getDriver()), false, DISC1_TITLE);

assertTextPresent(DISC1_TITLE,
DISC1_BODY);

log("Check response on discussion board works");
clickButton("Respond");
_wikiHelper.setWikiTitle(RESP1_TITLE);
setFormElement(Locator.id("body"), RESP1_BODY);
submit();
assertTextPresent(RESP1_TITLE,
RESP1_BODY);
clickButton("Delete Message");
clickButton("Delete");
assertTextNotPresent(DISC1_TITLE, DISC1_BODY);

log("test navTree and header");
_wikiHelper.createNewWikiPage("RADEOX");
_wikiHelper.setWikiName("_navTree");
Expand Down

0 comments on commit a9f268f

Please sign in to comment.