tests: Add metatests for cloned windows and suspend state

Tests https://gitlab.gnome.org/GNOME/mutter/-/issues/2984.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3213>
This commit is contained in:
Jonas Ådahl 2023-08-25 18:45:56 +02:00
parent 87b7b073d3
commit e683264051
3 changed files with 24 additions and 0 deletions

View File

@ -697,6 +697,8 @@ stacking_tests = [
'click-to-focus-and-raise',
'workspace-only-on-primary-focus',
'overview-focus',
'suspend-state-timeout',
'cloned-windows',
]
foreach stacking_test: stacking_tests

View File

@ -0,0 +1,12 @@
new_client 1 wayland
create 1/1
show 1/1
wait
clone 1/1
minimize 1/1
wait
hide 1/1
wait_for_effects 1/1
declone 1/1
wait

View File

@ -0,0 +1,10 @@
new_client 1 wayland
create 1/1
show 1/1
wait
hide 1/1
wait_for_effects 1/1
sleep suspend_timeout
sleep 1000