mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-11-30 12:56:01 +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:
parent
b8f71506f1
commit
46133ad5a3
@ -25,8 +25,10 @@ sub run {
|
|||||||
# still be visible.
|
# still be visible.
|
||||||
send_key("f11");
|
send_key("f11");
|
||||||
|
|
||||||
# We still need to see the prompt.
|
# We still need to see the prompt. However in a virtual machine,
|
||||||
assert_screen("terminal_prompt");
|
# 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.
|
# But we should not see the panels.
|
||||||
if (check_screen("panel_controls")) {
|
if (check_screen("panel_controls")) {
|
||||||
die("It seems that full screen mode has not been triggered correctly.");
|
die("It seems that full screen mode has not been triggered correctly.");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user