@@ -484,10 +484,14 @@ Item {
484 mouseClick(openButton);
484 mouseClick(openButton);
486 tryCompare(subPageLoader, "open", false);
486 tryCompare(subPageLoader, "open", false);
487+ tryCompare(subPageLoader, "x", subPageLoader.width);
487 compare(dashTempScopeItem.scope.id, "MockScope9");
489 compare(dashTempScopeItem.scope.id, "MockScope9");
489 // Go back
491 // Go back
490− dashTempScopeItem.backClicked();
492+ var dashTempScopeItemHeader = findChild(dashTempScopeItem, "scopePageHeader");
493+ var backButton = findChild(findChild(dashTempScopeItemHeader, "innerPageHeader"), "customBackButton");
494+ mouseClick(backButton);
492 // Check temp scope is gone
496 // Check temp scope is gone
493 tryCompare(dashTempScopeItem, "x", dash.width);
497 tryCompare(dashTempScopeItem, "x", dash.width);