on xenial help sign in
As suggested
d84064bAndrea Cimitan
tests/qmltests/Dash/tst_Dash.qml+5−1
@@ -484,10 +484,14 @@ Item {
484 mouseClick(openButton);
484 mouseClick(openButton);
485
485
486 tryCompare(subPageLoader, "open", false);
486 tryCompare(subPageLoader, "open", false);
487+ tryCompare(subPageLoader, "x", subPageLoader.width);
488+
487 compare(dashTempScopeItem.scope.id, "MockScope9");
489 compare(dashTempScopeItem.scope.id, "MockScope9");
488
490
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);
491
495
492 // Check temp scope is gone
496 // Check temp scope is gone
493 tryCompare(dashTempScopeItem, "x", dash.width);
497 tryCompare(dashTempScopeItem, "x", dash.width);