Commit d7a7cfe798795ca9a3e796badd409c5dd8193534

Authored by Playtenders
1 parent b88605a8

mistaken

@@ -346,8 +346,8 @@ Change the status of the complaint @@ -346,8 +346,8 @@ Change the status of the complaint
346 ... AND capture page screenshot 346 ... AND capture page screenshot
347 ... AND wait until alert is visible ${select_complaint_success_btn_locator} 347 ... AND wait until alert is visible ${select_complaint_success_btn_locator}
348 ... AND capture page screenshot 348 ... AND capture page screenshot
349 - ... AND close current visible alert  
350 - ... AND capture page screenshot 349 +# ... AND close current visible alert
  350 +# ... AND capture page screenshot
351 ${claim_form_open_form_change_status_btn_locator} = replace string ${claim_form_open_form_change_status_btn_locator_tpl} %title% ${complaintID} 351 ${claim_form_open_form_change_status_btn_locator} = replace string ${claim_form_open_form_change_status_btn_locator_tpl} %title% ${complaintID}
352 Run Keyword If '${confirmation_data.data.status}' == 'resolved' Run keywords 352 Run Keyword If '${confirmation_data.data.status}' == 'resolved' Run keywords
353 ... wait until page contains element with reloading ${claim_form_open_form_change_status_btn_locator} 353 ... wait until page contains element with reloading ${claim_form_open_form_change_status_btn_locator}
@@ -549,7 +549,8 @@ def getLastCancellationComplaintDataByTenderUaId(apiBaseUrl, tenderUaId): @@ -549,7 +549,8 @@ def getLastCancellationComplaintDataByTenderUaId(apiBaseUrl, tenderUaId):
549 break 549 break
550 if tenderId is None: 550 if tenderId is None:
551 return {} 551 return {}
552 - tenderDataResponse = doGetRequest(apiBaseUrl.strip("/") + "/tenders/" + tenderId + "/cancellations/" + ['json']['data']['cancellations']['id'] + "/complaints", data={}) 552 + tenderDataCancellationId = updatesResponse['json']['data']['cancellations']['id']
  553 + tenderDataResponse = doGetRequest(apiBaseUrl.strip("/") + "/tenders/" + tenderId + "/cancellations/" + tenderDataCancellationId + "/complaints", data={})
553 tenderDataJson = tenderDataResponse['json']['data'][0] 554 tenderDataJson = tenderDataResponse['json']['data'][0]
554 return tenderDataJson 555 return tenderDataJson
555 556
Please register or login to post a comment