1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-09-27 08:38:48 +00:00
os-autoinst-distri-fedora/tests/applications/papers/shortcuts.pm
Adam Williamson 9153204111 papers: don't check multiple pages of shortcuts
we really don't need to, and the new design that's currently in
Workstation but not yet Silverblue makes it awkward. Just check
one page.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-25 16:10:37 -07:00

28 lines
577 B
Perl

use base "installedtest";
use strict;
use testapi;
use utils;
# This part of the suite tests that Evince displays shortcuts.
sub run {
my $self = shift;
# Open the menu
assert_and_click("gnome_burger_menu", button => "left", timeout => 30);
wait_still_screen 2;
# Select the Keyboard Shortcuts item
assert_and_click("papers_menu_shortcuts", button => "left", timeout => 30);
wait_still_screen 2;
# Check that Shortcuts has been shown
assert_screen("papers_shortcuts_shown");
}
sub test_flags {
return {always_rollback => 1};
}
1;