1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-11 05:43:11 +00:00
os-autoinst-distri-fedora/tests/applications/nautilus/keyboard_shortcuts.pm
Adam Williamson 37bd56033d nautilus: adjust keyboard shortcut page navigation
As recommended by @mclasen in
https://gitlab.gnome.org/GNOME/gtk/-/issues/5831#note_1743386 .

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-16 16:09:04 -07:00

38 lines
663 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("alt-2");
wait_still_screen(2);
assert_screen("nautilus_shortcuts_second");
send_key("alt-3");
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;