1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-14 02:34:21 +00:00
os-autoinst-distri-fedora/tests/applications/nautilus/help.pm
Adam Williamson 1a65993d36 Add a perltidy check and apply it to the entire codebase
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-28 14:38:38 -07:00

37 lines
665 B
Perl

use base "installedtest";
use strict;
use testapi;
use utils;
# Display Help.
sub run {
my $self = shift;
# Open help.
send_key("f1");
wait_still_screen 2;
# Check that Help has been shown.
assert_screen("nautilus_help_shown");
# Open one of the topics.
assert_and_click("nautilus_help_browse_files");
# Check that a correct topic has been opened.
assert_screen("nautilus_browse_shown");
# Find a subtopic and open it links
assert_and_click("nautilus_help_search_file");
# Check that it opened
assert_screen("nautilus_search_file_shown");
}
sub test_flags {
return {always_rollback => 1};
}
1;