1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 02:13:08 +00:00

Revert a change accidentally included in previous commit

So it can be re-applied separately with correct message.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-05-03 13:13:25 -07:00
parent 954b6f90bc
commit c0255c5682

View File

@ -37,16 +37,9 @@ sub start_cockpit {
sub select_cockpit_update {
# This method navigates to to the updates screen
# 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 'up' to scroll
# the sidebar to the bottom if necessary
assert_screen ["cockpit_software_updates", "cockpit_search"], 120;
assert_screen ["cockpit_software_updates", "cockpit_leftbar_scroll"], 120;
click_lastmatch;
if (match_has_tag "cockpit_search") {
send_key "up";
assert_and_click "cockpit_software_updates";
}
assert_and_click "cockpit_software_updates" if (match_has_tag "cockpit_leftbar_scroll");
# wait for the updates to download
assert_screen 'cockpit_updates_check', 300;
}