on xenial help sign in
fixed test
804cd80Andrea Cimitan
qml/Dash/Dash.qml−1
@@ -130,7 +130,6 @@ Showable {
130 UbuntuNumberAnimation {
130 UbuntuNumberAnimation {
131 onRunningChanged: {
131 onRunningChanged: {
132 if (!running && dashContent.x == 0) {
132 if (!running && dashContent.x == 0) {
133− console.log("close scope", scopeItem.scope)
134 scopeItem.scopeThatOpenedScope.closeScope(scopeItem.scope);
133 scopeItem.scopeThatOpenedScope.closeScope(scopeItem.scope);
135 scopeItem.scope = null;
134 scopeItem.scope = null;
136 }
135 }
tests/qmltests/Dash/tst_Dash.qml+1
@@ -477,6 +477,7 @@ Item {
477
477
478 dashTempScopeItem.scope.openScope(scopes.getScopeFromAll("MockScope9"));
478 dashTempScopeItem.scope.openScope(scopes.getScopeFromAll("MockScope9"));
479 tryCompare(subPageLoader, "open", false);
479 tryCompare(subPageLoader, "open", false);
480+ compare(dashTempScopeItem.scope.id, "MockScope9");
480
481
481 // Go back
482 // Go back
482 dashTempScopeItem.backClicked();
483 dashTempScopeItem.backClicked();