mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-24 23:03:08 +00:00
Give Firefox longer to start
It seems to take a long time sometimes for some reason. Can't pin it down but it's causing test flakes, so let's just let it be. It *may* happen when chrony adjusts the system clock just as Firefox is starting, for some reason. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
23bae35d82
commit
0a4a787c03
@ -21,7 +21,7 @@ sub start_cockpit {
|
|||||||
disable_firefox_studies;
|
disable_firefox_studies;
|
||||||
# run firefox directly in X as root. never do this, kids!
|
# 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";
|
type_string "startx /usr/bin/firefox -width 1024 -height 768 http://localhost:9090\n";
|
||||||
assert_screen "cockpit_login", 30;
|
assert_screen "cockpit_login", 60;
|
||||||
# this happened on early Modular Server composes...
|
# this happened on early Modular Server composes...
|
||||||
record_soft_failure "Unbranded Cockpit" if (match_has_tag "cockpit_login_unbranded");
|
record_soft_failure "Unbranded Cockpit" if (match_has_tag "cockpit_login_unbranded");
|
||||||
wait_still_screen 5;
|
wait_still_screen 5;
|
||||||
|
@ -43,7 +43,7 @@ sub start_webui {
|
|||||||
assert_script_run "sed -i -e 's,enable_xauth=1,enable_xauth=0,g' /usr/bin/startx";
|
assert_script_run "sed -i -e 's,enable_xauth=1,enable_xauth=0,g' /usr/bin/startx";
|
||||||
disable_firefox_studies;
|
disable_firefox_studies;
|
||||||
type_string "startx /usr/bin/firefox -width 1024 -height 768 https://ipa001.domain.local\n";
|
type_string "startx /usr/bin/firefox -width 1024 -height 768 https://ipa001.domain.local\n";
|
||||||
assert_screen ["freeipa_webui_login", $user_screen, "firefox_certificate_error"], 30;
|
assert_screen ["freeipa_webui_login", $user_screen, "firefox_certificate_error"], 60;
|
||||||
if (match_has_tag "firefox_certificate_error") {
|
if (match_has_tag "firefox_certificate_error") {
|
||||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1530429
|
# https://bugzilla.mozilla.org/show_bug.cgi?id=1530429
|
||||||
record_soft_failure "Certificate validation error - likely Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1530429";
|
record_soft_failure "Certificate validation error - likely Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1530429";
|
||||||
|
Loading…
Reference in New Issue
Block a user