mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-23 19:28:29 +00:00
Click off updates notification if it appears.
This commit is contained in:
parent
d538959011
commit
71c4e273ef
15
needles/kde/apps/kde_updates_available.json
Normal file
15
needles/kde/apps/kde_updates_available.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"kde_updates_available"
|
||||
],
|
||||
"area": [
|
||||
{
|
||||
"xpos": 957,
|
||||
"ypos": 666,
|
||||
"width": 42,
|
||||
"height": 41,
|
||||
"type": "match"
|
||||
}
|
||||
]
|
||||
}
|
BIN
needles/kde/apps/kde_updates_available.png
Normal file
BIN
needles/kde/apps/kde_updates_available.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 568 KiB |
15
needles/kde/apps/kde_updates_available_close.json
Normal file
15
needles/kde/apps/kde_updates_available_close.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"kde_updates_available_close"
|
||||
],
|
||||
"area": [
|
||||
{
|
||||
"xpos": 986,
|
||||
"ypos": 644,
|
||||
"width": 14,
|
||||
"height": 15,
|
||||
"type": "match"
|
||||
}
|
||||
]
|
||||
}
|
BIN
needles/kde/apps/kde_updates_available_close.png
Normal file
BIN
needles/kde/apps/kde_updates_available_close.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 568 KiB |
@ -30,6 +30,13 @@ sub run {
|
||||
wait_still_screen 2;
|
||||
# Close the application
|
||||
assert_and_click "kde_ok";
|
||||
# If Updates Available notification is shown, we want
|
||||
# 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";
|
||||
}
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
|
Loading…
Reference in New Issue
Block a user