]> git.sur5r.net Git - i3/i3/blobdiff - testcases/t/291-swap.t
Merge pull request #2953 from CyberShadow/focus_wrapping
[i3/i3] / testcases / t / 291-swap.t
index f9ac3b6ac3ab97a9915bb8d20addaba2fd03a509..d4a43bfb1ca7b6637001140283443c476cde822d 100644 (file)
@@ -2,13 +2,13 @@
 # vim:ts=4:sw=4:expandtab
 #
 # Please read the following documents before working on tests:
-# • http://build.i3wm.org/docs/testsuite.html
+# • https://build.i3wm.org/docs/testsuite.html
 #   (or docs/testsuite)
 #
-# • http://build.i3wm.org/docs/lib-i3test.html
+# • https://build.i3wm.org/docs/lib-i3test.html
 #   (alternatively: perldoc ./testcases/lib/i3test.pm)
 #
-# • http://build.i3wm.org/docs/ipc.html
+# • https://build.i3wm.org/docs/ipc.html
 #   (or docs/ipc)
 #
 # • http://onyxneon.com/books/modern_perl/modern_perl_a4.pdf
@@ -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';