Skip to content

Commit

Permalink
add delay before filling out code request fieilds
Browse files Browse the repository at this point in the history
  • Loading branch information
pripley123 committed Jan 23, 2020
1 parent 969c19e commit e116253
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,11 @@ public class RequesterStep extends Step {
WebUI.delay(Constant.DEFAULT_TIMEOUT)
WebUI.click(requestTypeDropDown)
WebUI.click(requestTypeCode)
WebUI.setText(Utils.getTestObjectByName(Constant.CodeRequests.REQUEST_CODE_DESCRIPTION_TXT_ID), Constant.CodeRequests.REQUEST_CODE_DESCRIPTION_TEXT)
TestObject codeDescription = Utils.getTestObjectByName(Constant.CodeRequests.REQUEST_CODE_DESCRIPTION_TXT_ID)
WebUI.waitForElementPresent(codeDescription, Constant.DEFAULT_TIMEOUT)
WebUI.waitForElementNotHasAttribute(codeDescription, "disabled", Constant.DEFAULT_TIMEOUT)
WebUI.delay(Constant.Requester.FORM_LOAD_WAIT)
WebUI.setText(Utils.getTestObjectByName(codeDescription), Constant.CodeRequests.REQUEST_CODE_DESCRIPTION_TEXT)
WebUI.setText(Utils.getTestObjectByName(Constant.CodeRequests.REQUEST_REMOTE_REPO_TXT_ID), Constant.CodeRequests.REQUEST_REMOTE_REPO_TEXT)
WebUI.setText(Utils.getTestObjectByName(Constant.CodeRequests.REQUEST_LOCAL_REPO_TXT_ID), Constant.CodeRequests.REQUEST_LOCAL_REPO_TEXT)
}
Expand Down

0 comments on commit e116253

Please sign in to comment.