1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-05 15:34:22 +00:00
os-autoinst-distri-fedora/tests/applications/kwrite/show_help.pm

38 lines
768 B
Perl
Raw Normal View History

2024-03-25 10:34:00 +00:00
use base "installedtest";
use strict;
use testapi;
use utils;
# This part tests that Help can be shown.
sub run {
my $self = shift;
sleep(5);
# Click into the window to get focus
assert_and_click("kwrite_line_title");
# Open Help.
send_key("f1");
assert_screen "kwrite_help_shown";
# No help today.
#
#
## Navigate through several screens
#assert_and_click "kwrite_help_files";
#assert_screen "kwrite_help_open_file";
#assert_and_click "kwrite_help_bread_main";
## Another screen
#assert_and_click "kwrite_help_search";
#assert_screen("kwrite_help_search_replace");
#assert_and_click "kwrite_help_bread_main";
}
sub test_flags {
return {always_rollback => 1};
}
1;
# vim: set sw=4 et: