1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-09 09:04:20 +00:00
os-autoinst-distri-fedora/tests/apps_startstop/gnome/settings.pm
Adam Williamson 9882ddcaa5 Robustify and tweak switch out of overview on GNOME boot
This fails sometimes just because we're too early, or something.
Also with GNOME Shell 41rc, alt-f1 no longer works to open and
close the overview. super *does* seem to work in KDE these days,
so let's switch from alt-f1 to super everywhere.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-07 11:05:55 -07:00

35 lines
641 B
Perl

use base "installedtest";
use strict;
use testapi;
use utils;
# This test tests that Settings starts
#
sub run {
my $self = shift;
# start the settings application
menu_launch_type 'settings';
# select Background menu item
assert_and_click 'apps_settings_menu_background';
wait_still_screen 5;
# close the application
send_key 'alt-f4';
wait_still_screen 5;
# check that the screen really is black
assert_screen 'workspace';
# Register application
register_application("gnome-control-center");
}
sub test_flags {
return {always_rollback => 1};
}
1;
# vim: set sw=4 et: