diff --git a/needles/gnome/apps/tour/tour_leftright.json b/needles/gnome/apps/tour/tour_leftright.json new file mode 100644 index 00000000..0d7a7f12 --- /dev/null +++ b/needles/gnome/apps/tour/tour_leftright.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 343, + "ypos": 545, + "width": 131, + "height": 29, + "type": "match" + } + ], + "properties": [], + "tags": [ + "tour_leftright" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/tour/tour_leftright.png b/needles/gnome/apps/tour/tour_leftright.png new file mode 100644 index 00000000..27a71ac9 Binary files /dev/null and b/needles/gnome/apps/tour/tour_leftright.png differ diff --git a/needles/gnome/apps/tour/tour_niceday.json b/needles/gnome/apps/tour/tour_niceday.json new file mode 100644 index 00000000..2ef9011e --- /dev/null +++ b/needles/gnome/apps/tour/tour_niceday.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 468, + "ypos": 544, + "width": 203, + "height": 31, + "type": "match" + } + ], + "properties": [], + "tags": [ + "tour_niceday" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/tour/tour_niceday.png b/needles/gnome/apps/tour/tour_niceday.png new file mode 100644 index 00000000..626c61e4 Binary files /dev/null and b/needles/gnome/apps/tour/tour_niceday.png differ diff --git a/needles/gnome/apps/tour/tour_overview-20230619.json b/needles/gnome/apps/tour/tour_overview-20230619.json new file mode 100644 index 00000000..2a2ec227 --- /dev/null +++ b/needles/gnome/apps/tour/tour_overview-20230619.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 410, + "ypos": 547, + "width": 207, + "height": 29, + "type": "match" + } + ], + "properties": [], + "tags": [ + "tour_overview" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/tour/tour_overview-20230619.png b/needles/gnome/apps/tour/tour_overview-20230619.png new file mode 100644 index 00000000..663ff120 Binary files /dev/null and b/needles/gnome/apps/tour/tour_overview-20230619.png differ diff --git a/needles/gnome/apps/tour/tour_search.json b/needles/gnome/apps/tour/tour_search.json new file mode 100644 index 00000000..7c0fc375 --- /dev/null +++ b/needles/gnome/apps/tour/tour_search.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 388, + "ypos": 542, + "width": 244, + "height": 33, + "type": "match" + } + ], + "properties": [], + "tags": [ + "tour_search" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/tour/tour_search.png b/needles/gnome/apps/tour/tour_search.png new file mode 100644 index 00000000..6793ee88 Binary files /dev/null and b/needles/gnome/apps/tour/tour_search.png differ diff --git a/needles/gnome/apps/tour/tour_start.json b/needles/gnome/apps/tour/tour_start.json new file mode 100644 index 00000000..6608e881 --- /dev/null +++ b/needles/gnome/apps/tour/tour_start.json @@ -0,0 +1,24 @@ +{ + "area": [ + { + "xpos": 421, + "ypos": 546, + "width": 184, + "height": 30, + "type": "ocr", + "margin": 30, + "refstr": "Start the Tour" + }, + { + "xpos": 284, + "ypos": 284, + "width": 78, + "height": 80, + "type": "match" + } + ], + "properties": [], + "tags": [ + "tour_start" + ] +} diff --git a/needles/gnome/apps/tour/tour_start.png b/needles/gnome/apps/tour/tour_start.png new file mode 100644 index 00000000..651e8293 Binary files /dev/null and b/needles/gnome/apps/tour/tour_start.png differ diff --git a/needles/gnome/apps/tour/tour_updown.json b/needles/gnome/apps/tour/tour_updown.json new file mode 100644 index 00000000..b18b8e7f --- /dev/null +++ b/needles/gnome/apps/tour/tour_updown.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 342, + "ypos": 545, + "width": 122, + "height": 27, + "type": "match" + } + ], + "properties": [], + "tags": [ + "tour_updown" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/tour/tour_updown.png b/needles/gnome/apps/tour/tour_updown.png new file mode 100644 index 00000000..05b7eacc Binary files /dev/null and b/needles/gnome/apps/tour/tour_updown.png differ diff --git a/needles/gnome/apps/tour/tour_workspaces.json b/needles/gnome/apps/tour/tour_workspaces.json new file mode 100644 index 00000000..9684c305 --- /dev/null +++ b/needles/gnome/apps/tour/tour_workspaces.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 322, + "ypos": 546, + "width": 379, + "height": 28, + "type": "match" + } + ], + "properties": [], + "tags": [ + "tour_workspaces" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/tour/tour_workspaces.png b/needles/gnome/apps/tour/tour_workspaces.png new file mode 100644 index 00000000..614fcd16 Binary files /dev/null and b/needles/gnome/apps/tour/tour_workspaces.png differ diff --git a/templates.fif.json b/templates.fif.json index 1bddb049..c8be6b34 100644 --- a/templates.fif.json +++ b/templates.fif.json @@ -1263,6 +1263,23 @@ "START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%" } }, + "tour": { + "profiles": { + "fedora-Silverblue-dvd_ostree-iso-ppc64le-*-ppc64le": 50, + "fedora-Silverblue-dvd_ostree-iso-x86_64-*-64bit": 50, + "fedora-Workstation-live-iso-ppc64le-*-ppc64le": 20, + "fedora-Workstation-live-iso-x86_64-*-64bit": 20, + "fedora-Workstation-upgrade-x86_64-*-64bit": 40, + "fedora-Workstation-upgrade-aarch64-*-aarch64": 40, + "fedora-Workstation-raw_xz-raw.xz-aarch64-*-aarch64": 22 + }, + "settings": { + "BOOTFROM": "c", + "HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2", + "POSTINSTALL_PATH": "tests/applications/tour", + "START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%" + } + }, "weather": { "profiles": { "fedora-Silverblue-dvd_ostree-iso-ppc64le-*-ppc64le": 50, diff --git a/tests/applications/tour/tour.pm b/tests/applications/tour/tour.pm new file mode 100644 index 00000000..838f2764 --- /dev/null +++ b/tests/applications/tour/tour.pm @@ -0,0 +1,42 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# This test will test the Tour application. + +sub run { + my $self = shift; + + # Start the Application + menu_launch_type("tour"); + + assert_screen("tour_start"); + send_key("right"); + + assert_screen("tour_overview"); + send_key("right"); + + assert_screen("tour_search"); + send_key("right"); + + assert_screen("tour_workspaces"); + send_key("right"); + + assert_screen("tour_updown"); + send_key("right"); + + assert_screen("tour_leftright"); + send_key("right"); + + assert_screen("tour_niceday"); +} + +sub test_flags { + # If this test fails, there is no need to continue. + return {fatal => 1, milestone => 1}; +} + +1; + +# vim: set sw=4 et: