mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-22 10:48:30 +00:00
Use quit_firefox in Cockpit update tests
Just doing ctrl-q breaks if we hit the 'close tabs' dialog, which seems to happen occasionally. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
dc7b7a7241
commit
66bd961765
@ -28,7 +28,7 @@ sub run {
|
||||
assert_screen 'autoupdate_planned_time';
|
||||
|
||||
# Quit Cockpit
|
||||
send_key "ctrl-q";
|
||||
quit_firefox;
|
||||
sleep 3;
|
||||
|
||||
# Check that the dnf-automatic service has started
|
||||
|
@ -47,7 +47,7 @@ sub run {
|
||||
# needed and if so, we will restart Firefox and login again.
|
||||
#
|
||||
if (check_screen("cockpit_updates_reconnect", 1)) {
|
||||
send_key "ctrl-q";
|
||||
quit_firefox;
|
||||
sleep 5;
|
||||
start_cockpit(1);
|
||||
select_cockpit_update();
|
||||
@ -68,7 +68,7 @@ sub run {
|
||||
assert_screen 'cockpit_updates_updated';
|
||||
|
||||
# Switch off Cockpit
|
||||
send_key "ctrl-q";
|
||||
quit_firefox;
|
||||
|
||||
# Wait a couple of seconds for the terminal to settle down, the command was
|
||||
# entered incorrectly which resulted in a failure.
|
||||
|
Loading…
Reference in New Issue
Block a user