Commit a684a9cc552463adb913b3ef036949e1c0bebb7c

Authored by Oleksandr Iskryzhytskyi
1 parent f17d83bc

fixed: waiting opening alert

Showing 1 changed file with 3 additions and 0 deletions
@@ -337,6 +337,9 @@ wait until alert is visible @@ -337,6 +337,9 @@ wait until alert is visible
337 run keyword if ${message_is_none} == ${True} wait until page contains element ${alert_opened_locator} 60s Alert was not shown 337 run keyword if ${message_is_none} == ${True} wait until page contains element ${alert_opened_locator} 60s Alert was not shown
338 run keyword if ${message_is_none} == ${False} wait until page contains element ${alert_message_locator} 60s Alert was not shown 338 run keyword if ${message_is_none} == ${False} wait until page contains element ${alert_message_locator} 60s Alert was not shown
339 339
  340 + # wait for ending animation
  341 + sleep 500ms
  342 +
340 close current visible alert 343 close current visible alert
341 [Documentation] закриває поточний alert 344 [Documentation] закриває поточний alert
342 345
Please register or login to post a comment