@@ -540,16 +540,15 @@ Item {
540540 var coverPage = findChild(view, "coverPage");
541541 var swipeHint = findChild(coverPage, "swipeHint");
542542 var errorMessageAnimation = findInvisibleChild(coverPage, "errorMessageAnimation");
543− var showLabelAnimation = findInvisibleChild(coverPage, "showLabelAnimation");
544543
545544 view.showErrorMessage("hello");
546545 compare(swipeHint.text, "《 hello 》");
547546 verify(errorMessageAnimation.running);
548− verify(showLabelAnimation.running);
547+ verify(swipeHint.opacityAnimation.running);
549548
550549 errorMessageAnimation.complete();
551− showLabelAnimation.complete();
552− compare(swipeHint.text, "《 " + i18n.tr("Unlock") + " 》");
550+ swipeHint.opacityAnimation.complete();
551+ tryCompare(swipeHint, "text", "《 " + i18n.tr("Unlock") + " 》");
553552 }
554553 }
555554}