mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-25 14:41:27 +00:00
desktop_update: handle multiple KDE update available notifications
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
9078bca871
commit
dfce3e522d
@ -31,8 +31,12 @@ sub run {
|
|||||||
# run the updater
|
# run the updater
|
||||||
if ($desktop eq 'kde') {
|
if ($desktop eq 'kde') {
|
||||||
# if the permanent pop-up notification appeared, get rid of
|
# if the permanent pop-up notification appeared, get rid of
|
||||||
# it, as it blocks the refresh button...
|
# it, as it blocks the refresh button. For extra fun, we can
|
||||||
if (check_screen "desktop_update_notification_popup", 10) {
|
# get *more than one* of them, so just keep clicking till
|
||||||
|
# they're all gone, up to 10 at least
|
||||||
|
my $count = 10;
|
||||||
|
while (check_screen "desktop_update_notification_popup", 10 && $count > 0) {
|
||||||
|
$count -=1;
|
||||||
assert_and_click "desktop_update_notification_popup";
|
assert_and_click "desktop_update_notification_popup";
|
||||||
}
|
}
|
||||||
# KDE team tells me the 'preferred' update method is the
|
# KDE team tells me the 'preferred' update method is the
|
||||||
|
Loading…
Reference in New Issue
Block a user