From baae706b8713827c9f580cdfdbb759351f6192f4 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 26 Dec 2012 22:04:35 +0100 Subject: [PATCH] t/166-assign: sync after mapping the window --- testcases/t/166-assign.t | 3 +++ 1 file changed, 3 insertions(+) diff --git a/testcases/t/166-assign.t b/testcases/t/166-assign.t index 6af13fa5..1cee1ebb 100644 --- a/testcases/t/166-assign.t +++ b/testcases/t/166-assign.t @@ -98,6 +98,7 @@ my $workspaces = get_workspace_names; ok(!("targetws" ~~ @{$workspaces}), 'targetws does not exist yet'); $window = open_special; +sync_with_i3; ok(@{get_ws_content($tmp)} == 0, 'still no containers'); ok("targetws" ~~ @{get_workspace_names()}, 'targetws exists'); @@ -157,6 +158,7 @@ $workspaces = get_workspace_names; ok(!("targetws" ~~ @{$workspaces}), 'targetws does not exist yet'); $window = open_special; +sync_with_i3; my $content = get_ws($tmp); ok(@{$content->{nodes}} == 0, 'no tiling cons'); @@ -205,6 +207,7 @@ is(@docked, 0, 'one dock client yet'); $window = open_special( window_type => $x->atom(name => '_NET_WM_WINDOW_TYPE_DOCK'), ); +sync_with_i3; $content = get_ws($tmp); ok(@{$content->{nodes}} == 0, 'no tiling cons'); -- 2.39.5