mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-22 14:03:09 +00:00
Enhance the Infocenter test to test the presence of Disks module.
This commit is contained in:
parent
2c366cc7a4
commit
9f0103a95f
15
needles/kde/apps/disks_runs.json
Normal file
15
needles/kde/apps/disks_runs.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"disks_runs"
|
||||||
|
],
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 526,
|
||||||
|
"ypos": 46,
|
||||||
|
"width": 144,
|
||||||
|
"height": 20,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/kde/apps/disks_runs.png
Normal file
BIN
needles/kde/apps/disks_runs.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 74 KiB |
15
needles/kde/apps/infocenter_menu_devices.json
Normal file
15
needles/kde/apps/infocenter_menu_devices.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"infocenter_menu_devices"
|
||||||
|
],
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 113,
|
||||||
|
"ypos": 235,
|
||||||
|
"width": 18,
|
||||||
|
"height": 17,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/kde/apps/infocenter_menu_devices.png
Normal file
BIN
needles/kde/apps/infocenter_menu_devices.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 108 KiB |
15
needles/kde/apps/infocenter_smart_status.json
Normal file
15
needles/kde/apps/infocenter_smart_status.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"infocenter_smart_status"
|
||||||
|
],
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 114,
|
||||||
|
"ypos": 262,
|
||||||
|
"width": 16,
|
||||||
|
"height": 18,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/kde/apps/infocenter_smart_status.png
Normal file
BIN
needles/kde/apps/infocenter_smart_status.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 80 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"vault_verify_password"
|
|
||||||
],
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 62,
|
|
||||||
"ypos": 130,
|
|
||||||
"width": 155,
|
|
||||||
"height": 36,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
Binary file not shown.
Before Width: | Height: | Size: 35 KiB |
@ -4,6 +4,8 @@ use testapi;
|
|||||||
use utils;
|
use utils;
|
||||||
|
|
||||||
# This test checks that Infocenter starts.
|
# This test checks that Infocenter starts.
|
||||||
|
# It will also check that Infocenter contains the new module
|
||||||
|
# called plasma-disks.
|
||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
@ -12,6 +14,12 @@ sub run {
|
|||||||
menu_launch_type 'info';
|
menu_launch_type 'info';
|
||||||
# Check that it is started
|
# Check that it is started
|
||||||
assert_screen 'infocenter_runs';
|
assert_screen 'infocenter_runs';
|
||||||
|
# Open the Devices menu item.
|
||||||
|
assert_and_click "infocenter_menu_devices";
|
||||||
|
# If the disks module is present, open it
|
||||||
|
assert_and_click "infocenter_smart_status";
|
||||||
|
# Check that a correct screen is displayed.
|
||||||
|
assert_screen "disks_runs";
|
||||||
# Close the application
|
# Close the application
|
||||||
quit_with_shortcut();
|
quit_with_shortcut();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user