Fix/8.7 release batch 1 (#131)

* Add new prerelease needle

* remove incorrect prerelease needle

* Fix cockpit tests for FF100 and later

Authored-by: lumarel <lumarel@users.noreply.github.com>
This commit is contained in:
Lukas Magauer 2022-10-14 16:12:27 +02:00 committed by GitHub
parent cd7de7999e
commit 9cabf0e6db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
24 changed files with 114 additions and 87 deletions

View File

@ -39,9 +39,16 @@ sub start_cockpit {
sub select_cockpit_update { sub select_cockpit_update {
# This method navigates to to the updates screen # 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; 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 # wait for the updates to download
assert_screen 'cockpit_updates_check', 300; assert_screen 'cockpit_updates_check', 300;
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

View File

@ -1,11 +1,11 @@
{ {
"area": [ "area": [
{ {
"ypos": 705,
"height": 19,
"xpos": 674,
"type": "match", "type": "match",
"width": 343 "ypos": 594,
"xpos": 647,
"width": 124,
"height": 19
} }
], ],
"properties": [], "properties": [],

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"height": 55,
"type": "match",
"width": 43,
"xpos": 196,
"ypos": 711
}
],
"properties": [],
"tags": [
"cockpit_leftbar_scroll"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"width": 48,
"xpos": 922,
"type": "match",
"ypos": 508,
"height": 19
}
],
"properties": [],
"tags": [
"cockpit_updates_auto"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

View File

@ -1,16 +0,0 @@
{
"area": [
{
"ypos": 694,
"width": 43,
"height": 55,
"xpos": 196,
"type": "match"
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"cockpit_leftbar_scroll"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"height": 77,
"width": 232,
"ypos": 200,
"xpos": 572,
"type": "match"
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"cockpit_login"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"ypos": 221,
"xpos": 572,
"type": "match",
"height": 77,
"width": 232
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"cockpit_login"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"xpos": 21,
"ypos": 207,
"width": 174,
"height": 27,
"type": "match"
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"cockpit_search"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"height": 22,
"width": 62,
"ypos": 689,
"xpos": 83,
"type": "match"
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"cockpit_software_updates"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

View File

@ -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"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

View 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"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"width": 110,
"height": 23,
"type": "match",
"xpos": 607,
"ypos": 196
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"firefox_close_tabs"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB