diff --git a/needles/gnome/apps/characters/chars_about_shown.json b/needles/gnome/apps/characters/chars_about_shown.json new file mode 100644 index 00000000..0830d437 --- /dev/null +++ b/needles/gnome/apps/characters/chars_about_shown.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 427, + "ypos": 226, + "width": 171, + "height": 108, + "type": "match" + } + ], + "properties": [], + "tags": [ + "chars_about_shown" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/characters/chars_about_shown.png b/needles/gnome/apps/characters/chars_about_shown.png new file mode 100644 index 00000000..bc4b3a8e Binary files /dev/null and b/needles/gnome/apps/characters/chars_about_shown.png differ diff --git a/needles/gnome/apps/characters/chars_activities_icons.json b/needles/gnome/apps/characters/chars_activities_icons.json new file mode 100644 index 00000000..a776cb69 --- /dev/null +++ b/needles/gnome/apps/characters/chars_activities_icons.json @@ -0,0 +1,22 @@ +{ + "area": [ + { + "xpos": 276, + "ypos": 501, + "width": 93, + "height": 81, + "type": "match" + }, + { + "xpos": 381, + "ypos": 402, + "width": 85, + "height": 78, + "type": "match" + } + ], + "properties": [], + "tags": [ + "chars_activities_icons" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/characters/chars_activities_icons.png b/needles/gnome/apps/characters/chars_activities_icons.png new file mode 100644 index 00000000..b4f37fd8 Binary files /dev/null and b/needles/gnome/apps/characters/chars_activities_icons.png differ diff --git a/needles/gnome/apps/characters/chars_animals_icons.json b/needles/gnome/apps/characters/chars_animals_icons.json new file mode 100644 index 00000000..8753fb53 --- /dev/null +++ b/needles/gnome/apps/characters/chars_animals_icons.json @@ -0,0 +1,22 @@ +{ + "area": [ + { + "xpos": 486, + "ypos": 199, + "width": 80, + "height": 83, + "type": "match" + }, + { + "xpos": 590, + "ypos": 201, + "width": 74, + "height": 79, + "type": "match" + } + ], + "properties": [], + "tags": [ + "chars_animals_icons" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/characters/chars_animals_icons.png b/needles/gnome/apps/characters/chars_animals_icons.png new file mode 100644 index 00000000..58f0690b Binary files /dev/null and b/needles/gnome/apps/characters/chars_animals_icons.png differ diff --git a/needles/gnome/apps/characters/chars_character_copied.json b/needles/gnome/apps/characters/chars_character_copied.json new file mode 100644 index 00000000..ea8bd297 --- /dev/null +++ b/needles/gnome/apps/characters/chars_character_copied.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 56, + "ypos": 90, + "width": 67, + "height": 80, + "type": "match" + } + ], + "properties": [], + "tags": [ + "chars_character_copied" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/characters/chars_character_copied.png b/needles/gnome/apps/characters/chars_character_copied.png new file mode 100644 index 00000000..aa12239f Binary files /dev/null and b/needles/gnome/apps/characters/chars_character_copied.png differ diff --git a/needles/gnome/apps/characters/chars_credits_shown.json b/needles/gnome/apps/characters/chars_credits_shown.json new file mode 100644 index 00000000..483ea00b --- /dev/null +++ b/needles/gnome/apps/characters/chars_credits_shown.json @@ -0,0 +1,22 @@ +{ + "area": [ + { + "xpos": 358, + "ypos": 230, + "width": 72, + "height": 21, + "type": "match" + }, + { + "xpos": 357, + "ypos": 398, + "width": 65, + "height": 20, + "type": "match" + } + ], + "properties": [], + "tags": [ + "chars_credits_shown" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/characters/chars_credits_shown.png b/needles/gnome/apps/characters/chars_credits_shown.png new file mode 100644 index 00000000..b25d0497 Binary files /dev/null and b/needles/gnome/apps/characters/chars_credits_shown.png differ diff --git a/needles/gnome/apps/characters/chars_flags_icons.json b/needles/gnome/apps/characters/chars_flags_icons.json new file mode 100644 index 00000000..16bff053 --- /dev/null +++ b/needles/gnome/apps/characters/chars_flags_icons.json @@ -0,0 +1,22 @@ +{ + "area": [ + { + "xpos": 279, + "ypos": 101, + "width": 90, + "height": 78, + "type": "match" + }, + { + "xpos": 275, + "ypos": 202, + "width": 95, + "height": 77, + "type": "match" + } + ], + "properties": [], + "tags": [ + "chars_flags_icons" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/characters/chars_flags_icons.png b/needles/gnome/apps/characters/chars_flags_icons.png new file mode 100644 index 00000000..802a4fd1 Binary files /dev/null and b/needles/gnome/apps/characters/chars_flags_icons.png differ diff --git a/needles/gnome/apps/characters/chars_food_icons.json b/needles/gnome/apps/characters/chars_food_icons.json new file mode 100644 index 00000000..01570a3f --- /dev/null +++ b/needles/gnome/apps/characters/chars_food_icons.json @@ -0,0 +1,22 @@ +{ + "area": [ + { + "xpos": 383, + "ypos": 202, + "width": 81, + "height": 80, + "type": "match" + }, + { + "xpos": 593, + "ypos": 202, + "width": 61, + "height": 79, + "type": "match" + } + ], + "properties": [], + "tags": [ + "chars_food_icons" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/characters/chars_food_icons.png b/needles/gnome/apps/characters/chars_food_icons.png new file mode 100644 index 00000000..e95e0f22 Binary files /dev/null and b/needles/gnome/apps/characters/chars_food_icons.png differ diff --git a/needles/gnome/apps/characters/chars_legal_shown.json b/needles/gnome/apps/characters/chars_legal_shown.json new file mode 100644 index 00000000..9db761e3 --- /dev/null +++ b/needles/gnome/apps/characters/chars_legal_shown.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 391, + "ypos": 227, + "width": 189, + "height": 27, + "type": "match" + } + ], + "properties": [], + "tags": [ + "chars_legal_shown" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/characters/chars_legal_shown.png b/needles/gnome/apps/characters/chars_legal_shown.png new file mode 100644 index 00000000..b29755a1 Binary files /dev/null and b/needles/gnome/apps/characters/chars_legal_shown.png differ diff --git a/needles/gnome/apps/characters/chars_love_eyes.json b/needles/gnome/apps/characters/chars_love_eyes.json new file mode 100644 index 00000000..49b85078 --- /dev/null +++ b/needles/gnome/apps/characters/chars_love_eyes.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 377, + "ypos": 301, + "width": 95, + "height": 80, + "type": "match" + } + ], + "properties": [], + "tags": [ + "chars_love_eyes" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/characters/chars_love_eyes.png b/needles/gnome/apps/characters/chars_love_eyes.png new file mode 100644 index 00000000..ff3f06dd Binary files /dev/null and b/needles/gnome/apps/characters/chars_love_eyes.png differ diff --git a/needles/gnome/apps/characters/chars_love_eyes_dialogue.json b/needles/gnome/apps/characters/chars_love_eyes_dialogue.json new file mode 100644 index 00000000..31152270 --- /dev/null +++ b/needles/gnome/apps/characters/chars_love_eyes_dialogue.json @@ -0,0 +1,22 @@ +{ + "area": [ + { + "xpos": 598, + "ypos": 513, + "width": 66, + "height": 22, + "type": "match" + }, + { + "xpos": 457, + "ypos": 304, + "width": 113, + "height": 85, + "type": "match" + } + ], + "properties": [], + "tags": [ + "chars_love_eyes_dialogue" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/characters/chars_love_eyes_dialogue.png b/needles/gnome/apps/characters/chars_love_eyes_dialogue.png new file mode 100644 index 00000000..4dae412b Binary files /dev/null and b/needles/gnome/apps/characters/chars_love_eyes_dialogue.png differ diff --git a/needles/gnome/apps/characters/chars_people_icons.json b/needles/gnome/apps/characters/chars_people_icons.json new file mode 100644 index 00000000..20b341b6 --- /dev/null +++ b/needles/gnome/apps/characters/chars_people_icons.json @@ -0,0 +1,22 @@ +{ + "area": [ + { + "xpos": 281, + "ypos": 302, + "width": 87, + "height": 84, + "type": "match" + }, + { + "xpos": 589, + "ypos": 302, + "width": 74, + "height": 80, + "type": "match" + } + ], + "properties": [], + "tags": [ + "chars_people_icons" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/characters/chars_people_icons.png b/needles/gnome/apps/characters/chars_people_icons.png new file mode 100644 index 00000000..88d6823a Binary files /dev/null and b/needles/gnome/apps/characters/chars_people_icons.png differ diff --git a/needles/gnome/apps/characters/chars_select_activities.json b/needles/gnome/apps/characters/chars_select_activities.json new file mode 100644 index 00000000..bc6f41cc --- /dev/null +++ b/needles/gnome/apps/characters/chars_select_activities.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 45, + "ypos": 406, + "width": 68, + "height": 20, + "type": "match" + } + ], + "properties": [], + "tags": [ + "chars_select_activities" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/characters/chars_select_activities.png b/needles/gnome/apps/characters/chars_select_activities.png new file mode 100644 index 00000000..bd380e53 Binary files /dev/null and b/needles/gnome/apps/characters/chars_select_activities.png differ diff --git a/needles/gnome/apps/characters/chars_select_animals.json b/needles/gnome/apps/characters/chars_select_animals.json new file mode 100644 index 00000000..94870a66 --- /dev/null +++ b/needles/gnome/apps/characters/chars_select_animals.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 47, + "ypos": 269, + "width": 120, + "height": 23, + "type": "match" + } + ], + "properties": [], + "tags": [ + "chars_select_animals" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/characters/chars_select_animals.png b/needles/gnome/apps/characters/chars_select_animals.png new file mode 100644 index 00000000..00472bd0 Binary files /dev/null and b/needles/gnome/apps/characters/chars_select_animals.png differ diff --git a/needles/gnome/apps/characters/chars_select_flags.json b/needles/gnome/apps/characters/chars_select_flags.json new file mode 100644 index 00000000..64871c06 --- /dev/null +++ b/needles/gnome/apps/characters/chars_select_flags.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 42, + "ypos": 538, + "width": 46, + "height": 23, + "type": "match" + } + ], + "properties": [], + "tags": [ + "chars_select_flags" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/characters/chars_select_flags.png b/needles/gnome/apps/characters/chars_select_flags.png new file mode 100644 index 00000000..b4b4a54d Binary files /dev/null and b/needles/gnome/apps/characters/chars_select_flags.png differ diff --git a/needles/gnome/apps/characters/chars_select_food.json b/needles/gnome/apps/characters/chars_select_food.json new file mode 100644 index 00000000..a9d290d4 --- /dev/null +++ b/needles/gnome/apps/characters/chars_select_food.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 43, + "ypos": 314, + "width": 93, + "height": 22, + "type": "match" + } + ], + "properties": [], + "tags": [ + "chars_select_food" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/characters/chars_select_food.png b/needles/gnome/apps/characters/chars_select_food.png new file mode 100644 index 00000000..ec1be381 Binary files /dev/null and b/needles/gnome/apps/characters/chars_select_food.png differ diff --git a/needles/gnome/apps/characters/chars_select_people.json b/needles/gnome/apps/characters/chars_select_people.json new file mode 100644 index 00000000..44776624 --- /dev/null +++ b/needles/gnome/apps/characters/chars_select_people.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 44, + "ypos": 224, + "width": 101, + "height": 22, + "type": "match" + } + ], + "properties": [], + "tags": [ + "chars_select_people" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/characters/chars_select_people.png b/needles/gnome/apps/characters/chars_select_people.png new file mode 100644 index 00000000..8e9c5e70 Binary files /dev/null and b/needles/gnome/apps/characters/chars_select_people.png differ diff --git a/needles/gnome/apps/characters/chars_select_symbols.json b/needles/gnome/apps/characters/chars_select_symbols.json new file mode 100644 index 00000000..3353f8b0 --- /dev/null +++ b/needles/gnome/apps/characters/chars_select_symbols.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 43, + "ypos": 494, + "width": 65, + "height": 22, + "type": "match" + } + ], + "properties": [], + "tags": [ + "chars_select_symbols" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/characters/chars_select_symbols.png b/needles/gnome/apps/characters/chars_select_symbols.png new file mode 100644 index 00000000..99690e8c Binary files /dev/null and b/needles/gnome/apps/characters/chars_select_symbols.png differ diff --git a/needles/gnome/apps/characters/chars_select_travel.json b/needles/gnome/apps/characters/chars_select_travel.json new file mode 100644 index 00000000..b02b2bc0 --- /dev/null +++ b/needles/gnome/apps/characters/chars_select_travel.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 47, + "ypos": 361, + "width": 106, + "height": 19, + "type": "match" + } + ], + "properties": [], + "tags": [ + "chars_select_travel" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/characters/chars_select_travel.png b/needles/gnome/apps/characters/chars_select_travel.png new file mode 100644 index 00000000..53447611 Binary files /dev/null and b/needles/gnome/apps/characters/chars_select_travel.png differ diff --git a/needles/gnome/apps/characters/chars_symbols_icons.json b/needles/gnome/apps/characters/chars_symbols_icons.json new file mode 100644 index 00000000..7ec48677 --- /dev/null +++ b/needles/gnome/apps/characters/chars_symbols_icons.json @@ -0,0 +1,22 @@ +{ + "area": [ + { + "xpos": 379, + "ypos": 98, + "width": 89, + "height": 87, + "type": "match" + }, + { + "xpos": 283, + "ypos": 199, + "width": 85, + "height": 85, + "type": "match" + } + ], + "properties": [], + "tags": [ + "chars_symbols_icons" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/characters/chars_symbols_icons.png b/needles/gnome/apps/characters/chars_symbols_icons.png new file mode 100644 index 00000000..b4b4a54d Binary files /dev/null and b/needles/gnome/apps/characters/chars_symbols_icons.png differ diff --git a/needles/gnome/apps/characters/chars_travel_icons.json b/needles/gnome/apps/characters/chars_travel_icons.json new file mode 100644 index 00000000..c21b8fc5 --- /dev/null +++ b/needles/gnome/apps/characters/chars_travel_icons.json @@ -0,0 +1,22 @@ +{ + "area": [ + { + "xpos": 379, + "ypos": 214, + "width": 88, + "height": 69, + "type": "match" + }, + { + "xpos": 586, + "ypos": 300, + "width": 77, + "height": 85, + "type": "match" + } + ], + "properties": [], + "tags": [ + "chars_travel_icons" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/characters/chars_travel_icons.png b/needles/gnome/apps/characters/chars_travel_icons.png new file mode 100644 index 00000000..fb88b922 Binary files /dev/null and b/needles/gnome/apps/characters/chars_travel_icons.png differ diff --git a/needles/gnome/apps/characters/chars_website_opened.json b/needles/gnome/apps/characters/chars_website_opened.json new file mode 100644 index 00000000..996a0943 --- /dev/null +++ b/needles/gnome/apps/characters/chars_website_opened.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "height": 24, + "xpos": 239, + "ypos": 84, + "width": 367, + "type": "match" + } + ], + "properties": [], + "tags": [ + "chars_website_opened" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/characters/chars_website_opened.png b/needles/gnome/apps/characters/chars_website_opened.png new file mode 100644 index 00000000..7e666884 Binary files /dev/null and b/needles/gnome/apps/characters/chars_website_opened.png differ diff --git a/needles/gnome/gnome_burger_menu_dark-20221201.json b/needles/gnome/gnome_burger_menu_dark-20221201.json new file mode 100644 index 00000000..98a6d1ed --- /dev/null +++ b/needles/gnome/gnome_burger_menu_dark-20221201.json @@ -0,0 +1,16 @@ +{ + "area": [ + { + "width": 23, + "xpos": 942, + "height": 20, + "ypos": 45, + "type": "match", + "match": 70 + } + ], + "properties": [], + "tags": [ + "gnome_burger_menu" + ] +} diff --git a/needles/gnome/gnome_burger_menu_dark-20221201.png b/needles/gnome/gnome_burger_menu_dark-20221201.png new file mode 100644 index 00000000..f49531da Binary files /dev/null and b/needles/gnome/gnome_burger_menu_dark-20221201.png differ diff --git a/needles/gnome/gnome_copy_button.json b/needles/gnome/gnome_copy_button.json new file mode 100644 index 00000000..aea95d0a --- /dev/null +++ b/needles/gnome/gnome_copy_button.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 457, + "ypos": 430, + "width": 111, + "height": 19, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gnome_copy_button" + ] +} \ No newline at end of file diff --git a/needles/gnome/gnome_copy_button.png b/needles/gnome/gnome_copy_button.png new file mode 100644 index 00000000..e62428a0 Binary files /dev/null and b/needles/gnome/gnome_copy_button.png differ diff --git a/needles/gnome/gnome_menu_about.json b/needles/gnome/gnome_menu_about.json new file mode 100644 index 00000000..3c3dec4e --- /dev/null +++ b/needles/gnome/gnome_menu_about.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 109, + "ypos": 129, + "width": 45, + "height": 21, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gnome_menu_about" + ] +} \ No newline at end of file diff --git a/needles/gnome/gnome_menu_about.png b/needles/gnome/gnome_menu_about.png new file mode 100644 index 00000000..43989ef9 Binary files /dev/null and b/needles/gnome/gnome_menu_about.png differ diff --git a/needles/gnome/gnome_selector_credits.json b/needles/gnome/gnome_selector_credits.json new file mode 100644 index 00000000..55337298 --- /dev/null +++ b/needles/gnome/gnome_selector_credits.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 357, + "ypos": 582, + "width": 51, + "height": 21, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gnome_selector_credits" + ] +} \ No newline at end of file diff --git a/needles/gnome/gnome_selector_credits.png b/needles/gnome/gnome_selector_credits.png new file mode 100644 index 00000000..92afb84d Binary files /dev/null and b/needles/gnome/gnome_selector_credits.png differ diff --git a/needles/gnome/gnome_selector_legal.json b/needles/gnome/gnome_selector_legal.json new file mode 100644 index 00000000..00abd691 --- /dev/null +++ b/needles/gnome/gnome_selector_legal.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 355, + "ypos": 639, + "width": 45, + "height": 19, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gnome_selector_legal" + ] +} \ No newline at end of file diff --git a/needles/gnome/gnome_selector_legal.png b/needles/gnome/gnome_selector_legal.png new file mode 100644 index 00000000..6a0c082b Binary files /dev/null and b/needles/gnome/gnome_selector_legal.png differ diff --git a/needles/gnome/gnome_selector_website.json b/needles/gnome/gnome_selector_website.json new file mode 100644 index 00000000..97c61b1b --- /dev/null +++ b/needles/gnome/gnome_selector_website.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 355, + "ypos": 438, + "width": 60, + "height": 21, + "type": "match" + } + ], + "properties": [], + "tags": [ + "gnome_selector_website" + ] +} \ No newline at end of file diff --git a/needles/gnome/gnome_selector_website.png b/needles/gnome/gnome_selector_website.png new file mode 100644 index 00000000..c552406c Binary files /dev/null and b/needles/gnome/gnome_selector_website.png differ diff --git a/templates.fif.json b/templates.fif.json index 189e44dd..73c8c8b0 100644 --- a/templates.fif.json +++ b/templates.fif.json @@ -1100,6 +1100,22 @@ "START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%" } }, + "characters": { + "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-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/characters", + "START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%" + } + }, "eog": { "profiles": { "fedora-Silverblue-dvd_ostree-iso-ppc64le-*-ppc64le": 50, diff --git a/tests/applications/characters/aaa_setup.pm b/tests/applications/characters/aaa_setup.pm new file mode 100644 index 00000000..c44fd60a --- /dev/null +++ b/tests/applications/characters/aaa_setup.pm @@ -0,0 +1,26 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# This will set up the environment for the Characters test. +# It will open the application and save a milestone. + +sub run { + my $self = shift; + + # Start the application + menu_launch_type("characters"); + # Check it has started + assert_screen 'apps_run_chars'; + # Fullsize the window. + send_key("super-up"); +} + +sub test_flags { + return {fatal => 1, milestone => 1}; +} + +1; + +# vim: set sw=4 et: diff --git a/tests/applications/characters/about.pm b/tests/applications/characters/about.pm new file mode 100644 index 00000000..46dd461d --- /dev/null +++ b/tests/applications/characters/about.pm @@ -0,0 +1,41 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# This will set up the environment for the Characters test. +# It will open the application and save a milestone. + +sub run { + my $self = shift; + + # Open the menu + assert_and_click("gnome_burger_menu"); + # Open the About + assert_and_click("gnome_menu_about"); + # Check it is displayed. + assert_screen("chars_about_shown"); + + # Show credits. + assert_and_click("gnome_selector_credits"); + # Check it. + assert_screen("chars_credits_shown"); + send_key("esc"); + # Show legal info. + assert_and_click("gnome_selector_legal"); + # Check it. + assert_screen("chars_legal_shown"); + send_key("esc"); + # Open the website + assert_and_click("gnome_selector_website"); + # Check that it opened. + assert_screen("chars_website_opened"); +} + +sub test_flags { + return {always_rollback => 1}; +} + +1; + +# vim: set sw=4 et: diff --git a/tests/applications/characters/copy_paste.pm b/tests/applications/characters/copy_paste.pm new file mode 100644 index 00000000..289e4f9b --- /dev/null +++ b/tests/applications/characters/copy_paste.pm @@ -0,0 +1,32 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# This will copy a charecter and paste it into a text editor. + +sub run { + my $self = shift; + + # Click on a character. + assert_and_click("chars_love_eyes"); + # Check that it has appeared. + assert_screen("chars_love_eyes_dialogue"); + # Click on Copy Character button. + assert_and_click("gnome_copy_button"); + # Open text editor. + menu_launch_type("text editor"); + wait_still_screen(3); + # Paste the character. + send_key("ctrl-v"); + # Check it has been copied. + assert_screen("chars_character_copied"); +} + +sub test_flags { + return {always_rollback => 1}; +} + +1; + +# vim: set sw=4 et: diff --git a/tests/applications/characters/smiles.pm b/tests/applications/characters/smiles.pm new file mode 100644 index 00000000..80862611 --- /dev/null +++ b/tests/applications/characters/smiles.pm @@ -0,0 +1,39 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# This will browse through the screens of various smiles. + +sub run { + my $self = shift; + # Click People and body and check. + assert_and_click("chars_select_people"); + assert_screen("chars_people_icons"); + # Click Animals and nature and check. + assert_and_click("chars_select_animals"); + assert_screen("chars_animals_icons"); + # Click Travel and Places and check. + assert_and_click("chars_select_travel"); + assert_screen("chars_travel_icons"); + # Click Food and drink and check. + assert_and_click("chars_select_food"); + assert_screen("chars_food_icons"); + # Click Activities and check. + assert_and_click("chars_select_activities"); + assert_screen("chars_activities_icons"); + # Click Symbols and check. + assert_and_click("chars_select_symbols"); + assert_screen("chars_symbols_icons"); + # Click Flags and check. + assert_and_click("chars_select_flags"); + assert_screen("chars_flags_icons"); +} + +sub test_flags { + return {always_rollback => 1}; +} + +1; + +# vim: set sw=4 et: