From ed7bee72bdfa80589e24671886dcc4c0458bcbeb Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 1 Feb 2011 18:18:07 +0100 Subject: [PATCH] tests: extend testcase to check for the last commit --- testcases/t/47-regress-floatingmove.t | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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;