mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-25 23:33:07 +00:00
Get more info on failures caused by Firefox certificate issues
We're getting an intermittent case where FreeIPA tests fail because of a web server certificate issue. Click 'Advanced' in Firefox when this happens so we can get a bit more info on the problem. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
8f0108176b
commit
945a93aa05
@ -23,6 +23,13 @@ sub root_console {
|
|||||||
sub post_fail_hook {
|
sub post_fail_hook {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
|
||||||
|
# if we failed at a browser certificate error screen, click to get
|
||||||
|
# more info on the issue
|
||||||
|
if (check_screen 'browser_certificate_error', 3) {
|
||||||
|
assert_and_click 'browser_certificate_error';
|
||||||
|
save_screenshot;
|
||||||
|
}
|
||||||
|
|
||||||
if (check_screen 'emergency_rescue', 3) {
|
if (check_screen 'emergency_rescue', 3) {
|
||||||
my $password = get_var("ROOT_PASSWORD", "weakpassword");
|
my $password = get_var("ROOT_PASSWORD", "weakpassword");
|
||||||
type_string "$password\n";
|
type_string "$password\n";
|
||||||
|
16
needles/firefox/firefox_certificate_error-20190221.json
Normal file
16
needles/firefox/firefox_certificate_error-20190221.json
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 801,
|
||||||
|
"ypos": 506,
|
||||||
|
"width": 75,
|
||||||
|
"height": 19,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"browser_certificate_error",
|
||||||
|
"firefox_certificate_error"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/firefox/firefox_certificate_error-20190221.png
Normal file
BIN
needles/firefox/firefox_certificate_error-20190221.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
Loading…
Reference in New Issue
Block a user