]> git.sur5r.net Git - i3/i3/blob - testcases/t/184-regress-float-split-resize.t
tests: replace http:// with https:// where appropriate
[i3/i3] / testcases / t / 184-regress-float-split-resize.t
1 #!perl
2 # vim:ts=4:sw=4:expandtab
3 #
4 # Please read the following documents before working on tests:
5 # • https://build.i3wm.org/docs/testsuite.html
6 #   (or docs/testsuite)
7 #
8 # • https://build.i3wm.org/docs/lib-i3test.html
9 #   (alternatively: perldoc ./testcases/lib/i3test.pm)
10 #
11 # • https://build.i3wm.org/docs/ipc.html
12 #   (or docs/ipc)
13 #
14 # • http://onyxneon.com/books/modern_perl/modern_perl_a4.pdf
15 #   (unless you are already familiar with Perl)
16 #
17 # Regression: resizing a floating split container leads to a crash.
18 # (Ticket #588, present until 4412ccbe5a4fad8a4cd594e6f10f937515a4d37c)
19 #
20 use i3test;
21
22 my $tmp = fresh_workspace;
23
24 my $first = open_window;
25 cmd 'split v';
26 my $second = open_window;
27
28 cmd 'focus parent';
29 cmd 'floating toggle';
30 cmd 'layout stacking';
31
32 cmd 'resize grow up 10 px or 10 ppt';
33
34 does_i3_live;
35
36 done_testing;