mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 21:43:08 +00:00
desktop_browser: give browser longer to start, but soft fail
This is often failing on KDE on Rawhide ATM, apparently because of a performance regression with software rendering. So let's wait longer for the browser, but soft fail if it takes longer than 45 seconds. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
381a79f06f
commit
75534a30df
@ -36,7 +36,14 @@ sub run {
|
|||||||
# wait out animations
|
# wait out animations
|
||||||
wait_still_screen(stilltime => 4, similarity_level => 45);
|
wait_still_screen(stilltime => 4, similarity_level => 45);
|
||||||
assert_and_click 'browser_launcher';
|
assert_and_click 'browser_launcher';
|
||||||
assert_screen 'browser', 45;
|
unless (check_screen 'browser', 45) {
|
||||||
|
if (check_screen 'browser', 45) {
|
||||||
|
record_soft_failure "Browser start up is very slow - probably https://bugzilla.redhat.com/show_bug.cgi?id=2312900";
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
die "Browser never reached!";
|
||||||
|
}
|
||||||
|
}
|
||||||
# firefox is quite grindy on startup, let it settle
|
# firefox is quite grindy on startup, let it settle
|
||||||
wait_still_screen(stilltime => 5, similarity_level => 45);
|
wait_still_screen(stilltime => 5, similarity_level => 45);
|
||||||
# open a new tab so we don't race with the default page load
|
# open a new tab so we don't race with the default page load
|
||||||
|
Loading…
Reference in New Issue
Block a user