Showing
2 changed files
with
2 additions
and
2 deletions
@@ -342,7 +342,7 @@ Change the status of the complaint | @@ -342,7 +342,7 @@ Change the status of the complaint | ||
342 | ... AND capture page screenshot | 342 | ... AND capture page screenshot |
343 | ... AND sleep 15 | 343 | ... AND sleep 15 |
344 | ... AND capture page screenshot | 344 | ... AND capture page screenshot |
345 | - ... AND submit form and check result ${qualification_form_submit_btn_locator} ${select_complaint_submit_success_msg} ${true} | 345 | + ... AND submit form and check result ${select_complaint_success_btn_locator} ${select_complaint_submit_success_msg} ${true} |
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 |
@@ -549,7 +549,7 @@ def getLastCancellationComplaintDataByTenderUaId(apiBaseUrl, tenderUaId): | @@ -549,7 +549,7 @@ 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" + "/complaints", data={}) | 552 | + tenderDataResponse = doGetRequest(apiBaseUrl.strip("/") + "/tenders/" + tenderId + "/cancellations/" + ['json']['data']['cancellations']['id'] + "/complaints", data={}) |
553 | tenderDataJson = tenderDataResponse['json']['data'][0] | 553 | tenderDataJson = tenderDataResponse['json']['data'][0] |
554 | return tenderDataJson | 554 | return tenderDataJson |
555 | 555 |
Please
register
or
login
to post a comment