mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-22 05:53:09 +00:00
KDE apps: make firefox test handle no 'close tabs' case
Lately Firefox sometimes just closes immediately, it doesn't show the 'close tabs' dialog. So let's make that optional, but check we quit properly. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
af31d4e8ae
commit
74927d154a
@ -17,7 +17,12 @@ sub run {
|
||||
# Close the application
|
||||
send_key 'alt-f4';
|
||||
wait_still_screen 2;
|
||||
assert_and_click 'firefox_close_tabs';
|
||||
# deal with warning screen
|
||||
if (check_screen("firefox_close_tabs", 1)) {
|
||||
click_lastmatch;
|
||||
}
|
||||
wait_still_screen 2;
|
||||
assert_screen 'workspace';
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
|
Loading…
Reference in New Issue
Block a user