1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-20 17:33:08 +00:00

Drop similarity_level on type_safely

I meant to include this in the earlier commit that does the same
for type_very_safely, but forgot.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-03-16 11:14:50 -07:00
parent 1b7c89b016
commit 94520bb7a8

View File

@ -37,9 +37,9 @@ sub run_with_error_check {
sub type_safely {
my $string = shift;
type_string($string, wait_screen_change => 3, max_interval => 20);
# similarity level 45 as there will commonly be a flashing
# cursor and the default level (47) is slightly too tight
wait_still_screen(stilltime=>2, similarity_level=>45);
# similarity level 38 as there will commonly be a flashing
# cursor and the default level (47) is too tight
wait_still_screen(stilltime=>2, similarity_level=>38);
}
# high-level 'type this string extremely safely and rather slow'