2019-01-29 14:40:52 +00:00
|
|
|
use base "installedtest";
|
|
|
|
use strict;
|
|
|
|
use testapi;
|
|
|
|
use utils;
|
|
|
|
|
|
|
|
# This test checks that Infocenter starts.
|
2021-06-10 08:53:53 +00:00
|
|
|
# It will also check that Infocenter contains the new module
|
|
|
|
# called plasma-disks.
|
2019-01-29 14:40:52 +00:00
|
|
|
|
|
|
|
sub run {
|
|
|
|
my $self = shift;
|
|
|
|
|
|
|
|
# Start the application
|
2019-05-07 09:42:36 +00:00
|
|
|
menu_launch_type 'info';
|
2019-01-29 14:40:52 +00:00
|
|
|
# Check that it is started
|
|
|
|
assert_screen 'infocenter_runs';
|
2021-06-10 08:53:53 +00:00
|
|
|
# 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.
|
2021-06-21 22:16:40 +00:00
|
|
|
assert_screen "infocenter_smart_status_shown";
|
2019-01-29 14:40:52 +00:00
|
|
|
# Close the application
|
|
|
|
quit_with_shortcut();
|
|
|
|
}
|
|
|
|
|
|
|
|
sub test_flags {
|
|
|
|
return {always_rollback => 1};
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
1;
|
|
|
|
|
|
|
|
# vim: set sw=4 et:
|