Skip to content

Commit d1a73d6

Browse files
Issue 53306: Some LKS forms don't distinguish between fields properly (#167)
1 parent bb5893b commit d1a73d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

genotyping/test/src/org/labkey/test/tests/HaplotypeAssayTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import org.labkey.test.categories.CustomModules;
2626
import org.labkey.test.categories.OConnor;
2727
import org.labkey.test.components.DomainDesignerPage;
28+
import org.labkey.test.components.assay.AssayConstants;
2829
import org.labkey.test.components.domain.DomainFormPanel;
2930
import org.labkey.test.pages.ReactAssayDesignerPage;
3031
import org.labkey.test.params.FieldDefinition;
@@ -587,7 +588,7 @@ private void importRun(String assayId, String assayName, File dataFile, boolean
587588
{
588589
log("Importing Haplotype Run: " + assayId);
589590
goToAssayImport(assayName);
590-
setFormElement(Locator.name("name"), assayId);
591+
setFormElement(AssayConstants.ASSAY_NAME_FIELD_LOCATOR, assayId);
591592
checkCheckbox(Locator.name("enabled"));
592593
selectOptionByText(Locator.name("speciesId"), "mamu");
593594
// NOTE: consider breaking these into seperate tests...

0 commit comments

Comments
 (0)