2022-01-25 13:45:38 +00:00
|
|
|
use base "installedtest";
|
|
|
|
use strict;
|
|
|
|
use testapi;
|
|
|
|
use utils;
|
|
|
|
|
|
|
|
# This part tests that Shortcuts can be shown.
|
|
|
|
|
|
|
|
sub run {
|
|
|
|
my $self = shift;
|
2022-07-15 18:15:52 +00:00
|
|
|
# wait for snapshot restore to settle
|
|
|
|
sleep 5;
|
2023-06-29 11:30:41 +00:00
|
|
|
# Click into the text to get focus
|
|
|
|
assert_and_click("gte_line_title");
|
2022-07-15 18:15:52 +00:00
|
|
|
|
2022-01-25 13:45:38 +00:00
|
|
|
# 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 {
|
2022-07-28 20:32:57 +00:00
|
|
|
return {always_rollback => 1};
|
2022-01-25 13:45:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
1;
|
|
|
|
|
|
|
|
# vim: set sw=4 et:
|