1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-01 05:54:22 +00:00
os-autoinst-distri-fedora/tests/applications/gnome-text-editor/show_shortcuts.pm
Adam Williamson f67bcef9f7 g-t-e: extend sleep in one test, add in another
aarch64 looks like it often needs more time to settle after
restoring from snapshot before trying a key combo.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-15 11:15:52 -07:00

32 lines
545 B
Perl

use base "installedtest";
use strict;
use testapi;
use utils;
# This part tests that Shortcuts can be shown.
sub run {
my $self = shift;
# wait for snapshot restore to settle
sleep 5;
# Open Shortcuts.
send_key("ctrl-?");
# Assert the screen and move to next one
assert_screen "gte_shortcuts_one";
assert_and_click "gte_shortcuts_go_two";
# Assert the screen and move to next one
assert_screen "gte_shortcuts_two";
}
sub test_flags {
return { always_rollback => 1 };
}
1;
# vim: set sw=4 et: