mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-30 00:46:26 +00:00
ddb6f8e416
The Logs screen changed a bit. Also, it seems wrong to have 'notices' in all these needle names, so let's fix that.
36 lines
932 B
Perl
36 lines
932 B
Perl
use base "installedtest";
|
|
use strict;
|
|
use testapi;
|
|
use utils;
|
|
|
|
sub run {
|
|
my $self=shift;
|
|
# run firefox and login to cockpit
|
|
start_cockpit(1);
|
|
# go to the logs screen
|
|
assert_and_click "cockpit_logs";
|
|
# the date dropdown changes and messes with the button locations, so wait
|
|
wait_still_screen 2;
|
|
assert_and_click "cockpit_logs_severity";
|
|
wait_still_screen 2;
|
|
# assume there's an entry, click it
|
|
assert_and_click "cockpit_logs_entry";
|
|
# check we get to the appropriate detail screen
|
|
assert_screen "cockpit_logs_detail";
|
|
# go to the services screen
|
|
assert_and_click "cockpit_services";
|
|
wait_still_screen 2;
|
|
# assume auditd is there, click it
|
|
assert_and_click "cockpit_services_auditd";
|
|
# check we get to the appropriate detail screen
|
|
assert_screen "cockpit_services_auditd_detail";
|
|
}
|
|
|
|
sub test_flags {
|
|
return { fatal => 1 };
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|