1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 02:13:08 +00:00

deduplicate needle: grant_access / gnome_allow

these were duplicates. In GNOME 46-beta this dialog seems to be
in 'light mode' at least some of the time, so we'll keep the
'light mode' gnome_allow needle we added for Snapshot but
rename it and change its tags. We'll wipe the 'dark mode'
gnome_allow because it should be just the same as the existing
grant_access needle. The two tests that used gnome_allow are
changed to use grant_access.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-02-21 08:12:32 -08:00
parent 0aba13ec8f
commit d85f199f13
6 changed files with 5 additions and 21 deletions

View File

@ -1,16 +0,0 @@
{
"area": [
{
"height": 14,
"width": 43,
"type": "match",
"match": 92,
"ypos": 469,
"xpos": 613
}
],
"properties": [],
"tags": [
"gnome_allow"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 480 KiB

View File

@ -10,6 +10,6 @@
],
"properties": [],
"tags": [
"gnome_allow"
"grant_access"
]
}
}

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -15,7 +15,7 @@ sub run {
assert_and_click('vinagre_enable_shortcuts');
sleep 2;
}
assert_and_click('gnome_allow');
assert_and_click('grant_access');
assert_and_click('vinagre_fullscreen');
}

View File

@ -13,8 +13,8 @@ sub run {
# Start the application
start_with_launcher('apps_menu_camera');
# Check that is started or we see the camera access dialog
assert_screen ['apps_run_camera', 'gnome_allow'];
if (match_has_tag 'gnome_allow') {
assert_screen ['apps_run_camera', 'grant_access'];
if (match_has_tag 'grant_access') {
click_lastmatch;
assert_screen 'apps_run_camera';
}