on xenial help sign in
fix testLockscreen after new findChild is so fast that it reveals a timing problem
commit79f9c30e6b13f9736a99085c05f31ef1b1f3b7c9 authorMichael Zanetti <michael.zanetti@canonical.com> dateThu 1 Aug 2013, 20:20 (13 years ago) parenta256adb
1 file changed+1
tests/qmltests/Greeter/tst_Lockscreen.qml+1
tests/qmltests/Greeter/tst_Lockscreen.qml+1
@@ -186,6 +186,7 @@ Rectangle {
186186 function test_unlock(data) {
187187 unlockedCheckBox.checked = false
188188 LightDM.Greeter.authenticate(data.username)
189+ waitForRendering(lockscreen)
189190
190191 var inputField = findChild(lockscreen, "pinentryField")
191192 if (data.alphanumeric) {