on xenial help sign in
There's no spreadDelegate_ anymore

Goes from ~9 to ~3 minutes Approved by: Michael Zanetti, Unity8 CI Bot

commit54e2550befae781ca6eb4cb86ed7865b9322d801 authorAlbert Astals Cid <albert.astals@canonical.com> dateTue 24 Jan 2017, 07:43 (10 years ago) parentc695a7e86bba40
1 file changed+1−6
tests/qmltests/tst_OrientedShell.qml+1−6
tests/qmltests/tst_OrientedShell.qml+1−6
@@ -1372,12 +1372,7 @@ Rectangle {
13721372 }
13731373
13741374 function findAppWindowForSurfaceId(surfaceId) {
1375− // for PhoneStage and TabletStage
1376− var delegate = findChild(shell, "spreadDelegate_" + surfaceId);
1377− if (!delegate) {
1378− // for DesktopStage
1379− delegate = findChild(shell, "appDelegate_" + surfaceId);
1380− }
1375+ var delegate = findChild(shell, "appDelegate_" + surfaceId);
13811376 verify(delegate);
13821377 var appWindow = findChild(delegate, "appWindow");
13831378 return appWindow;