1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-18 04:23:08 +00:00
os-autoinst-distri-fedora/tests/applications/nautilus/keyboard_shortcuts.pm

40 lines
705 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");
2022-02-10 09:29:17 +00:00
send_key("right");
send_key("ret");
wait_still_screen(2);
2022-02-10 09:29:17 +00:00
assert_screen("nautilus_shortcuts_second");
2022-02-10 09:29:17 +00:00
send_key("right");
send_key("ret");
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;