mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-14 02:34:21 +00:00
b1dfcfdd3d
Contacts now has two burger menus, which is awkward. We need specific needles to identify each, we can't rely on the generic needle any more as it won't always open the right menu. We also need to still work with the old UI for the flatpak. Signed-off-by: Adam Williamson <awilliam@redhat.com>
31 lines
556 B
Perl
31 lines
556 B
Perl
use base "installedtest";
|
|
use strict;
|
|
use testapi;
|
|
use utils;
|
|
|
|
# This script will check if shortcuts can be shown.
|
|
|
|
sub run {
|
|
my $self = shift;
|
|
|
|
# Wait some time to settle down.
|
|
sleep(5);
|
|
# Go to the menu and click on shortcuts item
|
|
assert_and_click("contacts_left_menu");
|
|
assert_and_click("contacts_menu_shortcuts");
|
|
# Check that the the correct window has shown.
|
|
assert_screen("contacts_shortcuts_shown");
|
|
}
|
|
|
|
sub test_flags {
|
|
# Rollback after the test.
|
|
return {always_rollback => 1};
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|
|
|
|
|
|
|