t/166-assign: wait until the window is definitely mapped
This commit is contained in:
parent
7210ab22d7
commit
983ba656fc
|
@ -171,6 +171,7 @@ $workspaces = get_workspace_names;
|
||||||
ok(!("targetws" ~~ @{$workspaces}), 'targetws does not exist yet');
|
ok(!("targetws" ~~ @{$workspaces}), 'targetws does not exist yet');
|
||||||
|
|
||||||
$window = open_special(wm_class => 'SPEcial');
|
$window = open_special(wm_class => 'SPEcial');
|
||||||
|
wait_for_map $window;
|
||||||
|
|
||||||
$content = get_ws($tmp);
|
$content = get_ws($tmp);
|
||||||
ok(@{$content->{nodes}} == 0, 'no tiling cons');
|
ok(@{$content->{nodes}} == 0, 'no tiling cons');
|
||||||
|
|
Loading…
Reference in New Issue