Use lower similarity level for type_safely wait_still_screen
Just like all the others, to handle flashing cursors. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
0206324115
commit
85c74f214e
@ -21,7 +21,9 @@ sub run_with_error_check {
|
|||||||
sub type_safely {
|
sub type_safely {
|
||||||
my $string = shift;
|
my $string = shift;
|
||||||
type_string($string, wait_screen_change => 3, max_interval => 20);
|
type_string($string, wait_screen_change => 3, max_interval => 20);
|
||||||
wait_still_screen 2;
|
# 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);
|
||||||
}
|
}
|
||||||
|
|
||||||
# high-level 'type this string extremely safely and rather slow'
|
# high-level 'type this string extremely safely and rather slow'
|
||||||
|
Loading…
Reference in New Issue
Block a user