@@ -618,8 +618,7 @@ Item {
620 function test_dashHasNoCloseButton() {
620 function test_dashHasNoCloseButton() {
621− var dashApp = startApplication("unity8-dash");
621+ var dashAppDelegate = startApplication("unity8-dash");
622− var dashAppDelegate = findChild(desktopStage, "appDelegate_unity8-dash");
623 verify(dashAppDelegate);
622 verify(dashAppDelegate);
624 var closeButton = findChild(dashAppDelegate, "closeWindowButton");
623 var closeButton = findChild(dashAppDelegate, "closeWindowButton");
625 tryCompare(closeButton, "visible", false);
624 tryCompare(closeButton, "visible", false);