Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ public Input textArea(CharSequence fieldIdentifier)

public Input numericInput(CharSequence fieldIdentifier)
{
WebElement inputEl = numberInputLoc.waitForElement(formRow(fieldIdentifier), WAIT_TIMEOUT);
WebElement inputEl = textInputLoc.waitForElement(formRow(fieldIdentifier), WAIT_TIMEOUT);
return new Input(inputEl, getDriver());
}

Expand All @@ -475,7 +475,6 @@ public FileUploadField fileField(CharSequence fieldIdentifier)
}

final Locator textInputLoc = Locator.tagWithAttribute("input", "type", "text");
final Locator numberInputLoc = Locator.tagWithAttribute("input", "type", "number");
final Locator checkBoxLoc = Locator.tagWithAttribute("input", "type", "checkbox");
final Locator.XPathLocator commentInputLocator = Locator.tagWithId("textarea", "actionComments");
final WebElement commentInput = commentInputLocator.refindWhenNeeded(this);
Expand Down