Commit 92724a3a6ade0783a033f7068be3003b26473a2a

Authored by Playtenders
1 parent d7a7cfe7

mistaken

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