_iot_zezere_remote: be careful when quitting firefox

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2020-10-28 13:52:07 -07:00
parent 505c556c67
commit b57b306d4b

View file

@ -42,6 +42,10 @@ sub run {
assert_and_click "zezere_provision_schedule";
# exit
quit_firefox;
# we don't get back to a prompt instantly and keystrokes while X
# is still shutting down are swallowed, so be careful
assert_screen "root_console";
wait_still_screen 5;
# time before the provision request goes through is kinda hard to
# predict, so we'll just try over and over for up to 10 minutes
# and bail as soon as it works