1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 15:23:08 +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:
Adam Williamson 2019-02-21 12:15:34 -08:00
parent 8f0108176b
commit 945a93aa05
3 changed files with 23 additions and 0 deletions

View File

@ -23,6 +23,13 @@ sub root_console {
sub post_fail_hook {
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) {
my $password = get_var("ROOT_PASSWORD", "weakpassword");
type_string "$password\n";

View File

@ -0,0 +1,16 @@
{
"area": [
{
"xpos": 801,
"ypos": 506,
"width": 75,
"height": 19,
"type": "match"
}
],
"properties": [],
"tags": [
"browser_certificate_error",
"firefox_certificate_error"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB