@@ -56,9 +56,9 @@ Item {
5656 }
5757
5858 SignalSpy {
59− id: teaseSpy
59+ id: tappedSpy
6060 target: greeter
61− signalName: "tease"
61+ signalName: "tapped"
6262 }
6363
6464 UT.UnityTestCase {
@@ -323,18 +323,18 @@ Item {
323323 compare(greeter.model.data(index, LightDM.UserRoles.BackgroundPathRole), "")
324324 }
325325
326− function test_teasingArea_data() {
326+ function test_tappedSignal_data() {
327327 return [
328− {tag: "left", posX: units.gu(2), leftPressed: true, rightPressed: false},
329− {tag: "right", posX: greeter.width - units.gu(2), leftPressed: false, rightPressed: true}
328+ {tag: "left", posX: units.gu(2)},
329+ {tag: "right", posX: greeter.width - units.gu(2)}
330330 ]
331331 }
332332
333− function test_teasingArea(data) {
334− teaseSpy.clear()
335− mouseClick(greeter, data.posX, greeter.height - units.gu(1))
336− teaseSpy.wait()
337− tryCompare(teaseSpy, "count", 1)
333+ function test_tappedSignal(data) {
334+ select_user("no-password");
335+ tappedSpy.clear();
336+ tap(greeter, data.posX, greeter.height - units.gu(1))
337+ tryCompare(tappedSpy, "count", 1)
338338 }
339339
340340 function test_teaseLockedUnlocked_data() {
@@ -345,18 +345,18 @@ Item {
345345 }
346346
347347 function test_teaseLockedUnlocked(data) {
348− teaseSpy.clear()
348+ tappedSpy.clear()
349349 greeter.locked = data.locked;
350350
351− mouseClick(greeter, greeter.width - units.gu(5), greeter.height - units.gu(1));
351+ tap(greeter, greeter.width - units.gu(5), greeter.height - units.gu(1));
352352
353353 if (!data.locked || data.narrow) {
354− teaseSpy.wait()
355− tryCompare(teaseSpy, "count", 1);
354+ tappedSpy.wait()
355+ tryCompare(tappedSpy, "count", 1);
356356 } else {
357357 // waiting 100ms to make sure nothing happens
358358 wait(100);
359− compare(teaseSpy.count, 0, "Greeter teasing not disabled even though it's locked.");
359+ compare(tappedSpy.count, 0, "Greeter teasing not disabled even though it's locked.");
360360 }
361361
362362 // Reset value