1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-22 14:03:09 +00:00
os-autoinst-distri-fedora/tests/applications/nautilus/keyboard_shortcuts.pm

38 lines
663 B
Perl
Raw Normal View History

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-02-10 09:29:17 +00:00
assert_and_click("gnome_burger_menu");
wait_still_screen(2);
2022-02-10 09:29:17 +00:00
assert_and_click("nautilus_menu_shortcuts");
wait_still_screen(2);
2022-02-10 09:29:17 +00:00
assert_screen("nautilus_shortcuts_first");
send_key("alt-2");
2022-02-10 09:29:17 +00:00
wait_still_screen(2);
2022-02-10 09:29:17 +00:00
assert_screen("nautilus_shortcuts_second");
send_key("alt-3");
2022-02-10 09:29:17 +00:00
wait_still_screen(2);
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;