]> git.sur5r.net Git - i3/i3/blobdiff - testcases/t/155-floating-split-size.t
tests: replace http:// with https:// where appropriate
[i3/i3] / testcases / t / 155-floating-split-size.t
index 76c31af6b0d1a37a0f1c02ac8ee7f5220b129711..4f9b12f35c2f67e79b873cc0f89e23b904496196 100644 (file)
@@ -1,6 +1,19 @@
 #!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)
+#
 # Test to see if i3 combines the geometry of all children in a split container
 # when setting the split container to floating
 #
@@ -8,6 +21,9 @@ use i3test;
 
 my $tmp = fresh_workspace;
 
+open_window;
+cmd 'split v';
+
 #####################################################################
 # open a window with 200x80
 #####################################################################
@@ -17,6 +33,8 @@ my $first = open_window({
         background_color => '#FF0000',
     });
 
+cmd 'split h';
+
 #####################################################################
 # Open a second window with 300x90
 #####################################################################