From: Michael Stapelberg Date: Tue, 1 Feb 2011 17:18:07 +0000 (+0100) Subject: tests: extend testcase to check for the last commit X-Git-Tag: tree-pr2~64 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ed7bee72bdfa80589e24671886dcc4c0458bcbeb;p=i3%2Fi3 tests: extend testcase to check for the last commit --- diff --git a/testcases/t/47-regress-floatingmove.t b/testcases/t/47-regress-floatingmove.t index 189d2808..946276db 100644 --- a/testcases/t/47-regress-floatingmove.t +++ b/testcases/t/47-regress-floatingmove.t @@ -6,7 +6,7 @@ # use X11::XCB qw(:all); use Time::HiRes qw(sleep); -use i3test tests => 2; +use i3test tests => 3; BEGIN { use_ok('X11::XCB::Window'); @@ -21,6 +21,8 @@ my $left = open_standard_window($x); sleep 0.25; my $mid = open_standard_window($x); sleep 0.25; +my $right = open_standard_window($x); +sleep 0.25; # go to workspace level cmd 'level up'; @@ -35,3 +37,10 @@ cmd 'move before v'; sleep 0.25; does_i3_live; + +# move another con outside +cmd '[id="' . $mid->id . '"] focus'; +cmd 'move before v'; +sleep 0.25; + +does_i3_live;