Fix up KDE 'plasma-disks' test stuff

In #235 we accidentally included an entire disks.pm test that
wasn't meant to be there - the infocenter module test is the
right thing to exercise plasma-disks, there is no standalone
app, running 'disks' just gets you the KDE Partition Manager,
which we already test. So this removes that test and renames a
needle that looks like it's for that test but is actually for
the kinfocenter module, to make this clearer.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2021-06-21 15:16:40 -07:00
parent 9174472637
commit 6a79565afa
4 changed files with 3 additions and 29 deletions

View File

@ -1,7 +1,7 @@
{ {
"properties": [], "properties": [],
"tags": [ "tags": [
"disks_runs" "infocenter_smart_status_shown"
], ],
"area": [ "area": [
{ {

View File

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 74 KiB

View File

@ -1,26 +0,0 @@
use base "installedtest";
use strict;
use testapi;
use utils;
# This test checks that Disks starts.
sub run {
my $self = shift;
# Start the application
menu_launch_type 'disks';
# Check that it is started
assert_screen 'disks_runs';
# Close the application
quit_with_shortcut();
}
sub test_flags {
return {always_rollback => 1};
}
1;
# vim: set sw=4 et:

View File

@ -19,7 +19,7 @@ sub run {
# If the disks module is present, open it # If the disks module is present, open it
assert_and_click "infocenter_smart_status"; assert_and_click "infocenter_smart_status";
# Check that a correct screen is displayed. # Check that a correct screen is displayed.
assert_screen "disks_runs"; assert_screen "infocenter_smart_status_shown";
# Close the application # Close the application
quit_with_shortcut(); quit_with_shortcut();
} }