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/browse_applications.pm
2023-03-21 11:39:49 +01:00

40 lines
942 B
Perl

use base "installedtest";
use strict;
use testapi;
use utils;
use desktoptools;
# This script tests if Software can browse through various applications.
# As we cannot browse through all of the applications, we will only focus
# on three application, for example KTurtle, IDLE3, and Falkon.
sub run {
my $self = shift;
# Find KTurtle and check for its details.
find_application("kturtle");
check_application_details("kturtle");
assert_and_click("gnome_back_button");
# Find IDLE3 and check for its details.
find_application("idle3");
check_application_details("idle3");
assert_and_click("gnome_back_button");
# Find Falkon and check for its details.
find_application("falkon");
check_application_details("falkon");
assert_and_click("gnome_back_button");
}
sub test_flags {
# When finished, rollback to milestone
return {always_rollback => 1};
}
1;
# vim: set sw=4 et: