From 475ee6b89cf7ecd8969197c2bbb93fcabc0ef7cb Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 17 Oct 2023 15:33:53 -0700 Subject: [PATCH] loupe: add a wait at start of browse test We often get a failure where it's stuck at a spinner here, let's see if waiting to settle the snapshot resume helps. Signed-off-by: Adam Williamson --- tests/applications/loupe/browse.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/applications/loupe/browse.pm b/tests/applications/loupe/browse.pm index 3b94a7e7..7eec97fc 100644 --- a/tests/applications/loupe/browse.pm +++ b/tests/applications/loupe/browse.pm @@ -8,6 +8,8 @@ use utils; sub run { my $self = shift; + # wait to settle from snapshot + wait_still_screen 3; # Go to next picture. send_key("right"); assert_screen("loupe_image_next", timeout => 90);