mirror of
https://github.com/brl/mutter.git
synced 2025-01-29 12:58:56 +00:00
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:
parent
87b7b073d3
commit
e683264051
@ -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
|
||||
|
12
src/tests/stacking/cloned-windows.metatest
Normal file
12
src/tests/stacking/cloned-windows.metatest
Normal 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
|
10
src/tests/stacking/suspend-state-timeout.metatest
Normal file
10
src/tests/stacking/suspend-state-timeout.metatest
Normal 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
|
Loading…
x
Reference in New Issue
Block a user