1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-22 05:53:09 +00:00

Try harder to be safe when quitting Firefox

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2020-08-05 13:56:07 -07:00
parent fed44e3fdb
commit 855aaef258
4 changed files with 10 additions and 6 deletions

View File

@ -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';

View File

@ -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';

View File

@ -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;
} }

View File

@ -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;
} }