on xenial help sign in
Stabilize test_superTabToCycleLauncher
2c35190Albert Astals Cid
tests/qmltests/tst_Shell.qml+5
@@ -2120,6 +2120,11 @@ Rectangle {
2120 shell.usageScenario = "desktop";
2120 shell.usageScenario = "desktop";
2121 GSettingsController.setAutohideLauncher(!data.launcherLocked);
2121 GSettingsController.setAutohideLauncher(!data.launcherLocked);
2122 waitForRendering(shell);
2122 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);
2123
2128
2124 var launcher = findChild(shell, "launcher");
2129 var launcher = findChild(shell, "launcher");
2125 var launcherPanel = findChild(launcher, "launcherPanel");
2130 var launcherPanel = findChild(launcher, "launcherPanel");