From 94520bb7a8463ab9481fc7ad2f0a6b8760f378fb Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 16 Mar 2022 11:14:50 -0700 Subject: [PATCH] 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 --- lib/utils.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/utils.pm b/lib/utils.pm index 78f2c9c3..c689de1a 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -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'