@@ -715,7 +715,7 @@ Rectangle {
715 surface.setState(Mir.RestoredState);
715 surface.setState(Mir.RestoredState);
717 var inputMethod = findInvisibleChild(shell, "inputMethod");
717 var inputMethod = findInvisibleChild(shell, "inputMethod");
718− tryCompare(inputMethod, "state", "shown");
718+ tryCompare(inputMethod, "visible", true);
720 verify(tutorialLeftLoader.shown);
720 verify(tutorialLeftLoader.shown);