1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-10 01:14:23 +00:00
os-autoinst-distri-fedora/tests/applications/gedit/show_shortcuts.pm

38 lines
774 B
Perl
Raw Normal View History

use base "installedtest";
use strict;
use testapi;
use utils;
# This part tests that Shortcuts can be shown.
sub run {
my $self = shift;
# Open Shortcuts.
send_key("ctrl-?");
# Assert the screen and move to next one
assert_screen "gedit_shortcuts_one";
assert_and_click "gedit_shortcuts_go_two";
# Assert the screen and move to next one
assert_screen "gedit_shortcuts_two";
assert_and_click "gedit_shortcuts_go_three";
# Assert the screen and move to next one
assert_screen "gedit_shortcuts_three";
assert_and_click "gedit_shortcuts_go_four";
# Assert the screen and move to next one
assert_screen "gedit_shortcuts_four";
}
sub test_flags {
return { always_rollback => 1 };
}
1;
# vim: set sw=4 et: