[openqa-tests/sam/apps-2] Add tests for 6 more apps
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [openqa-tests/sam/apps-2] Add tests for 6 more apps
- Date: Mon, 10 Oct 2022 14:01:36 +0000 (UTC)
commit 80d108caf051b86e8818e700e9a67eb81f6b0de2
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
main.pm | 6 ++++++
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 +++++++++++++
7 files changed, 84 insertions(+)
---
diff --git a/main.pm b/main.pm
index 39811df..4bdc9f3 100644
--- a/main.pm
+++ b/main.pm
@@ -8,8 +8,14 @@ use File::Basename;
autotest::loadtest("tests/gnome_install.pm");
autotest::loadtest("tests/gnome_welcome.pm");
autotest::loadtest("tests/gnome_desktop.pm");
+autotest::loadtest("tests/app_baobab.pm");
autotest::loadtest("tests/app_cheese.pm");
+autotest::loadtest("tests/app_eog.pm");
autotest::loadtest("tests/app_epiphany.pm");
+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_weather.pm");
autotest::loadtest("tests/app_nautilus.pm");
autotest::loadtest("tests/app_settings.pm");
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..71fa632
--- /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]