mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-28 16:43:09 +00:00
Refresh workaround for occasional FreeIPA web UI cert issue
Investigation suggests that the Firefox certificate validation failure we sometimes get when loading the FreeIPA web UI in the freeipa_webui test module is a race issue in Firefox itself: https://bugzilla.mozilla.org/show_bug.cgi?id=1530429 refreshing the page seems to work around the problem, so let's do that. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
965722e6b3
commit
855e54d8df
@ -43,7 +43,13 @@ 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], 30;
|
assert_screen ["freeipa_webui_login", $user_screen, "firefox_certificate_error"], 30;
|
||||||
|
if (match_has_tag "firefox_certificate_error") {
|
||||||
|
# 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";
|
||||||
|
assert_and_click "firefox_refresh";
|
||||||
|
assert_screen ["freeipa_webui_login", $user_screen], 30;
|
||||||
|
}
|
||||||
wait_still_screen 5;
|
wait_still_screen 5;
|
||||||
# softfail on kerberos ticket bugs meaning we get auto-logged in
|
# softfail on kerberos ticket bugs meaning we get auto-logged in
|
||||||
# as the requested user when we don't expect to be
|
# as the requested user when we don't expect to be
|
||||||
|
16
needles/firefox/firefox_refresh-20190225.json
Normal file
16
needles/firefox/firefox_refresh-20190225.json
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 75,
|
||||||
|
"height": 22,
|
||||||
|
"ypos": 43,
|
||||||
|
"type": "match",
|
||||||
|
"width": 22
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"browser_refresh",
|
||||||
|
"firefox_refresh"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/firefox/firefox_refresh-20190225.png
Normal file
BIN
needles/firefox/firefox_refresh-20190225.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
Loading…
Reference in New Issue
Block a user