diff --git a/needles/gnome/apps/apps_menu_cheese-20210222.json b/needles/gnome/apps/apps_menu_cheese-20210222.json deleted file mode 100644 index 5a735f41..00000000 --- a/needles/gnome/apps/apps_menu_cheese-20210222.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "area": [ - { - "type": "match", - "width": 19, - "xpos": 235, - "ypos": 264, - "height": 23 - } - ], - "properties": [], - "tags": [ - "apps_menu_camera" - ] -} diff --git a/needles/gnome/apps/apps_menu_cheese-20210222.png b/needles/gnome/apps/apps_menu_cheese-20210222.png deleted file mode 100644 index 0d9de0fb..00000000 Binary files a/needles/gnome/apps/apps_menu_cheese-20210222.png and /dev/null differ diff --git a/needles/gnome/apps/apps_run_cheese-20200117.json b/needles/gnome/apps/apps_run_cheese-20200117.json deleted file mode 100644 index 88ad40a9..00000000 --- a/needles/gnome/apps/apps_run_cheese-20200117.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "area": [ - { - "ypos": 41, - "width": 94, - "type": "match", - "height": 20, - "xpos": 279 - } - ], - "properties": [], - "tags": [ - "apps_run_camera" - ] -} diff --git a/needles/gnome/apps/apps_run_cheese-20200117.png b/needles/gnome/apps/apps_run_cheese-20200117.png deleted file mode 100644 index c9ad436e..00000000 Binary files a/needles/gnome/apps/apps_run_cheese-20200117.png and /dev/null differ diff --git a/tests/apps_startstop/gnome/camera.pm b/tests/apps_startstop/gnome/camera.pm index b7338e10..ae2d25a1 100644 --- a/tests/apps_startstop/gnome/camera.pm +++ b/tests/apps_startstop/gnome/camera.pm @@ -12,12 +12,10 @@ 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', 'grant_access']; - if (match_has_tag 'grant_access') { - click_lastmatch; - assert_screen 'apps_run_camera'; - } + # Click the camera access dialog + assert_and_click 'grant_access'; + # Check we see the app run + assert_screen 'apps_run_camera'; # Register application register_application("gnome-snapshot"); # Close the application