1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-11-30 04:45:59 +00:00

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.
This commit is contained in:
Lukáš Růžička 2025-09-10 15:25:35 +02:00
parent b8f71506f1
commit 46133ad5a3

View File

@ -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.");