1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-08-29 02:25:50 +00:00

Check for DND in settings.

This commit is contained in:
Lukáš Růžička 2025-07-16 13:26:38 +02:00
parent a10802efbf
commit 9b48b3c53d
7 changed files with 34 additions and 17 deletions

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 840,
"ypos": 221,
"width": 126,
"height": 19,
"type": "match"
}
],
"properties": [],
"tags": [
"panel_button_dndisturb"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 523 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 839,
"ypos": 222,
"width": 129,
"height": 21,
"type": "match"
}
],
"properties": [],
"tags": [
"panel_button_dndisturb_active"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 524 KiB

View File

@ -1,15 +0,0 @@
{
"properties": [],
"tags": [
"panel_panel_shown"
],
"area": [
{
"xpos": 322,
"ypos": 295,
"width": 77,
"height": 88,
"type": "match"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 315 KiB

View File

@ -57,8 +57,10 @@ sub run {
# Check that if we click on Do not disturb,
# the slider moves and a silent regime indicator
# appears on the top panel.
assert_and_click("panel_datetime");
assert_screen("panel_panel_shown");
assert_and_click("panel_controls");
assert_and_click("panel_button_dndisturb");
assert_screen("panel_button_dndisturb_active");
}
sub test_flags {