From 7dd43daab8bf92cd64bac279836d63fb893b1240 Mon Sep 17 00:00:00 2001 From: Lukas Ruzicka Date: Wed, 27 Mar 2019 11:30:01 +0100 Subject: [PATCH] Fix Krusader It seems that there was a lag in button drawing, which prevented OpenQA from fully recognizing the krusader_welcome needle because it was evaluated too soon. I added "wait_still_screen 3" to make sure, there is time for a button to be drawn correctly before assertion. --- tests/apps_startstop/kde/krusader.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/apps_startstop/kde/krusader.pm b/tests/apps_startstop/kde/krusader.pm index 4c5a25e8..98b3717c 100644 --- a/tests/apps_startstop/kde/krusader.pm +++ b/tests/apps_startstop/kde/krusader.pm @@ -13,6 +13,7 @@ sub run { # Deal with the welcome screens while (check_screen('krusader_welcome', '1')){ assert_and_click 'krusader_welcome'; + wait_still_screen 3; } # Settings close assert_and_click 'krusader_settings_close';