on xenial help sign in
Stabilize test_superTabToCycleLauncher
commit2c351907b54657e3e30e9f4c82a04d30ba221adf authorAlbert Astals Cid <albert.astals@canonical.com> dateThu 24 Mar 2016, 15:11 (11 years ago) parent059d05e
1 file changed+5
tests/qmltests/tst_Shell.qml+5
tests/qmltests/tst_Shell.qml+5
@@ -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");