mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-18 17:18:30 +00:00
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:
parent
9174472637
commit
6a79565afa
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"properties": [],
|
"properties": [],
|
||||||
"tags": [
|
"tags": [
|
||||||
"disks_runs"
|
"infocenter_smart_status_shown"
|
||||||
],
|
],
|
||||||
"area": [
|
"area": [
|
||||||
{
|
{
|
||||||
@ -12,4 +12,4 @@
|
|||||||
"type": "match"
|
"type": "match"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 74 KiB |
@ -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:
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user