diff --git a/needles/kde/apps/disks_runs.json b/needles/kde/apps/disks_runs.json new file mode 100644 index 00000000..f22205c8 --- /dev/null +++ b/needles/kde/apps/disks_runs.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "disks_runs" + ], + "area": [ + { + "xpos": 526, + "ypos": 46, + "width": 144, + "height": 20, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/kde/apps/disks_runs.png b/needles/kde/apps/disks_runs.png new file mode 100644 index 00000000..811f2048 Binary files /dev/null and b/needles/kde/apps/disks_runs.png differ diff --git a/needles/kde/apps/infocenter_menu_devices.json b/needles/kde/apps/infocenter_menu_devices.json new file mode 100644 index 00000000..fd240df2 --- /dev/null +++ b/needles/kde/apps/infocenter_menu_devices.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "infocenter_menu_devices" + ], + "area": [ + { + "xpos": 113, + "ypos": 235, + "width": 18, + "height": 17, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/kde/apps/infocenter_menu_devices.png b/needles/kde/apps/infocenter_menu_devices.png new file mode 100644 index 00000000..90dbc916 Binary files /dev/null and b/needles/kde/apps/infocenter_menu_devices.png differ diff --git a/needles/kde/apps/infocenter_smart_status.json b/needles/kde/apps/infocenter_smart_status.json new file mode 100644 index 00000000..cf75cd07 --- /dev/null +++ b/needles/kde/apps/infocenter_smart_status.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "infocenter_smart_status" + ], + "area": [ + { + "xpos": 114, + "ypos": 262, + "width": 16, + "height": 18, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/kde/apps/infocenter_smart_status.png b/needles/kde/apps/infocenter_smart_status.png new file mode 100644 index 00000000..73336874 Binary files /dev/null and b/needles/kde/apps/infocenter_smart_status.png differ diff --git a/needles/kde/apps/vault/vault_verify_password.json b/needles/kde/apps/vault/vault_verify_password.json deleted file mode 100644 index e36680f6..00000000 --- a/needles/kde/apps/vault/vault_verify_password.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "properties": [], - "tags": [ - "vault_verify_password" - ], - "area": [ - { - "xpos": 62, - "ypos": 130, - "width": 155, - "height": 36, - "type": "match" - } - ] -} \ No newline at end of file diff --git a/needles/kde/apps/vault/vault_verify_password.png b/needles/kde/apps/vault/vault_verify_password.png deleted file mode 100644 index 17105e01..00000000 Binary files a/needles/kde/apps/vault/vault_verify_password.png and /dev/null differ diff --git a/tests/apps_startstop/kde/infocenter.pm b/tests/apps_startstop/kde/infocenter.pm index ae9cc961..5b14cc23 100644 --- a/tests/apps_startstop/kde/infocenter.pm +++ b/tests/apps_startstop/kde/infocenter.pm @@ -4,6 +4,8 @@ use testapi; use utils; # This test checks that Infocenter starts. +# It will also check that Infocenter contains the new module +# called plasma-disks. sub run { my $self = shift; @@ -12,6 +14,12 @@ sub run { menu_launch_type 'info'; # Check that it is started 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 quit_with_shortcut(); }