1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 10:23:09 +00:00
os-autoinst-distri-fedora/tests/applications/characters/smiles.pm
Lukas Ruzicka 7ad809339f Add new test for Characters.
This PR adds a small test suite to test the Characters applications.
It displays several different groups of characters and then tries
to copy one of the characters and place it into a text editor.
2023-01-19 17:53:03 -08:00

40 lines
1.1 KiB
Perl

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: