291-swap.t: make tests fail less (#2964)

This commit is contained in:
Orestis 2017-09-18 19:02:38 +03:00 committed by Michael Stapelberg
parent 8e5731bde8
commit a3a7d04a43
1 changed files with 2 additions and 0 deletions

View File

@ -226,6 +226,7 @@ $expected_focus = get_focused($ws1);
$ws2 = fresh_workspace; $ws2 = fresh_workspace;
$B = open_window(wm_class => 'mark_B'); $B = open_window(wm_class => 'mark_B');
$B->fullscreen(1); $B->fullscreen(1);
sync_with_i3;
cmd '[con_mark=B] swap container with mark A'; cmd '[con_mark=B] swap container with mark A';
@ -263,6 +264,7 @@ $expected_focus = get_focused($ws1);
$ws2 = fresh_workspace; $ws2 = fresh_workspace;
$B = open_window(wm_class => 'mark_B'); $B = open_window(wm_class => 'mark_B');
$B->fullscreen(1); $B->fullscreen(1);
sync_with_i3;
cmd '[con_mark=B] swap container with mark A'; cmd '[con_mark=B] swap container with mark A';