Fix cockpit tests for FF100 and later
@ -39,9 +39,16 @@ sub start_cockpit {
|
||||
|
||||
sub select_cockpit_update {
|
||||
# This method navigates to to the updates screen
|
||||
assert_screen ["cockpit_software_updates", "cockpit_leftbar_scroll"], 120;
|
||||
# From Firefox 100 on, we get 'adaptive scrollbars', which means
|
||||
# the scrollbar is just invisible unless you moved the mouse
|
||||
# recently. So we click in the search box and hit 'down' to scroll
|
||||
# the sidebar as often as needed to show the button
|
||||
assert_screen ["cockpit_software_updates", "cockpit_search"], 120;
|
||||
click_lastmatch;
|
||||
assert_and_click "cockpit_software_updates" if (match_has_tag "cockpit_leftbar_scroll");
|
||||
if (match_has_tag "cockpit_search") {
|
||||
send_key_until_needlematch("cockpit_software_updates", "down", 10);
|
||||
assert_and_click "cockpit_software_updates";
|
||||
}
|
||||
# wait for the updates to download
|
||||
assert_screen 'cockpit_updates_check', 300;
|
||||
}
|
||||
|
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 55,
|
||||
"type": "match",
|
||||
"width": 43,
|
||||
"xpos": 196,
|
||||
"ypos": 711
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"cockpit_leftbar_scroll"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 72 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"width": 48,
|
||||
"xpos": 922,
|
||||
"type": "match",
|
||||
"ypos": 508,
|
||||
"height": 19
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"cockpit_updates_auto"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 53 KiB |
@ -1,16 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"ypos": 694,
|
||||
"width": 43,
|
||||
"height": 55,
|
||||
"xpos": 196,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"ENV-DISTRI-rocky",
|
||||
"cockpit_leftbar_scroll"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 74 KiB |
16
needles/cockpit/rocky-cockpit_login-20221006.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 77,
|
||||
"width": 232,
|
||||
"ypos": 200,
|
||||
"xpos": 572,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"ENV-DISTRI-rocky",
|
||||
"cockpit_login"
|
||||
]
|
||||
}
|
BIN
needles/cockpit/rocky-cockpit_login-20221006.png
Normal file
After Width: | Height: | Size: 228 KiB |
@ -0,0 +1,16 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"ypos": 221,
|
||||
"xpos": 572,
|
||||
"type": "match",
|
||||
"height": 77,
|
||||
"width": 232
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"ENV-DISTRI-rocky",
|
||||
"cockpit_login"
|
||||
]
|
||||
}
|
BIN
needles/cockpit/rocky-cockpit_login-previous_tabs-20221006.png
Normal file
After Width: | Height: | Size: 208 KiB |
16
needles/cockpit/rocky-cockpit_search-20221006.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 21,
|
||||
"ypos": 207,
|
||||
"width": 174,
|
||||
"height": 27,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"ENV-DISTRI-rocky",
|
||||
"cockpit_search"
|
||||
]
|
||||
}
|
BIN
needles/cockpit/rocky-cockpit_search-20221006.png
Normal file
After Width: | Height: | Size: 76 KiB |
16
needles/cockpit/rocky-cockpit_software_updates-20221008.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 22,
|
||||
"width": 62,
|
||||
"ypos": 689,
|
||||
"xpos": 83,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"ENV-DISTRI-rocky",
|
||||
"cockpit_software_updates"
|
||||
]
|
||||
}
|
BIN
needles/cockpit/rocky-cockpit_software_updates-20221008.png
Normal file
After Width: | Height: | Size: 80 KiB |
@ -1,34 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"width": 53,
|
||||
"height": 22,
|
||||
"click_point": {
|
||||
"xpos": 24.5,
|
||||
"ypos": 11.5
|
||||
},
|
||||
"type": "match",
|
||||
"xpos": 909,
|
||||
"ypos": 447
|
||||
},
|
||||
{
|
||||
"xpos": 262,
|
||||
"ypos": 448,
|
||||
"width": 145,
|
||||
"height": 20,
|
||||
"type": "match"
|
||||
},
|
||||
{
|
||||
"xpos": 408,
|
||||
"ypos": 448,
|
||||
"width": 75,
|
||||
"height": 20,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"ENV-DISTRI-rocky",
|
||||
"cockpit_updates_auto"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 56 KiB |
20
needles/cockpit/rocky-cockpit_updates_auto-20221008.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 264,
|
||||
"ypos": 447,
|
||||
"width": 716,
|
||||
"height": 21,
|
||||
"type": "match",
|
||||
"click_point": {
|
||||
"xpos": 681,
|
||||
"ypos": 11.5
|
||||
}
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"ENV-DISTRI-rocky",
|
||||
"cockpit_updates_auto"
|
||||
]
|
||||
}
|
BIN
needles/cockpit/rocky-cockpit_updates_auto-20221008.png
Normal file
After Width: | Height: | Size: 48 KiB |
16
needles/firefox/rocky-firefox_close_tabs-20221006.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"width": 110,
|
||||
"height": 23,
|
||||
"type": "match",
|
||||
"xpos": 607,
|
||||
"ypos": 196
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"ENV-DISTRI-rocky",
|
||||
"firefox_close_tabs"
|
||||
]
|
||||
}
|
BIN
needles/firefox/rocky-firefox_close_tabs-20221006.png
Normal file
After Width: | Height: | Size: 159 KiB |