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:
parent
71c4e273ef
commit
de4a58438b
@ -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 |
@ -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 |
@ -34,8 +34,8 @@ sub run {
|
|||||||
# to get rid of that, because it can be later displayed
|
# to get rid of that, because it can be later displayed
|
||||||
# over some applications preventing OpenQA to find
|
# over some applications preventing OpenQA to find
|
||||||
# correct buttons, which creates false positives.
|
# correct buttons, which creates false positives.
|
||||||
if (check_screen('kde_updates_available')) {
|
if (check_screen "desktop_update_notification_popup", 10) {
|
||||||
assert_and_click "kde_updates_available_close";
|
assert_and_click "desktop_update_notification_popup";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user