mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-18 12:33:09 +00:00
e6c8c5f0ff
Somehow, recently, FreeIPA tests are running into Firefox not quitting because it's showing a warning about closing multiple tabs. (I think we didn't *get* multiple tabs before but now we do, for some reason). So let's work around this by clicking "Close tabs" if the warning appears. Signed-off-by: Adam Williamson <awilliam@redhat.com>
25 lines
539 B
Perl
25 lines
539 B
Perl
use base "installedtest";
|
|
use strict;
|
|
use testapi;
|
|
use utils;
|
|
|
|
sub run {
|
|
my $self = shift;
|
|
# check cockpit appears to be enabled and running and firewall is setup
|
|
assert_script_run 'systemctl is-enabled cockpit.socket';
|
|
assert_script_run 'systemctl is-active cockpit.socket';
|
|
assert_script_run 'firewall-cmd --query-service cockpit';
|
|
# test cockpit web UI start
|
|
start_cockpit(0);
|
|
# quit firefox (return to console)
|
|
quit_firefox;
|
|
}
|
|
|
|
sub test_flags {
|
|
return { fatal => 1 };
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|