Use existing needle for dismissing KDE update notification

@lruzicka added this to the KDE app tests in 71c4e273, but there
was no need for a new needle as I'd already done the same thing
in the desktop updates tests; let's just use the same needle.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2019-07-03 08:39:01 -07:00
parent 71c4e273ef
commit de4a58438b
5 changed files with 2 additions and 32 deletions

View File

@ -1,15 +0,0 @@
{
"properties": [],
"tags": [
"kde_updates_available"
],
"area": [
{
"xpos": 957,
"ypos": 666,
"width": 42,
"height": 41,
"type": "match"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 568 KiB

View File

@ -1,15 +0,0 @@
{
"properties": [],
"tags": [
"kde_updates_available_close"
],
"area": [
{
"xpos": 986,
"ypos": 644,
"width": 14,
"height": 15,
"type": "match"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 568 KiB

View File

@ -34,8 +34,8 @@ sub run {
# to get rid of that, because it can be later displayed
# over some applications preventing OpenQA to find
# correct buttons, which creates false positives.
if (check_screen('kde_updates_available')) {
assert_and_click "kde_updates_available_close";
if (check_screen "desktop_update_notification_popup", 10) {
assert_and_click "desktop_update_notification_popup";
}
}