diff --git a/needles/gnome/apps/clocks/clocks_about_displayed-20220815.json b/needles/gnome/apps/clocks/clocks_about_displayed-20220815.json new file mode 100644 index 00000000..32e0db6b --- /dev/null +++ b/needles/gnome/apps/clocks/clocks_about_displayed-20220815.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "clocks_about_displayed" + ], + "area": [ + { + "xpos": 449, + "ypos": 245, + "width": 121, + "height": 126, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/clocks/clocks_about_displayed-20220815.png b/needles/gnome/apps/clocks/clocks_about_displayed-20220815.png new file mode 100644 index 00000000..3f87d86b Binary files /dev/null and b/needles/gnome/apps/clocks/clocks_about_displayed-20220815.png differ diff --git a/needles/gnome/apps/clocks/clocks_alarm_cross_remove-20220815.json b/needles/gnome/apps/clocks/clocks_alarm_cross_remove-20220815.json new file mode 100644 index 00000000..44ec2f96 --- /dev/null +++ b/needles/gnome/apps/clocks/clocks_alarm_cross_remove-20220815.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "clocks_alarm_cross_remove" + ], + "area": [ + { + "xpos": 760, + "ypos": 123, + "width": 20, + "height": 22, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/clocks/clocks_alarm_cross_remove-20220815.png b/needles/gnome/apps/clocks/clocks_alarm_cross_remove-20220815.png new file mode 100644 index 00000000..693f6784 Binary files /dev/null and b/needles/gnome/apps/clocks/clocks_alarm_cross_remove-20220815.png differ diff --git a/needles/gnome/apps/clocks/clocks_timer_paused-20220815.json b/needles/gnome/apps/clocks/clocks_timer_paused-20220815.json new file mode 100644 index 00000000..fed3754e --- /dev/null +++ b/needles/gnome/apps/clocks/clocks_timer_paused-20220815.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "clocks_timer_paused" + ], + "area": [ + { + "xpos": 426, + "ypos": 196, + "width": 172, + "height": 54, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/clocks/clocks_timer_paused-20220815.png b/needles/gnome/apps/clocks/clocks_timer_paused-20220815.png new file mode 100644 index 00000000..88c8487a Binary files /dev/null and b/needles/gnome/apps/clocks/clocks_timer_paused-20220815.png differ diff --git a/tests/applications/clocks/about.pm b/tests/applications/clocks/about.pm index 5aede460..4bda6811 100644 --- a/tests/applications/clocks/about.pm +++ b/tests/applications/clocks/about.pm @@ -16,18 +16,7 @@ sub run { assert_screen("clocks_about_displayed"); assert_and_click("gnome_button_credits"); assert_screen("clocks_credits_shown"); - send_key("esc"); - # Use the menu to see the shortcuts - assert_and_click("gnome_burger_menu"); - assert_and_click("clocks_menu_shortcuts"); - assert_screen("clocks_shortcuts_shown"); - send_key("esc"); - - # Use the menu to see the Help - assert_and_click("gnome_burger_menu"); - assert_and_click("clocks_menu_help"); - assert_screen("clocks_help_shown"); } sub test_flags { diff --git a/tests/applications/clocks/help.pm b/tests/applications/clocks/help.pm new file mode 100644 index 00000000..8f29e35a --- /dev/null +++ b/tests/applications/clocks/help.pm @@ -0,0 +1,24 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# I as a user want to be able use the menu to enter further functions. + +sub run { + my $self = shift; + + # Click on the burger menu and display Help. + assert_and_click("gnome_burger_menu"); + assert_and_click("clocks_menu_help"); + assert_screen("clocks_help_shown"); +} + +sub test_flags { + # Rollback after test is over. + return {always_rollback => 1}; +} + +1; + +# vim: set sw=4 et: diff --git a/tests/applications/clocks/shortcuts.pm b/tests/applications/clocks/shortcuts.pm new file mode 100644 index 00000000..29124cf5 --- /dev/null +++ b/tests/applications/clocks/shortcuts.pm @@ -0,0 +1,24 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# I as a user want to be able use the menu to enter further functions. + +sub run { + my $self = shift; + + # Use the menu to see the shortcuts + assert_and_click("gnome_burger_menu"); + assert_and_click("clocks_menu_shortcuts"); + assert_screen("clocks_shortcuts_shown"); +} + +sub test_flags { + # Rollback after test is over. + return {always_rollback => 1}; +} + +1; + +# vim: set sw=4 et: