1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 10:23:09 +00:00
os-autoinst-distri-fedora/tests/applications/gnome-text-editor/show_help.pm
Lukas Ruzicka d749317f29 Update the Gnome-Text-Editot test.
The editor started to show spell-checking that would require a lot
of new needles to be created. Theredore, we set the language to
English to stop showing the spelling mistakes in aaa_setup.pm

Also, the application started to have problems with getting correct
focus, so we want to click into the text before the status gets
recorded.
2023-06-30 14:26:00 +02:00

35 lines
703 B
Perl

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("gte_line_title");
# Open Help.
send_key("f1");
assert_screen "gte_help_shown";
# Navigate through several screens
assert_and_click "gte_help_files";
assert_screen "gte_help_open_file";
assert_and_click "gte_help_bread_main";
# Another screen
assert_and_click "gte_help_search";
assert_screen("gte_help_search_replace");
assert_and_click "gte_help_bread_main";
}
sub test_flags {
return {always_rollback => 1};
}
1;
# vim: set sw=4 et: