diff --git a/needles/gnome/apps/gnome-panel/panel_button_dndisturb-20250716.json b/needles/gnome/apps/gnome-panel/panel_button_dndisturb-20250716.json new file mode 100644 index 00000000..e47f1bd2 --- /dev/null +++ b/needles/gnome/apps/gnome-panel/panel_button_dndisturb-20250716.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 840, + "ypos": 221, + "width": 126, + "height": 19, + "type": "match" + } + ], + "properties": [], + "tags": [ + "panel_button_dndisturb" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-panel/panel_button_dndisturb-20250716.png b/needles/gnome/apps/gnome-panel/panel_button_dndisturb-20250716.png new file mode 100644 index 00000000..aa93ac9d Binary files /dev/null and b/needles/gnome/apps/gnome-panel/panel_button_dndisturb-20250716.png differ diff --git a/needles/gnome/apps/gnome-panel/panel_button_dndisturb_active-20250716.json b/needles/gnome/apps/gnome-panel/panel_button_dndisturb_active-20250716.json new file mode 100644 index 00000000..9d1daa9f --- /dev/null +++ b/needles/gnome/apps/gnome-panel/panel_button_dndisturb_active-20250716.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 839, + "ypos": 222, + "width": 129, + "height": 21, + "type": "match" + } + ], + "properties": [], + "tags": [ + "panel_button_dndisturb_active" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-panel/panel_button_dndisturb_active-20250716.png b/needles/gnome/apps/gnome-panel/panel_button_dndisturb_active-20250716.png new file mode 100644 index 00000000..0ed5e7f4 Binary files /dev/null and b/needles/gnome/apps/gnome-panel/panel_button_dndisturb_active-20250716.png differ diff --git a/needles/gnome/apps/gnome-panel/panel_panel_shown.json b/needles/gnome/apps/gnome-panel/panel_panel_shown.json deleted file mode 100644 index e5e86062..00000000 --- a/needles/gnome/apps/gnome-panel/panel_panel_shown.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "properties": [], - "tags": [ - "panel_panel_shown" - ], - "area": [ - { - "xpos": 322, - "ypos": 295, - "width": 77, - "height": 88, - "type": "match" - } - ] -} \ No newline at end of file diff --git a/needles/gnome/apps/gnome-panel/panel_panel_shown.png b/needles/gnome/apps/gnome-panel/panel_panel_shown.png deleted file mode 100644 index 0f38cf51..00000000 Binary files a/needles/gnome/apps/gnome-panel/panel_panel_shown.png and /dev/null differ diff --git a/tests/applications/gnome-panel/timedate.pm b/tests/applications/gnome-panel/timedate.pm index 9dfd83fd..1498ef7f 100644 --- a/tests/applications/gnome-panel/timedate.pm +++ b/tests/applications/gnome-panel/timedate.pm @@ -57,8 +57,10 @@ sub run { # Check that if we click on Do not disturb, # the slider moves and a silent regime indicator # appears on the top panel. - assert_and_click("panel_datetime"); - assert_screen("panel_panel_shown"); + assert_and_click("panel_controls"); + assert_and_click("panel_button_dndisturb"); + assert_screen("panel_button_dndisturb_active"); + } sub test_flags {