@@ -2120,6 +2120,11 @@ Rectangle {
21202120 shell.usageScenario = "desktop";
21212121 GSettingsController.setAutohideLauncher(!data.launcherLocked);
21222122 waitForRendering(shell);
2123+ // Not sure why 2 but it's the number of times
2124+ // it triggers at this time and we need to wait
2125+ // for them otherwise a sessionStarted signal will
2126+ // hide the launcher and make the test fail
2127+ tryCompare(sessionSpy, "count", 2);
21232128
21242129 var launcher = findChild(shell, "launcher");
21252130 var launcherPanel = findChild(launcher, "launcherPanel");