on xenial help sign in
wait for the surface
commite159dbdf377d5613f80479e9c2a3dd94773781ef authorMichael Zanetti <michael.zanetti@canonical.com> dateMon 29 Feb 2016, 14:55 (11 years ago) parentfee4939
1 file changed+1
tests/qmltests/tst_Shell.qml+1
tests/qmltests/tst_Shell.qml+1
@@ -773,6 +773,7 @@ Rectangle {
773773 loadShell("phone");
774774 swipeAwayGreeter();
775775 var item = findChild(shell, "inputMethod");
776+ tryCompareFunction(function() { return !!SurfaceManager.inputMethodSurface; }, true);
776777 var surface = SurfaceManager.inputMethodSurface;
777778
778779 surface.setState(Mir.MinimizedState);