@@ -296,6 +296,20 @@ Rectangle {
296296 phoneNumber: "+447812221111"
297297 }
298298
299+ Item {
300+ id: fakeDismissTimer
301+ property bool running: false
302+ signal triggered
303+
304+ function stop() {
305+ running = false;
306+ }
307+
308+ function restart() {
309+ running = true;
310+ }
311+ }
312+
299313 UnityTestCase {
300314 id: testCase
301315 name: "Shell"
@@ -333,6 +347,11 @@ Rectangle {
333347 var launcher = findChild(shell, "launcher");
334348 launcherShowDashHomeSpy.target = launcher;
335349
350+ var panel = findChild(launcher, "launcherPanel");
351+ verify(!!panel);
352+
353+ panel.dismissTimer = fakeDismissTimer;
354+
336355 waitForGreeterToStabilize();
337356 }
338357
@@ -1240,10 +1259,6 @@ Rectangle {
12401259
12411260 var launcher = findChild(shell, "launcher");
12421261
1243− // ensure the launcher dimissal timer never gets triggered during the test run
1244− var dismissTimer = findInvisibleChild(launcher, "dismissTimer");
1245− dismissTimer.interval = 60 * 60 * 1000;
1246−
12471262 dragLauncherIntoView();
12481263
12491264 // Emulate a tap with a finger, where the touch position drifts during the tap.