mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-01-22 08:33:08 +00:00
Simplify search_applications.
This commit is contained in:
parent
06c35da773
commit
a3f58eaa97
@ -6,8 +6,9 @@ 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 Midori.
|
||||
# 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;
|
||||
@ -15,19 +16,16 @@ sub run {
|
||||
# Find KTurtle and check for its details,
|
||||
# use a keyword.
|
||||
find_application("educational");
|
||||
check_application_information("educational");
|
||||
assert_and_click("gnome_back_button");
|
||||
|
||||
# Find IDLE3 and check for its details,
|
||||
# use a name.
|
||||
find_application("idle3");
|
||||
check_application_information("idle3");
|
||||
assert_and_click("gnome_back_button");
|
||||
|
||||
# Find Midori and check for its details
|
||||
# use a category.
|
||||
find_application("browser");
|
||||
check_application_information("browser");
|
||||
assert_and_click("gnome_back_button");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user