Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 51620: Remove the UI for Object-level discussions #2260

Merged
merged 1 commit into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/org/labkey/test/pages/core/admin/ShowAdminPage.java
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,12 @@ public DomainDesignerPage clickChangeUserProperties()
return new DomainDesignerPage(getDriver());
}

public void clickDeprecatedFeatures()
{
goToSettingsSection();
clickAndWait(elementCache().deprecatedFeaturesLink);
}

public void clickEmailCustomization()
{
goToSettingsSection();
Expand Down Expand Up @@ -261,6 +267,7 @@ protected class ElementCache extends LabKeyPage.ElementCache
protected WebElement configurePageElements = Locator.linkWithText("configure page elements").findWhenNeeded(this);
protected WebElement complianceSettings = Locator.linkWithText("Compliance Settings").findWhenNeeded(this);
protected WebElement changeUserPropertiesLink = Locator.linkWithText("change user properties").findWhenNeeded(this);
protected WebElement deprecatedFeaturesLink = Locator.linkWithText("deprecated features").findWhenNeeded(this);
protected WebElement emailCustomizationLink = Locator.linkWithText("email customization").findWhenNeeded(this);
protected WebElement notificationServiceAdminLink = Locator.linkWithText("notification service admin").findWhenNeeded(this);
protected WebElement filesLink = Locator.linkWithText("files").findWhenNeeded(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ public static void setupProject()
private void doSetup()
{
_containerHelper.createProject(getProjectName());

// Issue 51620: Remove the UI for Object-level discussions
goToAdminConsole().clickDeprecatedFeatures();
click(Locator.inputById("deprecatedObjectLevelDiscussions"));
}

@Before
Expand Down Expand Up @@ -103,4 +107,4 @@ public List<String> getAssociatedModules()
{
return Arrays.asList("announcements");
}
}
}