@@ -61,6 +61,7 @@ Rectangle {
61 swipeToCloseEnabled: swipeToCloseCheckbox.checked
61 swipeToCloseEnabled: swipeToCloseCheckbox.checked
62 closeable: closeableCheckbox.checked
62 closeable: closeableCheckbox.checked
63 application: fakeApplication
63 application: fakeApplication
64+ surface: fakeApplication && fakeApplication.surfaceList.count > 0 ? fakeApplication.surfaceList.get(0) : null
64 shellOrientationAngle: shellOrientationAngleSelector.value
65 shellOrientationAngle: shellOrientationAngleSelector.value
65 shellOrientation: {
66 shellOrientation: {
66 switch (shellOrientationAngleSelector.value) {
67 switch (shellOrientationAngleSelector.value) {
@@ -258,7 +259,7 @@ Rectangle {
258 function test_loadingLandscapeOnlyAppWhenShellInPortrait() {
259 function test_loadingLandscapeOnlyAppWhenShellInPortrait() {
259 loadWithWeatherApp.clicked();
260 loadWithWeatherApp.clicked();
261− var appWindow = findChild(spreadDelegate, "appWindow_ubuntu-weather-app");
262+ var appWindow = findChild(spreadDelegate, "appWindow");
262 verify(appWindow);
263 verify(appWindow);
264 // It must have landscape dimensions as it does not support portrait
265 // It must have landscape dimensions as it does not support portrait