mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-01-09 10:33:08 +00:00
36 lines
830 B
Perl
36 lines
830 B
Perl
use base "installedtest";
|
|
use strict;
|
|
use testapi;
|
|
use utils;
|
|
|
|
# This is to check up the Notification tab.
|
|
|
|
sub run {
|
|
my $self = shift;
|
|
|
|
assert_and_click("settings_menu_notifications");
|
|
|
|
# Set notifications to Do Not Disturb
|
|
assert_and_click("settings_notifications_dontdisturb");
|
|
|
|
# Check that an icon appears showing that notifications are off.
|
|
assert_screen("settings_notifications_off");
|
|
|
|
# Switch off notifications for the Clocks application.
|
|
assert_and_click("settings_notifications_clocks");
|
|
assert_and_click("settings_notifications_clocks_disable");
|
|
send_key("esc");
|
|
|
|
# Check that the application status shows the OFF setting.
|
|
assert_screen("settings_notifications_clocks_off");
|
|
|
|
}
|
|
|
|
sub test_flags {
|
|
return {fatal => 1, always_rollback => 1};
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|