mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-18 17:18:30 +00:00
4d997d7323
This reduces duplication, but it also means that if the FreeIPA web UI module fails, the password change module will pick up from a point where Firefox is set up and won't fail in a bogus way because it isn't. Signed-off-by: Adam Williamson <awilliam@redhat.com>
25 lines
544 B
Perl
25 lines
544 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)
|
|
send_key "ctrl-q";
|
|
}
|
|
|
|
sub test_flags {
|
|
return { fatal => 1 };
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|