mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-07-18 19:31:35 +00:00
@lruzicka recently made this test click through the setup page, if it sees it...but he used new needles (which he didn't commit) even though we already have those same needles as part of the detailed contacts app test. This setup page always appears, we don't need to check for it, and we don't need separate needles to identify the page and to click on the local address book option. All we need to do is the same as we do in aaa_setup: unconditionally look for and click the local address book option, using the already-existing needle. So let's do that. Signed-off-by: Adam Williamson <awilliam@redhat.com>
31 lines
600 B
Perl
31 lines
600 B
Perl
use base "installedtest";
|
|
use strict;
|
|
use testapi;
|
|
use utils;
|
|
|
|
# This test checks that Contacts starts.
|
|
|
|
sub run {
|
|
my $self = shift;
|
|
|
|
# Start the application
|
|
start_with_launcher('apps_menu_contacts');
|
|
# Click through setup page
|
|
assert_and_click("contacts_select_local_addressbook");
|
|
assert_and_click("gnome_button_done");
|
|
# Check that is started
|
|
assert_screen 'apps_run_contacts';
|
|
# Register application
|
|
register_application("gnome-contacts");
|
|
# Close the application
|
|
quit_with_shortcut();
|
|
}
|
|
|
|
sub test_flags {
|
|
return {};
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|