1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-01-22 08:33:08 +00:00

Add Applications test

This commit is contained in:
Lukáš Růžička 2022-03-09 10:20:46 +01:00
parent 5fbc673466
commit 9e607be538
14 changed files with 148 additions and 0 deletions

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"settings_applications_app_open"
],
"area": [
{
"xpos": 553,
"ypos": 292,
"width": 53,
"height": 24,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"settings_applications_app_opensettings_applications_details_open"
],
"area": [
{
"xpos": 697,
"ypos": 289,
"width": 94,
"height": 25,
"type": "match"
}
]
}

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"settings_applications_calculator"
],
"area": [
{
"xpos": 24,
"ypos": 197,
"width": 111,
"height": 21,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"settings_applications_calculator_opened"
],
"area": [
{
"xpos": 591,
"ypos": 104,
"width": 144,
"height": 145,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"settings_applications_details_open"
],
"area": [
{
"xpos": 697,
"ypos": 289,
"width": 94,
"height": 25,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"settings_applications_details_shown"
],
"area": [
{
"xpos": 115,
"ypos": 108,
"width": 274,
"height": 57,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"settings_menu_applications"
],
"area": [
{
"xpos": 17,
"ypos": 386,
"width": 116,
"height": 23,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

View File

@ -0,0 +1,43 @@
use base "installedtest";
use strict;
use testapi;
use utils;
# This is to check up the Application tab.
sub run {
my $self = shift;
assert_and_click("settings_menu_applications");
# Choose the Calculator application and switch on the details
assert_and_click("settings_applications_calculator");
# Check that the Calculator page has opened
assert_screen("settings_applications_calculator_opened");
# Check that an Application can be opened using the Open button
assert_and_click("settings_applications_app_open");
# Check that the Application has opened
assert_screen(apps_run_calculator);
# Close the application
send_key("alt-f4");
# Click on View Details to see if application details will open
assert_and_click("settings_applications_details_open");
# Check that Software is opened and provides the detailed information
assert_screen("settings_applications_details_shown");
}
sub test_flags {
return {fatal => 1, always_rollback => 1};
}
1;
# vim: set sw=4 et: