t/166-assign: wait until the window is definitely mapped

This commit is contained in:
Michael Stapelberg 2012-04-09 14:48:25 +02:00
parent 7210ab22d7
commit 983ba656fc

View File

@ -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');