@@ -618,8 +618,7 @@ Item {
618618 }
619619
620620 function test_dashHasNoCloseButton() {
621− var dashApp = startApplication("unity8-dash");
622− var dashAppDelegate = findChild(desktopStage, "appDelegate_unity8-dash");
621+ var dashAppDelegate = startApplication("unity8-dash");
623622 verify(dashAppDelegate);
624623 var closeButton = findChild(dashAppDelegate, "closeWindowButton");
625624 tryCompare(closeButton, "visible", false);