mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-07-05 05:11:34 +00:00
Browse through apps with mouse.
This commit is contained in:
parent
3ad04a0731
commit
f7487fa1a4
@ -4,28 +4,40 @@ use testapi;
|
|||||||
use utils;
|
use utils;
|
||||||
use desktoptools;
|
use desktoptools;
|
||||||
|
|
||||||
# This script tests if Software can browse through various applications.
|
# This script tests if Software can browse through lists of applications.
|
||||||
|
|
||||||
# As we cannot browse through all of the applications, we will only focus
|
# As we cannot browse through all of the applications, we will only
|
||||||
# on three application, for example KTurtle, IDLE3, and Falkon.
|
# browse through three categories and pick one application from
|
||||||
|
# the editor's choice list.
|
||||||
|
# Hopefully, the application will be listed as we cannot move
|
||||||
|
# through the list except with scrolling the wheel, which is
|
||||||
|
# currently not supported by openQA.
|
||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
|
||||||
# Find KTurtle and check for its details.
|
# Open the Create category.
|
||||||
find_application("kturtle");
|
assert_and_click("software_category_create");
|
||||||
check_application_details("kturtle");
|
assert_and_click("software_application_amarok");
|
||||||
|
check_application_details("amarok");
|
||||||
|
# Come back to the main screen
|
||||||
|
while (! check_screen("gnome_search_button")) {
|
||||||
assert_and_click("gnome_back_button");
|
assert_and_click("gnome_back_button");
|
||||||
|
}
|
||||||
|
|
||||||
# Find IDLE3 and check for its details.
|
# Open the Learn category.
|
||||||
find_application("idle3");
|
assert_and_click("software_category_learn");
|
||||||
check_application_details("idle3");
|
assert_and_click("software_application_octave");
|
||||||
|
check_application_details("octave");
|
||||||
|
# Come back to the main screen
|
||||||
|
while (! check_screen("gnome_search_button")) {
|
||||||
assert_and_click("gnome_back_button");
|
assert_and_click("gnome_back_button");
|
||||||
|
}
|
||||||
|
|
||||||
# Find Falkon and check for its details.
|
# Open the Play category.
|
||||||
find_application("falkon");
|
assert_and_click("software_category_play");
|
||||||
check_application_details("falkon");
|
assert_and_click("software_application_chess");
|
||||||
assert_and_click("gnome_back_button");
|
check_application_details("chess");
|
||||||
}
|
}
|
||||||
|
|
||||||
sub test_flags {
|
sub test_flags {
|
||||||
|
Loading…
Reference in New Issue
Block a user