Skip to content

Commit 6d83cdf

Browse files
authored
Use more reliable combo box helper (#4)
1 parent a15e649 commit 6d83cdf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

LDK/test/src/org/labkey/test/tests/external/labModules/LabModulesTest.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
import org.labkey.test.categories.External;
4141
import org.labkey.test.categories.LabModule;
4242
import org.labkey.test.components.CustomizeView;
43+
import org.labkey.test.components.ext4.ComboBox;
4344
import org.labkey.test.components.ext4.RadioButton;
4445
import org.labkey.test.util.APIContainerHelper;
4546
import org.labkey.test.util.AdvancedSqlTest;
@@ -1782,7 +1783,9 @@ private void defaultAssayImportMethodTest()
17821783
waitAndClickAndWait(Locator.linkContainingText("Set Assay Defaults"));
17831784
String defaultVal = "UC Davis STR";
17841785
_helper.waitForField(GENOTYPING_ASSAYNAME);
1785-
Ext4FieldRef.getForLabel(this, GENOTYPING_ASSAYNAME).setValue(defaultVal);
1786+
ComboBox.ComboBox(getDriver()).withLabelContaining(GENOTYPING_ASSAYNAME)
1787+
.find(getDriver())
1788+
.selectComboBoxItem(defaultVal);
17861789
waitAndClick(Ext4Helper.Locators.ext4Button("Submit"));
17871790

17881791
waitForElement(Ext4Helper.Locators.window("Success"));

0 commit comments

Comments
 (0)