Skip to content
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
3 changes: 2 additions & 1 deletion test/src/org/labkey/test/tests/cds/CDSLoginTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
public class CDSLoginTest extends CDSReadOnlyTest
{
private static final String CDS_LOGIN_TESTUSER = "user_passwordtest@cds.test";
private final CDSHelper cds = new CDSHelper(this);

@Before
public void preTest()
Expand Down Expand Up @@ -154,6 +153,8 @@ public void testPasswordStrength()
changePasswordDialog.setReEnterPassword(strongPwd);
changePasswordDialog.submit();
waitFor(() -> getCurrentUser().equals(CDS_LOGIN_TESTUSER), "login failed for " + CDS_LOGIN_TESTUSER, defaultWaitForPage);

goToHome(); // 'ensureSignedInAsPrimaryTestUser' can be interrupted by CDS session timeout page
}

@Override
Expand Down
2 changes: 1 addition & 1 deletion test/src/org/labkey/test/tests/cds/CDSReadOnlyTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public List<String> getAssociatedModules()
@BeforeClass
public static void doSetup() throws Exception
{
CDSReadOnlyTest initTest = (CDSReadOnlyTest)getCurrentTest();
CDSReadOnlyTest initTest = getCurrentTest();
if (initTest.needsSetup())
{
CDSInitializer _initializer = new CDSInitializer(initTest);
Expand Down
3 changes: 2 additions & 1 deletion test/src/org/labkey/test/util/cds/CDSHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import org.labkey.test.pages.cds.GroupDetailsPage;
import org.labkey.test.pages.cds.LearnGrid;
import org.labkey.test.pages.cds.LearnGrid.LearnTab;
import org.labkey.test.pages.reports.ScriptReportPage.StandardReportOption;
import org.labkey.test.util.ApiPermissionsHelper;
import org.labkey.test.util.DataRegionTable;
import org.labkey.test.util.Ext4Helper;
Expand Down Expand Up @@ -2048,7 +2049,7 @@ public int createReport(RReportHelper rReportHelper, String queryUrl, @Nullable
_test.setCodeEditorValue("script-report-editor", reportScript);

if (shareReport)
rReportHelper.selectOption(RReportHelper.ReportOption.shareReport);
rReportHelper.selectOption(StandardReportOption.shareReport);

_test.waitForElement(Locator.tagWithText("span", "Save"));
rReportHelper.saveReport(reportName);
Expand Down