1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-01 17:53:08 +00:00
os-autoinst-distri-fedora/tests/applications/software/search_applications.pm
2023-03-22 10:34:54 +01:00

41 lines
921 B
Perl

use base "installedtest";
use strict;
use testapi;
use utils;
use desktoptools;
# This script tests if Software can browse through various applications.
# The concept of this is to look for applications using the Search function.
# We are not going to check for metadata anymore, as this would require
# another set of needles.
sub run {
my $self = shift;
# Find KTurtle and check for its details,
# use a keyword.
find_application("educational");
assert_and_click("gnome_back_button");
# Find IDLE3 and check for its details,
# use a name.
find_application("idle3");
assert_and_click("gnome_back_button");
# Find Midori and check for its details
# use a category.
find_application("browser");
assert_and_click("gnome_back_button");
}
sub test_flags {
# When finished, rollback to milestone
return {always_rollback => 1};
}
1;
# vim: set sw=4 et: