From: Michael Hofmann Date: Fri, 6 Mar 2015 23:14:47 +0000 (+0100) Subject: Test: startup workspaces updating on rename. X-Git-Tag: 4.10.1~52^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5776edcc84d15a9a6dbdafc7fe7f3177004fee86;p=i3%2Fi3 Test: startup workspaces updating on rename. --- diff --git a/testcases/t/175-startup-notification.t b/testcases/t/175-startup-notification.t index 9f0c046a..4ca41799 100644 --- a/testcases/t/175-startup-notification.t +++ b/testcases/t/175-startup-notification.t @@ -142,12 +142,17 @@ is_num_children($first_ws, 2, 'two containers on the first workspace'); complete_startup(); sync_with_i3; +# even when renaming the workspace, windows should end up on the correct one +cmd "rename workspace $first_ws to temp"; + # Startup has completed but the 30-second deletion time hasn't elapsed, # so this window should still go on the leader's initial workspace. $win = open_window({ dont_map => 1, client_leader => $leader }); $win->map; sync_with_i3; +cmd "rename workspace temp to $first_ws"; + is_num_children($first_ws, 3, 'three containers on the first workspace'); # Switch to the first workspace and move the focused window to the