os-autoinst-distri-rocky/tests/applications/clocks/about.pm
AlanMarshall f6b823d5c6
Restore functions for applications tests.
From upstream:
 support functions added to lib/utils.pm
 clocks functions directory added in tests/applications/
 minor correction in ...evince/aaa_setup.pm
2024-11-09 19:13:57 +00:00

30 lines
590 B
Perl

use base "installedtest";
use strict;
use testapi;
use utils;
# I as a user want to be able use the menu to enter further functions.
sub run {
my $self = shift;
# Click on the burger menu.
assert_and_click("gnome_burger_menu");
# Click on About Clocks to see the About info.
assert_and_click("clocks_menu_about");
assert_screen("clocks_about_displayed");
assert_and_click("gnome_button_credits");
assert_screen("clocks_credits_shown");
}
sub test_flags {
# Rollback after test is over.
return {always_rollback => 1};
}
1;
# vim: set sw=4 et: