Commit 595af7487646ed0811bdbce7e2242b248b23d775

Authored by Playtenders
2 parents a0c8dd4d b07ff775

Merge branch 'v3-dev' of https://git.4k.com.ua/root/playtender-robot_tests into v3-dev

Showing 1 changed file with 3 additions and 2 deletions
... ... @@ -450,9 +450,10 @@ fix awards data in global Users variable
450 450
451 451 :FOR ${user} IN @{USERS}
452 452 \ continue for loop if '${user}' == '${username}'
453   - \ ${is_user_has_tender_data} = run keyword and return status dictionary should contain key ${USERS.users['${user}'] tender_data
  453 + \ ${user_data} = set variable ${USERS.users['${user}']}
  454 + \ ${is_user_has_tender_data} = run keyword and return status dictionary should contain key ${user_data} tender_data
454 455 \ continue for loop if ${is_user_has_tender_data} == ${False}
455 456 \ ${status} ${award_data} = run keyword and ignore error get_from_object ${USERS.users['${user}'].tender_data.data} awards
456   - \ continue for loop if ${status} == ${False}
  457 + \ continue for loop if '${status}' != 'PASS'
457 458 \ set to object ${USERS.users['${username}'].tender_data.data} awards ${award_data}
458 459 \ exit for loop
\ No newline at end of file
... ...
Please register or login to post a comment