Commit ae90ed970a4c56bb6b43dfcb38184b249250cb6f
1 parent
6d72b09c
Add access tokens saving to artifact
Tender owner's - simply to have this in future Provider's - we need this in award complaints test suite
Showing
1 changed file
with
6 additions
and
0 deletions
| ... | ... | @@ -169,6 +169,9 @@ Get Broker Property By Username |
| 169 | 169 | ... tender_owner=${USERS.users['${tender_owner}'].broker} |
| 170 | 170 | ... access_token=${USERS.users['${tender_owner}'].access_token} |
| 171 | 171 | ... tender_id=${USERS.users['${tender_owner}'].tender_data.data.id} |
| 172 | + Run Keyword And Ignore Error Set To Dictionary ${artifact} tender_owner_access_token=${USERS.users['${tender_owner}'].access_token} | |
| 173 | + Run Keyword And Ignore Error Set To Dictionary ${artifact} provider_access_token=${USERS.users['${provider}'].access_token} | |
| 174 | + Run Keyword And Ignore Error Set To Dictionary ${artifact} provider1_access_token=${USERS.users['${provider1}'].access_token} | |
| 172 | 175 | ${status} ${lots_ids}= Run Keyword And Ignore Error Отримати ідентифікатори об’єктів ${viewer} lots |
| 173 | 176 | Run Keyword If '${status}'=='PASS' |
| 174 | 177 | ... Set To Dictionary ${artifact} lots=${lots_ids} |
| ... | ... | @@ -184,6 +187,9 @@ Get Broker Property By Username |
| 184 | 187 | ${lot_index}= Get Variable Value ${lot_index} 0 |
| 185 | 188 | Run Keyword And Ignore Error Set To Dictionary ${TENDER} LOT_ID=${ARTIFACT.lots[${lot_index}]} |
| 186 | 189 | ${mode}= Get Variable Value ${mode} ${ARTIFACT.mode} |
| 190 | + Run Keyword And Ignore Error Set To Dictionary ${USERS.users['${tender_owner}']} access_token=${ARTIFACT.tender_owner_access_token} | |
| 191 | + Run Keyword And Ignore Error Set To Dictionary ${USERS.users['${provider}']} access_token=${ARTIFACT.provider_access_token} | |
| 192 | + Run Keyword And Ignore Error Set To Dictionary ${USERS.users['${provider1}']} access_token=${ARTIFACT.provider1_access_token} | |
| 187 | 193 | Set Suite Variable ${mode} |
| 188 | 194 | Set Suite Variable ${lot_index} |
| 189 | 195 | Set Suite Variable ${TENDER} | ... | ... |
Please
register
or
login
to post a comment