@@ -540,16 +540,15 @@ Item {
540 var coverPage = findChild(view, "coverPage");
540 var coverPage = findChild(view, "coverPage");
541 var swipeHint = findChild(coverPage, "swipeHint");
541 var swipeHint = findChild(coverPage, "swipeHint");
542 var errorMessageAnimation = findInvisibleChild(coverPage, "errorMessageAnimation");
542 var errorMessageAnimation = findInvisibleChild(coverPage, "errorMessageAnimation");
543− var showLabelAnimation = findInvisibleChild(coverPage, "showLabelAnimation");
545 view.showErrorMessage("hello");
544 view.showErrorMessage("hello");
546 compare(swipeHint.text, "《 hello 》");
545 compare(swipeHint.text, "《 hello 》");
547 verify(errorMessageAnimation.running);
546 verify(errorMessageAnimation.running);
548− verify(showLabelAnimation.running);
547+ verify(swipeHint.opacityAnimation.running);
550 errorMessageAnimation.complete();
549 errorMessageAnimation.complete();
551− showLabelAnimation.complete();
550+ swipeHint.opacityAnimation.complete();
552− compare(swipeHint.text, "《 " + i18n.tr("Unlock") + " 》");
551+ tryCompare(swipeHint, "text", "《 " + i18n.tr("Unlock") + " 》");