Whoops...actually decrease the counter

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2019-07-16 14:05:00 -07:00
parent 34321dae8f
commit 43417f925c

View File

@ -100,6 +100,7 @@ sub run {
# KDE showing multiple notifications # KDE showing multiple notifications
my $count = 10; my $count = 10;
while (check_screen "desktop_update_notification", 5 && $count > 0) { while (check_screen "desktop_update_notification", 5 && $count > 0) {
$count -= 1;
assert_and_click "desktop_update_notification"; assert_and_click "desktop_update_notification";
} }
} }