@@ -117,12 +117,6 @@ Item {
117 signalName: "resettingDevice"
117 signalName: "resettingDevice"
122− target: LightDM.Greeter
123− signalName: "showPrompt"
126 Telephony.CallEntry {
120 Telephony.CallEntry {
127 id: phoneCall
121 id: phoneCall
128 phoneNumber: "+447812221111"
122 phoneNumber: "+447812221111"
@@ -539,22 +533,20 @@ Item {
539 shellLoader.itemDestroyed = false;
533 shellLoader.itemDestroyed = false;
540 shellLoader.active = false;
534 shellLoader.active = false;
541 tryCompare(shellLoader, "itemDestroyed", true);
535 tryCompare(shellLoader, "itemDestroyed", true);
542− LightDM.Greeter.authenticate(""); // reset greeter
544 // Create new shell
537 // Create new shell
546 shellLoader.active = true;
538 shellLoader.active = true;
547 tryCompareFunction(function() {return shell !== null}, true);
539 tryCompareFunction(function() {return shell !== null}, true);
549 // Confirm that we start disabled
541 // Confirm that we start disabled
550− compare(promptSpy.count, 0);
542+ compare(LightDM.Prompts.count, 0);
551 verify(shell.waitingOnGreeter);
543 verify(shell.waitingOnGreeter);
552 var coverPageDragHandle = findChild(shell, "coverPageDragHandle");
544 var coverPageDragHandle = findChild(shell, "coverPageDragHandle");
553 verify(!coverPageDragHandle.enabled);
545 verify(!coverPageDragHandle.enabled);
555 // And that we only become enabled once the lockscreen is up
547 // And that we only become enabled once the lockscreen is up
556 tryCompare(shell, "waitingOnGreeter", false);
548 tryCompare(shell, "waitingOnGreeter", false);
557− verify(promptSpy.count > 0);
549+ verify(LightDM.Prompts.count > 0);
558 var lockscreen = findChild(shell, "lockscreen");
550 var lockscreen = findChild(shell, "lockscreen");
559 verify(lockscreen.shown);
551 verify(lockscreen.shown);