From 46133ad5a3c9597d6f3b86a9ce848658abbc37a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20R=C5=AF=C5=BEi=C4=8Dka?= Date: Wed, 10 Sep 2025 15:25:35 +0200 Subject: [PATCH] Prolong wait time for flscr enabled in terminal In a virtual machine, it takes a couple of seconds for the upper panel to go away and show the terminal prompt. Let's make it wait 60 seconds to be absolutely sure. --- tests/applications/navigation/full_screen.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/applications/navigation/full_screen.pm b/tests/applications/navigation/full_screen.pm index f6879b0a..21eaffb7 100644 --- a/tests/applications/navigation/full_screen.pm +++ b/tests/applications/navigation/full_screen.pm @@ -25,8 +25,10 @@ sub run { # still be visible. send_key("f11"); - # We still need to see the prompt. - assert_screen("terminal_prompt"); + # We still need to see the prompt. However in a virtual machine, + # it sometimes takes some time before the prompt appears. Let's + # wait for it some more time. + assert_screen("terminal_prompt", timeout => 60); # But we should not see the panels. if (check_screen("panel_controls")) { die("It seems that full screen mode has not been triggered correctly.");