start_cockpit: wait a bit longer for login screen

Current tests sometimes seem to fail because X takes quite a
while to come up for some reason. I can't figure out why, and
this isn't properly a failure of the test (starting the X server
is an implementation detail), so let's just wait a bit longer
for now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2019-07-25 14:55:07 -07:00
parent 2a8acb6acb
commit 0206324115
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ sub start_cockpit {
disable_firefox_studies;
# run firefox directly in X as root. never do this, kids!
type_string "startx /usr/bin/firefox -width 1024 -height 768 http://localhost:9090\n";
assert_screen "cockpit_login", 30;
assert_screen "cockpit_login", 45;
# this happened on early Modular Server composes...
record_soft_failure "Unbranded Cockpit" if (match_has_tag "cockpit_login_unbranded");
# login screen has a flashing cursor so screen is not still at level 47