1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 07:13:09 +00:00
os-autoinst-distri-fedora/tests/applications/okular/search.pm
2024-04-03 11:50:54 +02:00

27 lines
454 B
Perl

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;