From 7daa4b3dd0fb6f7d4c5b3fcda0c7bec44c75cfcd Mon Sep 17 00:00:00 2001 From: Lukas Ruzicka Date: Mon, 5 Dec 2022 14:03:48 +0100 Subject: [PATCH] Give more time to the needle to avoid failing on delayed start. --- tests/apps_startstop/kde/kmail.pm | 2 +- tests/apps_startstop/kde/kontakt.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/apps_startstop/kde/kmail.pm b/tests/apps_startstop/kde/kmail.pm index b1827c0e..ccb899d4 100644 --- a/tests/apps_startstop/kde/kmail.pm +++ b/tests/apps_startstop/kde/kmail.pm @@ -11,7 +11,7 @@ sub run { # Start the application menu_launch_type 'kmail'; # Cancel Kmail data wizard - assert_and_click 'kde_cancel_button'; + assert_and_click 'kde_cancel_button', timeout => 60; # Sometimes, the Kmail window is shown over the settings window. # If that is the case, assert that Kmail is running and exit. unless (check_screen("kmail_runs")) { diff --git a/tests/apps_startstop/kde/kontakt.pm b/tests/apps_startstop/kde/kontakt.pm index 5eb63883..0ab1df99 100644 --- a/tests/apps_startstop/kde/kontakt.pm +++ b/tests/apps_startstop/kde/kontakt.pm @@ -11,7 +11,7 @@ sub run { # Start the application menu_launch_type 'kontact'; # Get rid of personal data - assert_and_click 'kde_cancel_button'; + assert_and_click 'kde_cancel_button', timeout => 60; if (check_screen("enable_unified_mailboxes", 3)) { assert_and_click "enable_unified_mailboxes"; }