on xenial help sign in
Stabilize test_superTabToCycleLauncher

Approved by: Michael Terry

commit9be9815c55ef9fb9a4b3ab2333a2982c86052857 authorAlbert Astals Cid <albert.astals@canonical.com> dateWed 27 Apr 2016, 14:59 (10 years ago) parent9b0e9672c35190
1 file changed+5
tests/qmltests/tst_Shell.qml+5
tests/qmltests/tst_Shell.qml+5
@@ -2178,6 +2178,11 @@ Rectangle {
21782178 shell.usageScenario = "desktop";
21792179 GSettingsController.setAutohideLauncher(!data.launcherLocked);
21802180 waitForRendering(shell);
2181+ // Not sure why 2 but it's the number of times
2182+ // it triggers at this time and we need to wait
2183+ // for them otherwise a sessionStarted signal will
2184+ // hide the launcher and make the test fail
2185+ tryCompare(sessionSpy, "count", 2);
21812186
21822187 var launcher = findChild(shell, "launcher");
21832188 var launcherPanel = findChild(launcher, "launcherPanel");