Skip to content

Commit 8990ec8

Browse files
Test fixes
1 parent c86ea9a commit 8990ec8

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ at ParentFolder_SampleType in the sub folder it should see one sample (the deriv
275275

276276
setFormElement(Locator.name("Output Sample 1_Name"), "SampleSetBVT15");
277277
setFormElement(Locator.name("Output Sample 2_Name"), "SampleSetBVT16");
278-
checkCheckbox(Locator.name("Output Sample 1_IntCol-FolderCheckBox"));
278+
checkCheckbox(Locator.name("outputSample1_IntColFolderCheckBox"));
279279
setFormElement(Locator.name("Output Sample 1_IntCol-Folder"), "500a");
280280
setFormElement(Locator.name("Output Sample 1_StringCol-Folder"), "firstOutput");
281281
setFormElement(Locator.name("Output Sample 2_StringCol-Folder"), "secondOutput");
@@ -284,7 +284,7 @@ at ParentFolder_SampleType in the sub folder it should see one sample (the deriv
284284
log("Do a simple check that data validation works.");
285285
checker().verifyTrue("Expected error message '(String) for Integer field' is not present.",
286286
isTextPresent("(String) for Integer field"));
287-
checkCheckbox(Locator.name("Output Sample 1_IntCol-FolderCheckBox"));
287+
checkCheckbox(Locator.name("outputSample1_IntColFolderCheckBox"));
288288
setFormElement(Locator.name("Output Sample 1_IntCol-Folder"), "500");
289289
clickButton("Submit");
290290

src/org/labkey/test/tests/nab/NabAssayThawListTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public static void setupProject() throws Exception
8888
init.doSetup();
8989
}
9090

91-
private void doSetup() throws Exception
91+
private void doSetup()
9292
{
9393
// default project
9494
_containerHelper.createProject(getProjectName(), null);

src/org/labkey/test/tests/viability/ViabilityTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ protected void runReRunTest()
191191
getValues("_pool_160450533-5_0_IntValue"));
192192

193193
// Check the 'Unreliable' field isn't copied on re-run
194-
assertNotChecked(Locator.checkboxByName("_pool_1604505335_0_Unreliable"));
194+
assertNotChecked(Locator.checkboxByName("_pool_160450533-5_0_Unreliable"));
195195

196196
doAndWaitForPageToLoad(() ->
197197
{

src/org/labkey/test/util/APIAssayHelper.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ public ImportRunResponse importAssay(int assayID, String runName, File file, Str
113113
irc.setComment(runProperties.get("Comment").toString());
114114
runProperties.remove("Comment");
115115
}
116-
if (runProperties.containsKey("name") && StringUtils.isBlank(runName))
116+
if (runProperties.containsKey("Name") && StringUtils.isBlank(runName))
117117
{
118-
irc.setName(runProperties.get("name").toString());
119-
runProperties.remove("name");
118+
irc.setName(runProperties.get("Name").toString());
119+
runProperties.remove("Name");
120120
}
121121

122122
irc.setProperties(runProperties);

0 commit comments

Comments
 (0)