diff --git a/needles/kde/apps/lcalc_runs-20210304.json b/needles/kde/apps/lcalc_runs-20210304.json new file mode 100644 index 00000000..bee1589a --- /dev/null +++ b/needles/kde/apps/lcalc_runs-20210304.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 619, + "ypos": 77, + "width": 19, + "height": 17, + "type": "match" + } + ], + "properties": [], + "tags": [ + "lcalc_runs" + ] +} diff --git a/needles/kde/apps/lcalc_runs-20210304.png b/needles/kde/apps/lcalc_runs-20210304.png new file mode 100644 index 00000000..e775e5fd Binary files /dev/null and b/needles/kde/apps/lcalc_runs-20210304.png differ diff --git a/needles/kde/apps/limpress_runs-20210304.json b/needles/kde/apps/limpress_runs-20210304.json new file mode 100644 index 00000000..13a5059a --- /dev/null +++ b/needles/kde/apps/limpress_runs-20210304.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 208, + "ypos": 205, + "width": 144, + "height": 74, + "type": "match" + } + ], + "properties": [], + "tags": [ + "limpress_runs" + ] +} diff --git a/needles/kde/apps/limpress_runs-20210304.png b/needles/kde/apps/limpress_runs-20210304.png new file mode 100644 index 00000000..3490a8b3 Binary files /dev/null and b/needles/kde/apps/limpress_runs-20210304.png differ diff --git a/needles/kde/apps/lwriter_runs-20210304.json b/needles/kde/apps/lwriter_runs-20210304.json new file mode 100644 index 00000000..aa211ea1 --- /dev/null +++ b/needles/kde/apps/lwriter_runs-20210304.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 510, + "ypos": 114, + "width": 88, + "height": 24, + "type": "match" + } + ], + "properties": [], + "tags": [ + "lwriter_runs" + ] +} diff --git a/needles/kde/apps/lwriter_runs-20210304.png b/needles/kde/apps/lwriter_runs-20210304.png new file mode 100644 index 00000000..b224f9f0 Binary files /dev/null and b/needles/kde/apps/lwriter_runs-20210304.png differ diff --git a/tests/apps_startstop/kde/cwords.pm b/tests/apps_startstop/kde/cwords.pm deleted file mode 100644 index 9402fb1b..00000000 --- a/tests/apps_startstop/kde/cwords.pm +++ /dev/null @@ -1,25 +0,0 @@ -use base "installedtest"; -use strict; -use testapi; -use utils; - -# This test checks that Calligra Words starts. - -sub run { - my $self = shift; - - menu_launch_type 'calligra words'; - # Check that it is started - assert_screen 'cwords_runs'; - # Close the application - quit_with_shortcut(); -} - -sub test_flags { - return {always_rollback => 1}; -} - - -1; - -# vim: set sw=4 et: diff --git a/tests/apps_startstop/kde/csheets.pm b/tests/apps_startstop/kde/lcalc.pm similarity index 63% rename from tests/apps_startstop/kde/csheets.pm rename to tests/apps_startstop/kde/lcalc.pm index 68b38a89..0dab1b8f 100644 --- a/tests/apps_startstop/kde/csheets.pm +++ b/tests/apps_startstop/kde/lcalc.pm @@ -3,13 +3,14 @@ use strict; use testapi; use utils; -# This test checks that Calligra Sheets starts. +# This test checks that LibreOffice Calc starts. sub run { my $self = shift; - menu_launch_type 'calligra sheets'; + # Start the application + menu_launch_type 'libreoffice calc'; # Check that it is started - assert_screen 'csheets_runs'; + assert_screen 'lcalc_runs'; # Close the application quit_with_shortcut(); } diff --git a/tests/apps_startstop/kde/limpress.pm b/tests/apps_startstop/kde/limpress.pm new file mode 100644 index 00000000..3d322b42 --- /dev/null +++ b/tests/apps_startstop/kde/limpress.pm @@ -0,0 +1,26 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# This test checks that LibreOffice Impress starts. + +sub run { + my $self = shift; + # Start the application + menu_launch_type 'libreoffice impress'; + # Check that it is started + assert_screen 'limpress_runs'; + # Close the template chooser, then the application + send_key 'alt-f4'; + quit_with_shortcut(); +} + +sub test_flags { + return {always_rollback => 1}; +} + + +1; + +# vim: set sw=4 et: diff --git a/tests/apps_startstop/kde/cstage.pm b/tests/apps_startstop/kde/lwriter.pm similarity index 60% rename from tests/apps_startstop/kde/cstage.pm rename to tests/apps_startstop/kde/lwriter.pm index 4b596707..780e17cf 100644 --- a/tests/apps_startstop/kde/cstage.pm +++ b/tests/apps_startstop/kde/lwriter.pm @@ -3,14 +3,14 @@ use strict; use testapi; use utils; -# This test checks that Calligra Stage starts. +# This test checks that LibreOffice Writer starts. sub run { my $self = shift; - menu_launch_type 'calligra stage'; + # Start the application + menu_launch_type 'libreoffice writer'; # Check that it is started - assert_screen 'cstage_runs'; - # Close the application + assert_screen 'lwriter_runs'; quit_with_shortcut(); }