use base "installedtest"; use strict; use testapi; use utils; use packagetest; sub cockpit_update { # This routine starts the Cockpit, logs in, and goes to the update page. # run firefox and login to cockpit start_cockpit(1); # go to the updates screen assert_and_click "cockpit_software_updates", '', 120; # wait for the updates to download while (!check_screen('cockpit_updates_check',1)) { sleep 5; } } sub run { my $self=shift; bypass_1691487; # Start Cockpit cockpit_update; # Switch on automatic updates assert_and_click 'cockpit_updates_auto', '', 120; assert_and_click 'cockpit_updates_dnf_install', '', 120; assert_screen 'cockpit_updates_auto_on'; } sub test_flags { return { always_rolllback => 1 }; } 1; # vim: set sw=4 et: