[openqa-tests/sam/apps-3] Add tests final 9 core apps




commit 7514ca5f67995820efa98e9bfd71b2cfcc45b810
Author: Sam Thursfield <sam thursfield codethink co uk>
Date:   Wed Oct 12 10:52:00 2022 +0200

    Add tests final 9 core apps
    
    Really this time

 main.pm                           |  9 +++++++++
 tests/app_gnome_logs.pm           | 13 +++++++++++++
 tests/app_gnome_maps.pm           | 13 +++++++++++++
 tests/app_gnome_music.pm          | 13 +++++++++++++
 tests/app_gnome_photos.pm         | 13 +++++++++++++
 tests/app_gnome_software.pm       | 13 +++++++++++++
 tests/app_gnome_system_monitor.pm | 13 +++++++++++++
 tests/app_gnome_text_editor.pm    | 13 +++++++++++++
 tests/app_totem.pm                | 13 +++++++++++++
 tests/app_yelp.pm                 | 13 +++++++++++++
 10 files changed, 126 insertions(+)
---
diff --git a/main.pm b/main.pm
index 7717ad2..0f3c629 100644
--- a/main.pm
+++ b/main.pm
@@ -23,8 +23,17 @@ autotest::loadtest("tests/app_gnome_contacts.pm");
 autotest::loadtest("tests/app_gnome_disk_utility.pm");
 autotest::loadtest("tests/app_gnome_font_viewer.pm");
 autotest::loadtest("tests/app_gnome_weather.pm");
+autotest::loadtest("tests/app_gnome_logs.pm");
+autotest::loadtest("tests/app_gnome_maps.pm");
+autotest::loadtest("tests/app_gnome_music.pm");
+autotest::loadtest("tests/app_gnome_photos.pm");
+autotest::loadtest("tests/app_gnome_software.pm");
+autotest::loadtest("tests/app_gnome_system_monitor.pm");
+autotest::loadtest("tests/app_gnome_text_editor.pm");
 autotest::loadtest("tests/app_nautilus.pm");
 autotest::loadtest("tests/app_settings.pm");
 autotest::loadtest("tests/app_simple_scan.pm");
+autotest::loadtest("tests/app_totem.pm");
+autotest::loadtest("tests/app_yelp.pm");
 
 1;
diff --git a/tests/app_gnome_logs.pm b/tests/app_gnome_logs.pm
new file mode 100644
index 0000000..2584d7c
--- /dev/null
+++ b/tests/app_gnome_logs.pm
@@ -0,0 +1,13 @@
+use base 'app_test';
+use strict;
+use warnings;
+use testapi;
+use gnomeutils;
+
+sub run {
+    start_app('gnome-logs');
+    assert_screen('app_gnome_logs_home', 10);
+    close_app;
+}
+
+1;
diff --git a/tests/app_gnome_maps.pm b/tests/app_gnome_maps.pm
new file mode 100644
index 0000000..900767e
--- /dev/null
+++ b/tests/app_gnome_maps.pm
@@ -0,0 +1,13 @@
+use base 'app_test';
+use strict;
+use warnings;
+use testapi;
+use gnomeutils;
+
+sub run {
+    start_app('gnome-maps');
+    assert_screen('app_gnome_maps_home', 10);
+    close_app;
+}
+
+1;
diff --git a/tests/app_gnome_music.pm b/tests/app_gnome_music.pm
new file mode 100644
index 0000000..b25e64b
--- /dev/null
+++ b/tests/app_gnome_music.pm
@@ -0,0 +1,13 @@
+use base 'app_test';
+use strict;
+use warnings;
+use testapi;
+use gnomeutils;
+
+sub run {
+    start_app('gnome-music');
+    assert_screen('app_gnome_music_home', 10);
+    close_app;
+}
+
+1;
diff --git a/tests/app_gnome_photos.pm b/tests/app_gnome_photos.pm
new file mode 100644
index 0000000..d2ecae8
--- /dev/null
+++ b/tests/app_gnome_photos.pm
@@ -0,0 +1,13 @@
+use base 'app_test';
+use strict;
+use warnings;
+use testapi;
+use gnomeutils;
+
+sub run {
+    start_app('gnome-photos');
+    assert_screen('app_gnome_photos_home', 10);
+    close_app;
+}
+
+1;
diff --git a/tests/app_gnome_software.pm b/tests/app_gnome_software.pm
new file mode 100644
index 0000000..5a20b8f
--- /dev/null
+++ b/tests/app_gnome_software.pm
@@ -0,0 +1,13 @@
+use base 'app_test';
+use strict;
+use warnings;
+use testapi;
+use gnomeutils;
+
+sub run {
+    start_app('gnome-software');
+    assert_screen('app_gnome_software_home', 10);
+    close_app;
+}
+
+1;
diff --git a/tests/app_gnome_system_monitor.pm b/tests/app_gnome_system_monitor.pm
new file mode 100644
index 0000000..5398f46
--- /dev/null
+++ b/tests/app_gnome_system_monitor.pm
@@ -0,0 +1,13 @@
+use base 'app_test';
+use strict;
+use warnings;
+use testapi;
+use gnomeutils;
+
+sub run {
+    start_app('gnome-system-monitor');
+    assert_screen('app_gnome_system_monitor_home', 10);
+    close_app;
+}
+
+1;
diff --git a/tests/app_gnome_text_editor.pm b/tests/app_gnome_text_editor.pm
new file mode 100644
index 0000000..c3cc06a
--- /dev/null
+++ b/tests/app_gnome_text_editor.pm
@@ -0,0 +1,13 @@
+use base 'app_test';
+use strict;
+use warnings;
+use testapi;
+use gnomeutils;
+
+sub run {
+    start_app('gnome-text-editor');
+    assert_screen('app_gnome_text_editor_home', 10);
+    close_app;
+}
+
+1;
diff --git a/tests/app_totem.pm b/tests/app_totem.pm
new file mode 100644
index 0000000..2b63030
--- /dev/null
+++ b/tests/app_totem.pm
@@ -0,0 +1,13 @@
+use base 'app_test';
+use strict;
+use warnings;
+use testapi;
+use gnomeutils;
+
+sub run {
+    start_app('gnome-totem');
+    assert_screen('app_gnome_totem_home', 10);
+    close_app;
+}
+
+1;
diff --git a/tests/app_yelp.pm b/tests/app_yelp.pm
new file mode 100644
index 0000000..d64a064
--- /dev/null
+++ b/tests/app_yelp.pm
@@ -0,0 +1,13 @@
+use base 'app_test';
+use strict;
+use warnings;
+use testapi;
+use gnomeutils;
+
+sub run {
+    start_app('gnome-yelp');
+    assert_screen('app_gnome_yelp_home', 10);
+    close_app;
+}
+
+1;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]