mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-18 12:33:09 +00:00
9078bca871
Cockpit 198 comes with a UI overhaul, so almost all needles need an update. The 'auditd' service is no longer on the first page. To make this less fragile (at the cost of not testing that clicking on a service actually opens the detail page *for that service*, tweak the needles to just look for *any* running service, click on it, and check we got to a 'details' page. We also redo the existing needles for this design. Signed-off-by: Adam Williamson <awilliam@redhat.com>
37 lines
915 B
Perl
37 lines
915 B
Perl
use base "installedtest";
|
|
use strict;
|
|
use testapi;
|
|
use utils;
|
|
|
|
sub run {
|
|
my $self=shift;
|
|
bypass_1691487;
|
|
# 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;
|
|
# click on an entry
|
|
assert_and_click "cockpit_services_entry";
|
|
# check we get to a detail screen
|
|
assert_screen "cockpit_services_detail";
|
|
}
|
|
|
|
sub test_flags {
|
|
return { fatal => 1 };
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|