@@ -60,7 +60,7 @@ Rectangle {
6060 property var shell: shellLoader.item ? shellLoader.item : null
6161 onShellChanged: {
6262 if (shell) {
63− topLevelSurfaceList = testCase.findInvisibleChild(shell, "topLevelSurfaceList");
63+ topLevelSurfaceList = shell.topLevelSurfaceList;
6464 panelState = testCase.findInvisibleChild(shell, "panelState");
6565 } else {
6666 topLevelSurfaceList = null;
@@ -605,7 +605,7 @@ Rectangle {
605605 waitForGreeterToStabilize();
606606
607607 // from StageTestCase
608− topLevelSurfaceList = findInvisibleChild(shell, "topLevelSurfaceList");
608+ topLevelSurfaceList = shell.topLevelSurfaceList;
609609 verify(topLevelSurfaceList);
610610 stage = findChild(shell, "stage");
611611