[openqa-tests/sam/apps-2] Add tests for 6 more core apps




commit 0d03628c82c632d2c0da1371bb0317710c9ba994
Author: Sam Thursfield <sam thursfield codethink co uk>
Date:   Mon Oct 10 16:31:53 2022 +0200

    Add tests for 6 more core apps
    
    See: https://gitlab.gnome.org/GNOME/openqa-tests/-/issues/4

 main.pm                          |  6 ++++++
 tests/app_gnome_clocks.bst       | 13 +++++++++++++
 tests/app_gnome_connections.bst  | 13 +++++++++++++
 tests/app_gnome_console.bst      | 13 +++++++++++++
 tests/app_gnome_contacts.bst     | 13 +++++++++++++
 tests/app_gnome_disk_utility.bst | 13 +++++++++++++
 tests/app_gnome_font_viewer.bst  | 13 +++++++++++++
 7 files changed, 84 insertions(+)
---
diff --git a/main.pm b/main.pm
index 4bdc9f3..7717ad2 100644
--- a/main.pm
+++ b/main.pm
@@ -16,6 +16,12 @@ autotest::loadtest("tests/app_evince.pm");
 autotest::loadtest("tests/app_gnome_calculator.pm");
 autotest::loadtest("tests/app_gnome_calendar.pm");
 autotest::loadtest("tests/app_gnome_characters.pm");
+autotest::loadtest("tests/app_gnome_clocks.pm");
+autotest::loadtest("tests/app_gnome_connections.pm");
+autotest::loadtest("tests/app_gnome_console.pm");
+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_nautilus.pm");
 autotest::loadtest("tests/app_settings.pm");
diff --git a/tests/app_gnome_clocks.bst b/tests/app_gnome_clocks.bst
new file mode 100644
index 0000000..62cb8f0
--- /dev/null
+++ b/tests/app_gnome_clocks.bst
@@ -0,0 +1,13 @@
+use base 'app_test';
+use strict;
+use warnings;
+use testapi;
+use gnomeutils;
+
+sub run {
+    start_app('gnome-clocks);
+    assert_screen('app_gnome_clocks_home', 10);
+    close_app;
+}
+
+1;
diff --git a/tests/app_gnome_connections.bst b/tests/app_gnome_connections.bst
new file mode 100644
index 0000000..9af72f8
--- /dev/null
+++ b/tests/app_gnome_connections.bst
@@ -0,0 +1,13 @@
+use base 'app_test';
+use strict;
+use warnings;
+use testapi;
+use gnomeutils;
+
+sub run {
+    start_app('gnome-connections');
+    assert_screen('app_gnome_connections_home', 10);
+    close_app;
+}
+
+1;
diff --git a/tests/app_gnome_console.bst b/tests/app_gnome_console.bst
new file mode 100644
index 0000000..2522023
--- /dev/null
+++ b/tests/app_gnome_console.bst
@@ -0,0 +1,13 @@
+use base 'app_test';
+use strict;
+use warnings;
+use testapi;
+use gnomeutils;
+
+sub run {
+    start_app('gnome-console);
+    assert_screen('app_gnome_console_home', 10);
+    close_app;
+}
+
+1;
diff --git a/tests/app_gnome_contacts.bst b/tests/app_gnome_contacts.bst
new file mode 100644
index 0000000..bd50208
--- /dev/null
+++ b/tests/app_gnome_contacts.bst
@@ -0,0 +1,13 @@
+use base 'app_test';
+use strict;
+use warnings;
+use testapi;
+use gnomeutils;
+
+sub run {
+    start_app('gnome-contacts);
+    assert_screen('app_gnome_contacts_home', 10);
+    close_app;
+}
+
+1;
diff --git a/tests/app_gnome_disk_utility.bst b/tests/app_gnome_disk_utility.bst
new file mode 100644
index 0000000..ec9b012
--- /dev/null
+++ b/tests/app_gnome_disk_utility.bst
@@ -0,0 +1,13 @@
+use base 'app_test';
+use strict;
+use warnings;
+use testapi;
+use gnomeutils;
+
+sub run {
+    start_app('gnome-disk-utility);
+    assert_screen('app_gnome_disk_utility_home', 10);
+    close_app;
+}
+
+1;
diff --git a/tests/app_gnome_font_viewer.bst b/tests/app_gnome_font_viewer.bst
new file mode 100644
index 0000000..1ba71f4
--- /dev/null
+++ b/tests/app_gnome_font_viewer.bst
@@ -0,0 +1,13 @@
+use base 'app_test';
+use strict;
+use warnings;
+use testapi;
+use gnomeutils;
+
+sub run {
+    start_app('gnome-font-viewer);
+    assert_screen('app_gnome_font_viewer_home', 10);
+    close_app;
+}
+
+1;


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