2022-02-10 09:29:17 +00:00
|
|
|
use base "installedtest";
|
|
|
|
use strict;
|
|
|
|
use testapi;
|
|
|
|
use utils;
|
|
|
|
|
|
|
|
# Display all screens of Keyboard shortcuts.
|
|
|
|
|
|
|
|
sub run {
|
|
|
|
my $self = shift;
|
2022-07-28 20:32:57 +00:00
|
|
|
|
2022-02-10 09:29:17 +00:00
|
|
|
assert_and_click("gnome_burger_menu");
|
|
|
|
wait_still_screen(2);
|
2022-07-28 20:32:57 +00:00
|
|
|
|
2022-02-10 09:29:17 +00:00
|
|
|
assert_and_click("nautilus_menu_shortcuts");
|
|
|
|
wait_still_screen(2);
|
2022-07-28 20:32:57 +00:00
|
|
|
|
2022-02-10 09:29:17 +00:00
|
|
|
assert_screen("nautilus_shortcuts_first");
|
2022-07-28 20:32:57 +00:00
|
|
|
|
2023-05-16 23:09:04 +00:00
|
|
|
send_key("alt-2");
|
2022-02-10 09:29:17 +00:00
|
|
|
wait_still_screen(2);
|
2022-07-28 20:32:57 +00:00
|
|
|
|
2022-02-10 09:29:17 +00:00
|
|
|
assert_screen("nautilus_shortcuts_second");
|
2022-07-28 20:32:57 +00:00
|
|
|
|
2023-05-16 23:09:04 +00:00
|
|
|
send_key("alt-3");
|
2022-02-10 09:29:17 +00:00
|
|
|
wait_still_screen(2);
|
2022-07-28 20:32:57 +00:00
|
|
|
|
2022-02-10 09:29:17 +00:00
|
|
|
assert_screen("nautilus_shortcuts_third");
|
|
|
|
}
|
|
|
|
|
|
|
|
sub test_flags {
|
|
|
|
# Rollback to the previous state to make space for other parts.
|
|
|
|
return {always_rollback => 1};
|
|
|
|
}
|
|
|
|
|
|
|
|
1;
|
|
|
|
|
|
|
|
|