on xenial help sign in
update object names
commitb067c0d5efbe6627903057a8e45b0e40020c81e1 authorMichael Terry <michael.terry@canonical.com> dateWed 13 Aug 2014, 14:11 (12 years ago) parentf895f9e
1 file changed+4−4
tests/qmltests/tst_ShellWithPin.qml+4−4
tests/qmltests/tst_ShellWithPin.qml+4−4
@@ -220,12 +220,12 @@ Item {
220220
221221 enterPin("1111")
222222 enterPin("1111")
223− tryCompareFunction(function() {return findChild(root, "factoryResetWarningDialog") !== null}, true)
223+ tryCompareFunction(function() {return findChild(root, "infoPopup") !== null}, true)
224224
225− var dialog = findChild(root, "factoryResetWarningDialog")
226− var button = findChild(dialog, "button")
225+ var dialog = findChild(root, "infoPopup")
226+ var button = findChild(dialog, "infoPopupOkButton")
227227 mouseClick(button, units.gu(1), units.gu(1))
228− tryCompareFunction(function() {return findChild(root, "factoryResetWarningDialog")}, null)
228+ tryCompareFunction(function() {return findChild(root, "infoPopup")}, null)
229229
230230 tryCompare(resetSpy, "count", 0)
231231 enterPin("1111")