mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-05 03:23:09 +00:00
39 lines
738 B
Perl
39 lines
738 B
Perl
|
use base "installedtest";
|
||
|
use strict;
|
||
|
use testapi;
|
||
|
use utils;
|
||
|
|
||
|
# This is to check up the Appearance tab.
|
||
|
|
||
|
sub run {
|
||
|
my $self = shift;
|
||
|
|
||
|
assert_and_click("settings_menu_appearance");
|
||
|
|
||
|
# Change style to Dark
|
||
|
assert_and_click("settings_appearance_set_darkmode");
|
||
|
|
||
|
# Check that the application uses now Darkmode
|
||
|
assert_screen("settings_appearance_darkmode_on");
|
||
|
|
||
|
# Change background
|
||
|
assert_and_click("settings_appearance_set_background");
|
||
|
|
||
|
# Switch off the application.
|
||
|
send_key("alt-f4");
|
||
|
|
||
|
# Check that the background is correctly changed.
|
||
|
assert_screen("settings_alternate_background_set");
|
||
|
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
sub test_flags {
|
||
|
return {fatal => 1, always_rollback => 1};
|
||
|
}
|
||
|
|
||
|
1;
|
||
|
|
||
|
# vim: set sw=4 et:
|