From: Michael Stapelberg Date: Mon, 9 Apr 2012 12:48:25 +0000 (+0200) Subject: t/166-assign: wait until the window is definitely mapped X-Git-Tag: 4.2~21 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=983ba656fc49300e96bb7c0477aee77b1a286bea;p=i3%2Fi3 t/166-assign: wait until the window is definitely mapped --- diff --git a/testcases/t/166-assign.t b/testcases/t/166-assign.t index 43338d55..d79c1000 100644 --- a/testcases/t/166-assign.t +++ b/testcases/t/166-assign.t @@ -171,6 +171,7 @@ $workspaces = get_workspace_names; ok(!("targetws" ~~ @{$workspaces}), 'targetws does not exist yet'); $window = open_special(wm_class => 'SPEcial'); +wait_for_map $window; $content = get_ws($tmp); ok(@{$content->{nodes}} == 0, 'no tiling cons');