Skip to content

Commit

Permalink
Merge branch 'develop' into fb_52417_linkedSchemaStackOverflow
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-jeckels committed Feb 27, 2025
2 parents ff28e3b + 9c1061d commit 573e658
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 31 deletions.
23 changes: 0 additions & 23 deletions src/org/labkey/test/categories/SignalData.java

This file was deleted.

4 changes: 2 additions & 2 deletions src/org/labkey/test/pages/core/admin/ShowAdminPage.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void clickAnalyticsSettings()
clickAndWait(elementCache().analyticsSettingsLink);
}

public void clickExternalRedirectHosts()
public void clickAllowedExternalRedirectHosts()
{
goToSettingsSection();
clickAndWait(elementCache().externalRedirectHostLink);
Expand Down Expand Up @@ -273,7 +273,7 @@ protected class ElementCache extends LabKeyPage.ElementCache
protected WebElement sectionActiveUsers = Locator.linkWithText("Active Users").findWhenNeeded(this);

protected WebElement analyticsSettingsLink = Locator.linkWithText("analytics settings").findWhenNeeded(this);
protected WebElement externalRedirectHostLink = Locator.linkWithText("external redirect hosts").findElement(this);
protected WebElement externalRedirectHostLink = Locator.linkWithText("allowed external redirect hosts").findElement(this);
protected WebElement auditLogLink = Locator.linkWithText("audit log").findWhenNeeded(this);
protected WebElement auditLogMaintenanceLink = Locator.linkWithText("Audit Log Maintenance").findWhenNeeded(this);
protected WebElement authenticationLink = Locator.linkWithText("authentication").findWhenNeeded(this);
Expand Down
2 changes: 1 addition & 1 deletion src/org/labkey/test/tests/AdminConsoleTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ public void testAppAdminRole()
public void testConfigureReturnURL()
{
String host = "google.com";
goToAdminConsole().clickExternalRedirectHosts();
goToAdminConsole().clickAllowedExternalRedirectHosts();

log("Verifying host cannot be blank ");
clickButton("Save");
Expand Down
8 changes: 4 additions & 4 deletions src/org/labkey/test/tests/DataViewsPermissionsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
@BaseWebDriverTest.ClassTimeout(minutes = 10)
public class DataViewsPermissionsTest extends StudyBaseTest
{
public static final String AUTHOR_USER = "author@dataviews.test";
public static final String EDITOR_USER = "editor@dataviews.test";
public static final String AUTHOR_USER = "dvp_author@dataviews.test";
public static final String EDITOR_USER = "dvp_editor@dataviews.test";
private final PortalHelper portalHelper = new PortalHelper(this);

@Override
Expand Down Expand Up @@ -121,15 +121,15 @@ protected void doCreateSteps()
clickFolder(getFolderName());
click(Locator.tag("a").withAttributeContaining("href", "editDataViews"));
openEditPanel("Report 2");
_ext4Helper.selectComboBoxItem("Author","author");
_ext4Helper.selectComboBoxItem("Author", _userHelper.getDisplayNameForEmail(AUTHOR_USER));
_ext4Helper.checkCheckbox("Shared");
sleep(1000);
_ext4Helper.clickWindowButton("Report 2","Save",0,0);
_ext4Helper.waitForMaskToDisappear();
clickFolder(getFolderName());
click(Locator.tag("a").withAttributeContaining("href", "editDataViews"));
openEditPanel("Report 3");
_ext4Helper.selectComboBoxItem("Author","editor");
_ext4Helper.selectComboBoxItem("Author", _userHelper.getDisplayNameForEmail(EDITOR_USER));
_ext4Helper.checkCheckbox("Shared");
sleep(1000);
_ext4Helper.clickWindowButton("Report 3","Save",0,0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ protected void verifySitePermissionSetting(boolean canSave)
isElementPresent(Locator.tagWithText("span","Save")));

log("Verify permissions for External Redirect Hosts");
goToAdminConsole().goToSettingsSection().clickExternalRedirectHosts();
goToAdminConsole().goToSettingsSection().clickAllowedExternalRedirectHosts();
checker().verifyEquals("Incorrect access for External Redirect Hosts", canSave,
isElementPresent(Locator.tagWithText("span","Save")));

Expand Down

0 comments on commit 573e658

Please sign in to comment.