Commit 07a9e9a56e8e0865695a757ef248e849b8d7fa09
1 parent
83910640
Throw failure instead of warning
Old behaviour: If we expected failure but got success, log a warning but don't call `Fail`. New behaviour: If we expected failure but got success, call `Fail`. Also, the message was corrected.
Showing
1 changed file
with
2 additions
and
2 deletions
... | ... | @@ -216,8 +216,8 @@ SwitchState |
216 | 216 | Log Many @{arguments} |
217 | 217 | ${keywords_file}= Get Broker Property By Username ${username} keywords_file |
218 | 218 | ${status} ${value}= run_keyword_and_ignore_keyword_definitions ${keywords_file}.${command} ${username} @{arguments} |
219 | - Run keyword if '${status}' == 'PASS' Log Учасник ${username} зміг виконати "${command}" WARN | |
220 | - [return] ${value} | |
219 | + Run keyword if '${status}' == 'PASS' Fail Користувач ${username} зміг виконати "${command}" | |
220 | + [return] ${value} | |
221 | 221 | |
222 | 222 | |
223 | 223 | Дочекатись дати | ... | ... |
Please
register
or
login
to post a comment