From: Maik Fischer Date: Mon, 21 Nov 2011 22:39:58 +0000 (+0100) Subject: testcases: undo 0f386a96 t/144-regress-floating-resize.t X-Git-Tag: 4.2~229^2~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ea2aba4319c11b3417c88feb7080106c2ee58c74;p=i3%2Fi3 testcases: undo 0f386a96 t/144-regress-floating-resize.t wait_for_map can't be used, since we don't set structure_notify on the urxvts windows --- diff --git a/testcases/t/144-regress-floating-resize.t b/testcases/t/144-regress-floating-resize.t index fa1edda5..de33eeb3 100644 --- a/testcases/t/144-regress-floating-resize.t +++ b/testcases/t/144-regress-floating-resize.t @@ -12,10 +12,9 @@ use List::Util qw(sum); my $tmp = fresh_workspace; cmd 'exec /usr/bin/urxvt'; -wait_for_map $x; +sleep 0.5; cmd 'exec /usr/bin/urxvt'; -wait_for_map $x; - +sleep 0.5; my ($nodes, $focus) = get_ws_content($tmp); my $old_sum = sum map { $_->{rect}->{width} } @{$nodes}; #cmd 'open'; @@ -23,13 +22,12 @@ cmd 'resize grow left 10 px or 25 ppt'; cmd 'split v'; #cmd 'open'; cmd 'exec /usr/bin/urxvt'; -wait_for_map $x; - +sleep 0.5; cmd 'mode toggle'; -sync_with_i3 $x; - +sleep 0.5; cmd 'kill'; -wait_for_unmap $x; + +sleep 0.5; ($nodes, $focus) = get_ws_content($tmp); my $new_sum = sum map { $_->{rect}->{width} } @{$nodes};