Showing
1 changed file
with
3 additions
and
1 deletions
| ... | ... | @@ -383,8 +383,8 @@ wait until page contains search |
| 383 | 383 | [Documentation] чекає поки елемент не з'явиться на сторінці з перезапуском пошуку |
| 384 | 384 | |
| 385 | 385 | ${result} = get is element exist ${locator} |
| 386 | - run keyword if ${result} == ${False} wait until keyword succeeds ${retry} ${retry_interval} reload page and fail if element does not exist on search ${locator} | |
| 387 | 386 | capture page screenshot |
| 387 | + run keyword if ${result} == ${False} wait until keyword succeeds ${retry} ${retry_interval} reload page and fail if element does not exist on search ${locator} | |
| 388 | 388 | |
| 389 | 389 | wait until page contains element with reloading |
| 390 | 390 | [Arguments] ${locator} ${retry}=5m ${retry_interval}=2s |
| ... | ... | @@ -413,7 +413,9 @@ reload page and fail if element exists |
| 413 | 413 | [Arguments] ${locator} |
| 414 | 414 | [Documentation] перезавантажує сторінку і фейлить тест якщо елемент присутній |
| 415 | 415 | |
| 416 | + capture page screenshot | |
| 416 | 417 | reload page |
| 418 | + capture page screenshot | |
| 417 | 419 | ${exists} = get is element exist ${locator} |
| 418 | 420 | run keyword if ${exists} == ${True} fail |
| 419 | 421 | ... | ... |
Please
register
or
login
to post a comment