on xenial help sign in
Fix tst_ShellWithPin.test_emergencyDialerLockOut
fcccc72Daniel d'Andrada
tests/qmltests/tst_ShellWithPin.qml+1−4
@@ -386,9 +386,6 @@ Item {
386 }
386 }
387
387
388 function test_emergencyDialerLockOut() {
388 function test_emergencyDialerLockOut() {
389− // FIXME: fix that use case
390− skip();
391−
392 // This is a theoretical attack on the lockscreen: Enter emergency
389 // This is a theoretical attack on the lockscreen: Enter emergency
393 // dialer mode on a phone, then plug into a larger screen,
390 // dialer mode on a phone, then plug into a larger screen,
394 // switching to a tablet interface. This would in theory move the
391 // switching to a tablet interface. This would in theory move the
@@ -413,7 +410,7 @@ Item {
413 killApps()
410 killApps()
414 var greeter = findChild(shell, "greeter")
411 var greeter = findChild(shell, "greeter")
415 tryCompare(greeter, "fullyShown", true)
412 tryCompare(greeter, "fullyShown", true)
416− tryCompare(shell, "sideStageEnabled", true)
413+ compare(applicationsDisplayLoader.usageScenario, "tablet");
417 }
414 }
418
415
419 function test_emergencyDialerIncoming() {
416 function test_emergencyDialerIncoming() {