Skip to content

Commit 019a84f

Browse files
committed
Test fix
1 parent d76984c commit 019a84f

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

SequenceAnalysis/test/src/org/labkey/test/tests/external/labModules/SequenceTest.java

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,25 @@ private void importReadsetMetadata()
217217
// This is scoped to this workbook:
218218
log("verifying readset count correct");
219219
waitForText("Sequence Readsets");
220-
waitForElement(LabModuleHelper.getNavPanelItem("Sequence Readsets:", "3"));
220+
waitAndClickAndWait(LabModuleHelper.getNavPanelItem("Sequence Readsets:", "3"));
221+
222+
DataRegionTable.DataRegion(getDriver()).withName("query").waitFor();
223+
224+
//verify CSV file creation
225+
DataRegionTable.DataRegion(getDriver()).find().goToView("SRA Info");
226+
DataRegionTable dr = DataRegionTable.DataRegion(getDriver()).withName("query").waitFor();
227+
waitForElement(Locator.tagContainingText("a", "SRA0"));
228+
waitForElement(Locator.tagContainingText("a", "SRA1"));
229+
waitForElement(Locator.tagContainingText("a", "SRA2"));
230+
231+
dr.checkAllOnPage();
232+
doAndWaitForPageToLoad(() ->
233+
{
234+
dr.clickHeaderButton("Delete");
235+
assertAlert("Are you sure you want to delete the selected rows?");
236+
});
237+
238+
_readsetCt -= 3;
221239
}
222240

223241
/**

0 commit comments

Comments
 (0)