mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-09-27 00:28:50 +00:00
There's no 'go to 2' button any more, we'll just click a random section (Windows) and check that. This would also work fine for the old style if we still need that - just add the '2' button to gte_shortcuts_one and make sure it's the click area. Signed-off-by: Adam Williamson <awilliam@redhat.com>
33 lines
559 B
Perl
33 lines
559 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;
|
|
# Click into the text to get focus
|
|
assert_and_click("gte_line_title");
|
|
|
|
# Open Shortcuts.
|
|
send_key("ctrl-?");
|
|
|
|
# Assert the screen and move to next one
|
|
assert_and_click "gte_shortcuts_one";
|
|
|
|
# Assert the screen
|
|
assert_screen "gte_shortcuts_two";
|
|
}
|
|
|
|
|
|
sub test_flags {
|
|
return {always_rollback => 1};
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|