]> git.sur5r.net Git - i3/i3/commitdiff
291-swap.t: make tests fail less (#2964)
authorOrestis <orestisf1993@gmail.com>
Mon, 18 Sep 2017 16:02:38 +0000 (19:02 +0300)
committerMichael Stapelberg <stapelberg@users.noreply.github.com>
Mon, 18 Sep 2017 16:02:38 +0000 (18:02 +0200)
testcases/t/291-swap.t

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