mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
tests: Ensure that restore-size resizes the client before maximize/unmaximize
The test does simply "wait" which apparently is not enough to ensure the client window did resize to the expected dimensions. Use "wait_reconfigure" and assert that the size after resize is the expected, before going further at testing its behavior after maximize/unmaximize; it might end up with the unexpected size after the whole operation. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2175>
This commit is contained in:
parent
62d91bb5fd
commit
9135931385
@ -18,7 +18,8 @@ wait
|
||||
assert_size x/1 500 400
|
||||
|
||||
resize x/1 300 200
|
||||
wait
|
||||
wait_reconfigure
|
||||
assert_size x/1 300 200
|
||||
maximize x/1
|
||||
wait_reconfigure
|
||||
unmaximize x/1
|
||||
|
Loading…
Reference in New Issue
Block a user