#!perl
# vim:ts=4:sw=4:expandtab
#
+# Please read the following documents before working on tests:
+# • https://build.i3wm.org/docs/testsuite.html
+# (or docs/testsuite)
+#
+# • https://build.i3wm.org/docs/lib-i3test.html
+# (alternatively: perldoc ./testcases/lib/i3test.pm)
+#
+# • https://build.i3wm.org/docs/ipc.html
+# (or docs/ipc)
+#
+# • http://onyxneon.com/books/modern_perl/modern_perl_a4.pdf
+# (unless you are already familiar with Perl)
+#
# Regression test for inplace restarting with dock clients
#
use i3test;
# perform an inplace-restart
cmd 'restart';
-sleep 0.25;
-
does_i3_live;
is($docknode->{rect}->{height}, 20, 'dock node has unchanged height');
cmd 'restart';
-sleep 0.25;
@docked = get_dock_clients;
is(@docked, 1, 'one dock client found');