Commit 1c308b5085b22c4df925c3c79bcafc2526eb0366

Authored by Playtenders
1 parent 6168abc6

agreements_0_status

@@ -151,6 +151,7 @@ Resource playtender_contr @@ -151,6 +151,7 @@ Resource playtender_contr
151 open tender page by uaid ${tender_uaid} 151 open tender page by uaid ${tender_uaid}
152 wait until page does not contain element with reloading ${tender_sync_element_locator} 152 wait until page does not contain element with reloading ${tender_sync_element_locator}
153 run keyword if '${field_name}' == 'status' wait for tender status 153 run keyword if '${field_name}' == 'status' wait for tender status
  154 + run keyword if '${field_name}' == 'agreements[0].status' wait for agreements status active
154 run keyword if '${field_name}' == 'qualificationPeriod.endDate' Wait Until Keyword Succeeds 1600 s 20 s Wait For QualificationsPeriodEnd 155 run keyword if '${field_name}' == 'qualificationPeriod.endDate' Wait Until Keyword Succeeds 1600 s 20 s Wait For QualificationsPeriodEnd
155 Run Keyword And Return If '${field_name}' == 'contracts[0].status' or '${field_name}' == 'contracts[1].status' Отримати інформацію із contracts[0].status 156 Run Keyword And Return If '${field_name}' == 'contracts[0].status' or '${field_name}' == 'contracts[1].status' Отримати інформацію із contracts[0].status
156 Run Keyword And Return If '${field_name}' == 'qualificationPeriod.endDate' and '${mode}' in 'open_competitive_dialogue' Отримати інформацію із qualificationPeriod.endDate 157 Run Keyword And Return If '${field_name}' == 'qualificationPeriod.endDate' and '${mode}' in 'open_competitive_dialogue' Отримати інформацію із qualificationPeriod.endDate
@@ -368,7 +368,7 @@ reload page and fail if element does not exist @@ -368,7 +368,7 @@ reload page and fail if element does not exist
368 [Documentation] перезавантажує сторінку і фейлить тест якщо елемент відсутній 368 [Documentation] перезавантажує сторінку і фейлить тест якщо елемент відсутній
369 369
370 reload page 370 reload page
371 - capture page screenshot 371 + capture page screenshot
372 ${exists} = get is element exist ${locator} 372 ${exists} = get is element exist ${locator}
373 run keyword if ${exists} == ${False} fail 373 run keyword if ${exists} == ${False} fail
374 374
@@ -537,5 +537,12 @@ Wait For stage2button @@ -537,5 +537,12 @@ Wait For stage2button
537 ${return_value} = parse_complaintPeriod_date ${return_value} 537 ${return_value} = parse_complaintPeriod_date ${return_value}
538 [return] ${return_value} 538 [return] ${return_value}
539 539
  540 +wait for agreements status active
  541 + [Documentation] Очикування статусу agreements active
  542 +
  543 + Reload Page
  544 + ${return_value} = get value by locator on opened page ${tender_agreements_0_status_value_locator}
  545 + Page Should Contain Element ${tender_contracts_status_active_value_locator}
  546 +
540 547
541 548
@@ -106,7 +106,7 @@ ${tender_status_active_pre_qualification_value_locator} = xpath=//*[co @@ -106,7 +106,7 @@ ${tender_status_active_pre_qualification_value_locator} = xpath=//*[co
106 ${tender_status_complete_value_locator} = xpath=//*[contains(text(), "complete")] 106 ${tender_status_complete_value_locator} = xpath=//*[contains(text(), "complete")]
107 ${tender_status_active_stage2_pending_value_locator} = xpath=//*[contains(text(), "active.stage2.pending")] 107 ${tender_status_active_stage2_pending_value_locator} = xpath=//*[contains(text(), "active.stage2.pending")]
108 ${tender_status_active_stage2_waiting_value_locator} = xpath=//*[contains(text(), "active.stage2.waiting")] 108 ${tender_status_active_stage2_waiting_value_locator} = xpath=//*[contains(text(), "active.stage2.waiting")]
109 -${tender_status_active_complete_value_locator} = xpath=//*[contains(text(), "active.complete")] 109 +${tender_status_active_complete_value_locator} = jquery=#aside-part-pjax .hidden.opstatus:contains(complete)
110 ${tender_status_active_qualification_value_locator} = xpath=//*[contains(text(), "active.qualification")] 110 ${tender_status_active_qualification_value_locator} = xpath=//*[contains(text(), "active.qualification")]
111 111
112 #funders 112 #funders
@@ -173,3 +173,4 @@ ${tender_maxAwardsCount_value_locator} = jquery=#tend @@ -173,3 +173,4 @@ ${tender_maxAwardsCount_value_locator} = jquery=#tend
173 ${tender_maxAwardsCount_value_type} = integer 173 ${tender_maxAwardsCount_value_type} = integer
174 ${tender_agreementDuration_value_locator} = jquery=#tender-general-info .agreement-duration 174 ${tender_agreementDuration_value_locator} = jquery=#tender-general-info .agreement-duration
175 ${tender_agreements_0_status_value_locator} = jquery=#agreement-contracts-list .agreement-info-wrapper .status-source.hidden 175 ${tender_agreements_0_status_value_locator} = jquery=#agreement-contracts-list .agreement-info-wrapper .status-source.hidden
  176 +${tender_agreements_status_active_value_locator} = jquery=#agreement-contracts-list .agreement-info-wrapper .status-source.hidden:contains(active)
Please register or login to post a comment