mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-29 00:16:30 +00:00
Try harder to be safe when quitting Firefox
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
fed44e3fdb
commit
855aaef258
@ -38,8 +38,9 @@ sub run {
|
|||||||
# close browser, back to console
|
# close browser, back to console
|
||||||
quit_firefox;
|
quit_firefox;
|
||||||
# we don't get back to a prompt instantly and keystrokes while X
|
# we don't get back to a prompt instantly and keystrokes while X
|
||||||
# is still shutting down are swallowed, so wait_still_screen before
|
# is still shutting down are swallowed, so be careful before
|
||||||
# finishing (and handing off to freeipa_client_postinstall)
|
# finishing (and handing off to freeipa_client_postinstall)
|
||||||
|
assert_screen "root_console";
|
||||||
wait_still_screen 5;
|
wait_still_screen 5;
|
||||||
# check we can kinit with changed password
|
# check we can kinit with changed password
|
||||||
assert_script_run 'printf "loremipsum" | kinit test3';
|
assert_script_run 'printf "loremipsum" | kinit test3';
|
||||||
|
@ -43,8 +43,9 @@ sub run {
|
|||||||
# quit browser to return to console
|
# quit browser to return to console
|
||||||
quit_firefox;
|
quit_firefox;
|
||||||
# we don't get back to a prompt instantly and keystrokes while X
|
# we don't get back to a prompt instantly and keystrokes while X
|
||||||
# is still shutting down are swallowed, so wait_still_screen before
|
# is still shutting down are swallowed, so be careful before
|
||||||
# finishing (and handing off to freeipa_client_postinstall)
|
# finishing (and handing off to next test)
|
||||||
|
assert_screen "root_console";
|
||||||
wait_still_screen 5;
|
wait_still_screen 5;
|
||||||
# set permanent passwords for both accounts
|
# set permanent passwords for both accounts
|
||||||
assert_script_run 'printf "correcthorse\nbatterystaple\nbatterystaple" | kinit test3@DOMAIN.LOCAL';
|
assert_script_run 'printf "correcthorse\nbatterystaple\nbatterystaple" | kinit test3@DOMAIN.LOCAL';
|
||||||
|
@ -55,8 +55,9 @@ sub run {
|
|||||||
# quit browser to return to console
|
# quit browser to return to console
|
||||||
quit_firefox;
|
quit_firefox;
|
||||||
# we don't get back to a prompt instantly and keystrokes while X
|
# we don't get back to a prompt instantly and keystrokes while X
|
||||||
# is still shutting down are swallowed, so wait_still_screen before
|
# is still shutting down are swallowed, so be careful before
|
||||||
# finishing (and handing off to freeipa_client_postinstall)
|
# finishing (and handing off to next test)
|
||||||
|
assert_screen "root_console";
|
||||||
wait_still_screen 5;
|
wait_still_screen 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,8 +15,9 @@ sub run {
|
|||||||
# quit firefox (return to console)
|
# quit firefox (return to console)
|
||||||
quit_firefox;
|
quit_firefox;
|
||||||
# we don't get back to a prompt instantly and keystrokes while X
|
# we don't get back to a prompt instantly and keystrokes while X
|
||||||
# is still shutting down are swallowed, so wait_still_screen before
|
# is still shutting down are swallowed, so be careful before
|
||||||
# finishing (and handing off to next test)
|
# finishing (and handing off to next test)
|
||||||
|
assert_screen "root_console";
|
||||||
wait_still_screen 5;
|
wait_still_screen 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user