1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-02 02:03:07 +00:00
os-autoinst-distri-fedora/tests/applications/okular/search.pm

27 lines
454 B
Perl
Raw Normal View History

2024-04-02 10:03:53 +00:00
use base "installedtest";
use strict;
use testapi;
use utils;
# This part of the suite tests the ability to search string in the text.
sub run {
my $self = shift;
# Send a key combo to invoke search
send_key("ctrl-f");
# Type *pages*.
type_very_safely("pages");
# Check that the typed text has been found.
assert_screen("okular_search_found", timeout => 30);
}
sub test_flags {
return {always_rollback => 1};
}
1;