Skip to content

Commit d3b19ba

Browse files
Change locator used to set a number field.
1 parent 4180657 commit d3b19ba

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/org/labkey/test/components/ui/entities/EntityBulkUpdateDialog.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ public Input textArea(CharSequence fieldIdentifier)
455455

456456
public Input numericInput(CharSequence fieldIdentifier)
457457
{
458-
WebElement inputEl = numberInputLoc.waitForElement(formRow(fieldIdentifier), WAIT_TIMEOUT);
458+
WebElement inputEl = textInputLoc.waitForElement(formRow(fieldIdentifier), WAIT_TIMEOUT);
459459
return new Input(inputEl, getDriver());
460460
}
461461

@@ -475,7 +475,6 @@ public FileUploadField fileField(CharSequence fieldIdentifier)
475475
}
476476

477477
final Locator textInputLoc = Locator.tagWithAttribute("input", "type", "text");
478-
final Locator numberInputLoc = Locator.tagWithAttribute("input", "type", "number");
479478
final Locator checkBoxLoc = Locator.tagWithAttribute("input", "type", "checkbox");
480479
final Locator.XPathLocator commentInputLocator = Locator.tagWithId("textarea", "actionComments");
481480
final WebElement commentInput = commentInputLocator.refindWhenNeeded(this);

0 commit comments

Comments
 (0)