mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-25 15:23:08 +00:00
browser: drop download save screen handling
Firefox 97 is now stable on all releases, so we can forget about handling browser_download_save and just assume download will happen automatically. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
428b022255
commit
4d049f8f7d
@ -1,16 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"height": 14,
|
|
||||||
"type": "match",
|
|
||||||
"ypos": 318,
|
|
||||||
"width": 59,
|
|
||||||
"xpos": 95
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"browser_download_save",
|
|
||||||
"firefox_download_save"
|
|
||||||
]
|
|
||||||
}
|
|
Binary file not shown.
Before Width: | Height: | Size: 138 KiB |
@ -1,16 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"type": "match",
|
|
||||||
"ypos": 398,
|
|
||||||
"width": 60,
|
|
||||||
"xpos": 332,
|
|
||||||
"height": 13
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"browser_download_save",
|
|
||||||
"firefox_download_save"
|
|
||||||
]
|
|
||||||
}
|
|
Binary file not shown.
Before Width: | Height: | Size: 171 KiB |
@ -1,16 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"type": "match",
|
|
||||||
"width": 55,
|
|
||||||
"xpos": 332,
|
|
||||||
"height": 13,
|
|
||||||
"ypos": 415
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"browser_download_save",
|
|
||||||
"firefox_download_save"
|
|
||||||
]
|
|
||||||
}
|
|
Binary file not shown.
Before Width: | Height: | Size: 181 KiB |
@ -49,16 +49,6 @@ sub run {
|
|||||||
type_very_safely "https://kernel.org\n";
|
type_very_safely "https://kernel.org\n";
|
||||||
assert_and_click "browser_kernelorg_patch";
|
assert_and_click "browser_kernelorg_patch";
|
||||||
wait_still_screen(stilltime=>2, similarity_level=>45);
|
wait_still_screen(stilltime=>2, similarity_level=>45);
|
||||||
# FIXME: Firefox 97+ don't show the "choose what to do" popup
|
|
||||||
# by default, they just download the file. Once 97 is stable
|
|
||||||
# on all releases we can drop the browser_download_save handling
|
|
||||||
assert_screen ["browser_download_save", "browser_download_complete"];
|
|
||||||
if (match_has_tag("browser_download_save")) {
|
|
||||||
click_lastmatch;
|
|
||||||
sleep 2;
|
|
||||||
send_key 'ret';
|
|
||||||
wait_still_screen(stilltime=>3, similarity_level=>45);
|
|
||||||
}
|
|
||||||
# browsers do...something...when the download completes, and we
|
# browsers do...something...when the download completes, and we
|
||||||
# expect there's a single click to make it go away and return
|
# expect there's a single click to make it go away and return
|
||||||
# browser to a state where we can open a new tab
|
# browser to a state where we can open a new tab
|
||||||
|
Loading…
Reference in New Issue
Block a user