on xenial help sign in
Wait for the button to be enabled before tapping on it
commitabeb27ee09a122613168a00ae4dbe89945f902d3 authorAlbert Astals Cid <albert.astals@canonical.com> dateTue 17 Feb 2015, 16:43 (12 years ago) parentce728e3
1 file changed+1
tests/qmltests/tst_ShellWithPin.qml+1
tests/qmltests/tst_ShellWithPin.qml+1
@@ -217,6 +217,7 @@ Item {
217217 for (var i = 0; i < pin.length; ++i) {
218218 var character = pin.charAt(i)
219219 var button = findChild(shell, "pinPadButton" + character)
220+ tryCompare(button, "enabled", true);
220221 tap(button)
221222 }
222223 }