Commit e57c5716c48e9a1bd415c0ab0e281411f9ad0c55
Merge pull request #713 from ivanka12/master
update "Отримати останній індекс"
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -1020,7 +1020,7 @@ Require Failure | @@ -1020,7 +1020,7 @@ Require Failure | ||
1020 | 1020 | ||
1021 | Отримати останній індекс | 1021 | Отримати останній індекс |
1022 | [Arguments] ${object} ${username} | 1022 | [Arguments] ${object} ${username} |
1023 | - ${status}= Run Keyword And Return Status List Should Contain Value ${USERS.users['${username}'].tender_data.data} ${object} | 1023 | + ${status}= Run Keyword And Return Status Dictionary Should Contain Key ${USERS.users['${username}'].tender_data.data} ${object} |
1024 | Run Keyword If '${status}' == 'False' Fail ${object} not found in \${USERS.users['${username}'].tender_data.data} | 1024 | Run Keyword If '${status}' == 'False' Fail ${object} not found in \${USERS.users['${username}'].tender_data.data} |
1025 | ${len_of_object}= Get Length ${USERS.users['${username}'].tender_data.data.${object}} | 1025 | ${len_of_object}= Get Length ${USERS.users['${username}'].tender_data.data.${object}} |
1026 | ${index}= subtraction ${len_of_object} 1 | 1026 | ${index}= subtraction ${len_of_object} 1 |
Please
register
or
login
to post a comment