1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 18:33:07 +00:00
os-autoinst-distri-fedora/tests/applications/nautilus/keyboard_shortcuts.pm
Adam Williamson 1a65993d36 Add a perltidy check and apply it to the entire codebase
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-28 14:38:38 -07:00

40 lines
705 B
Perl

use base "installedtest";
use strict;
use testapi;
use utils;
# Display all screens of Keyboard shortcuts.
sub run {
my $self = shift;
assert_and_click("gnome_burger_menu");
wait_still_screen(2);
assert_and_click("nautilus_menu_shortcuts");
wait_still_screen(2);
assert_screen("nautilus_shortcuts_first");
send_key("right");
send_key("ret");
wait_still_screen(2);
assert_screen("nautilus_shortcuts_second");
send_key("right");
send_key("ret");
wait_still_screen(2);
assert_screen("nautilus_shortcuts_third");
}
sub test_flags {
# Rollback to the previous state to make space for other parts.
return {always_rollback => 1};
}
1;