Commit 6acea1c1f198ae6086b092035eebd2deded7a676

Authored by Taras Kozlovskyi
1 parent bfd52dd1

Added generation of awards

@@ -156,18 +156,31 @@ Activate award @@ -156,18 +156,31 @@ Activate award
156 Review tender 156 Review tender
157 Log object data ${tender} tender_after_add_auction 157 Log object data ${tender} tender_after_add_auction
158 ${awards}= Call Method ${API} get_awards ${tender} 158 ${awards}= Call Method ${API} get_awards ${tender}
159 - Log object data ${awards} awards 159 + Log object data ${awards} initial_get_awards_response json
160 ${award_approve}= create_approve_award_request_data ${awards.data[0].id} 160 ${award_approve}= create_approve_award_request_data ${awards.data[0].id}
161 - Log object data ${award_approve} 161 + Log object data ${award_approve} active_award_request json
162 ${approved_award}= Call Method ${API} patch_award ${tender} ${award_approve} 162 ${approved_award}= Call Method ${API} patch_award ${tender} ${award_approve}
163 - Log object data ${approved_award} award_approved 163 + Log object data ${approved_award} activeted_award_response json
164 ${award_canceled}= create_approve_award_request_data ${awards.data[0].id} 164 ${award_canceled}= create_approve_award_request_data ${awards.data[0].id}
165 Set To Dictionary ${award_canceled.data} status cancelled 165 Set To Dictionary ${award_canceled.data} status cancelled
166 - Log object data ${award_canceled} 166 + Log object data ${award_canceled} cancel_award_request json
167 ${canceled_award}= Call Method ${API} patch_award ${tender} ${award_canceled} 167 ${canceled_award}= Call Method ${API} patch_award ${tender} ${award_canceled}
168 - Log object data ${canceled_award} award_canceled 168 + Log object data ${canceled_award} cancel_award_response json
169 ${awards}= Call Method ${API} get_awards ${tender} 169 ${awards}= Call Method ${API} get_awards ${tender}
170 - Log object data ${awards} awards_after_cancel_one 170 + Log object data ${awards} awards_after_cancel_one json
  171 + ${unsuccessful_award_request}= create_approve_award_request_data ${awards.data[1].id}
  172 + Set To Dictionary ${unsuccessful_award_request.data} status unsuccessful
  173 + Log object data ${unsuccessful_award_request} unsuccessful_award_request json
  174 + ${unsuccessful_award_response}= Call Method ${API} patch_award ${tender} ${unsuccessful_award_request}
  175 + Log object data ${unsuccessful_award_response} unsuccessful_award_response json
  176 + ${award_canceled}= create_approve_award_request_data ${awards.data[0].id}
  177 + ${awards}= Call Method ${API} get_awards ${tender}
  178 + Log object data ${awards} awards_after_unsuccessful_one json
  179 + ${next_award_activate_request}= create_approve_award_request_data ${awards.data[2].id}
  180 + Set To Dictionary ${next_award_activate_request.data} status active
  181 + Log object data ${next_award_activate_request} next_award_activate_request json
  182 + ${next_award_activate_response}= Call Method ${API} patch_award ${tender} ${next_award_activate_request}
  183 + Log object data ${next_award_activate_response} next_award_activate_response json
171 184
172 Game process begin 185 Game process begin
173 Open Browser To bidder0 Login Page 186 Open Browser To bidder0 Login Page
Please register or login to post a comment