1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-21 21:43:08 +00:00

Update cockpit needles and select_cockpit_update for 220

In Cockpit 220, the Updates entry is off the bottom of the screen
so we need to scroll the left bar down before we can click it.
Also update some other needles.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2020-05-30 09:33:06 -07:00
parent ce584750b4
commit 2e21cfac15
15 changed files with 122 additions and 1 deletions

View File

@ -39,7 +39,9 @@ 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_and_click "cockpit_software_updates", '', 120; assert_screen ["cockpit_software_updates", "cockpit_leftbar_scroll"], 120;
click_lastmatch;
assert_and_click "cockpit_software_updates" if (match_has_tag "cockpit_leftbar_scroll");
# wait for the updates to download # wait for the updates to download
assert_screen 'cockpit_updates_check', 300; assert_screen 'cockpit_updates_check', 300;
} }

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 507,
"ypos": 360,
"height": 19,
"width": 71,
"type": "match"
}
],
"properties": [],
"tags": [
"autoupdate_planned_day"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 704,
"type": "match",
"height": 18,
"width": 50,
"ypos": 359
}
],
"properties": [],
"tags": [
"autoupdate_planned_time"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 818,
"ypos": 391,
"height": 18,
"width": 67,
"type": "match"
}
],
"properties": [],
"tags": [
"cockpit_updates_all_install"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

View File

@ -0,0 +1,22 @@
{
"area": [
{
"xpos": 741,
"type": "match",
"width": 151,
"height": 18,
"ypos": 568
},
{
"type": "match",
"height": 13,
"width": 48,
"ypos": 570,
"xpos": 655
}
],
"properties": [],
"tags": [
"cockpit_join_complete"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"type": "match",
"height": 14,
"width": 163,
"ypos": 416,
"xpos": 388
}
],
"properties": [],
"tags": [
"cockpit_logs_detail"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"ypos": 455,
"height": 17,
"width": 76,
"type": "match",
"xpos": 269
}
],
"properties": [],
"tags": [
"cockpit_services_entry"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB