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




commit 14f140f22dd7974745854e932213104d54579535
Author: Sam Thursfield <sam thursfield codethink co uk>
Date:   Mon Oct 10 15:38:36 2022 +0200

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

 tests/app_baobab.pm           | 13 +++++++++++++
 tests/app_eog.pm              | 13 +++++++++++++
 tests/app_evince.pm           | 13 +++++++++++++
 tests/app_gnome_calculator.pm | 13 +++++++++++++
 tests/app_gnome_calendar.pm   | 13 +++++++++++++
 tests/app_gnome_characters.pm | 13 +++++++++++++
 6 files changed, 78 insertions(+)
---
diff --git a/tests/app_baobab.pm b/tests/app_baobab.pm
new file mode 100644
index 0000000..d82914d
--- /dev/null
+++ b/tests/app_baobab.pm
@@ -0,0 +1,13 @@
+use base 'app_test';
+use strict;
+use warnings;
+use testapi;
+use gnomeutils;
+
+sub run {
+    start_app('baobab');
+    assert_screen('app_baobab_home', 10);
+    close_app;
+}
+
+1;
diff --git a/tests/app_eog.pm b/tests/app_eog.pm
new file mode 100644
index 0000000..ed83b8d
--- /dev/null
+++ b/tests/app_eog.pm
@@ -0,0 +1,13 @@
+use base 'app_test';
+use strict;
+use warnings;
+use testapi;
+use gnomeutils;
+
+sub run {
+    start_app('eog');
+    assert_screen('app_eog_home', 10);
+    close_app;
+}
+
+1;
diff --git a/tests/app_evince.pm b/tests/app_evince.pm
new file mode 100644
index 0000000..705ce04
--- /dev/null
+++ b/tests/app_evince.pm
@@ -0,0 +1,13 @@
+use base 'app_test';
+use strict;
+use warnings;
+use testapi;
+use gnomeutils;
+
+sub run {
+    start_app('evince');
+    assert_screen('app_evince_home', 10);
+    close_app;
+}
+
+1;
diff --git a/tests/app_gnome_calculator.pm b/tests/app_gnome_calculator.pm
new file mode 100644
index 0000000..400267e
--- /dev/null
+++ b/tests/app_gnome_calculator.pm
@@ -0,0 +1,13 @@
+use base 'app_test';
+use strict;
+use warnings;
+use testapi;
+use gnomeutils;
+
+sub run {
+    start_app('gnome-calculator');
+    assert_screen('app_gnome_calculator_home', 10);
+    close_app;
+}
+
+1;
diff --git a/tests/app_gnome_calendar.pm b/tests/app_gnome_calendar.pm
new file mode 100644
index 0000000..25991ff
--- /dev/null
+++ b/tests/app_gnome_calendar.pm
@@ -0,0 +1,13 @@
+use base 'app_test';
+use strict;
+use warnings;
+use testapi;
+use gnomeutils;
+
+sub run {
+    start_app('gnome_calendar');
+    assert_screen('app_gnome_calendar_home', 10);
+    close_app;
+}
+
+1;
diff --git a/tests/app_gnome_characters.pm b/tests/app_gnome_characters.pm
new file mode 100644
index 0000000..927a885
--- /dev/null
+++ b/tests/app_gnome_characters.pm
@@ -0,0 +1,13 @@
+use base 'app_test';
+use strict;
+use warnings;
+use testapi;
+use gnomeutils;
+
+sub run {
+    start_app('gnome-characters');
+    assert_screen('app_gnome_characters_home', 10);
+    close_app;
+}
+
+1;


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