Skip to content

Commit 20053a7

Browse files
authored
Fix intermittent R report timeouts (#3027)
1 parent 14acad3 commit 20053a7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/org/labkey/test/pages/reports/ScriptReportPage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ private void _clickReportTab()
214214
scrollToTop(); // Clicking report tab can scroll such that the cursor hovers over and opens the project menu
215215
waitAndClick(Ext4Helper.Locators.tab("Report"));
216216
// Report view should appear quickly
217-
shortWait().until(ExpectedConditions.visibilityOfElementLocated(Locator.tagWithClass("div", "reportView")));
217+
longWait().until(ExpectedConditions.visibilityOfElementLocated(Locator.tagWithClass("div", "reportView")));
218218
// Actual report might take a while to load
219219
_ext4Helper.waitForMaskToDisappear(BaseWebDriverTest.WAIT_FOR_PAGE);
220220
}

src/org/labkey/test/tests/AbstractKnitrReportTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ protected void moduleReportDependencies()
234234
clickProject(getProjectName());
235235
_ext4Helper.waitForMaskToDisappear();
236236
waitAndClickAndWait(Locator.linkWithText("kable"));
237-
_ext4Helper.waitForMaskToDisappear(3 * BaseWebDriverTest.WAIT_FOR_JAVASCRIPT);
237+
_ext4Helper.waitForMaskToDisappear(60_000);
238238
waitForElement(Locator.id("mtcars_table"));
239239
}
240240

0 commit comments

Comments
 (0)