os-autoinst-distri-fedora/tests/applications/nautilus/help.pm

37 lines
665 B
Perl
Raw Normal View History

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