fixed test
commit804cd8000411f5ddcf39832ae0e0d8803e558fb5
authorAndrea Cimitan <andrea.cimitan@gmail.com>
dateWed 4 Feb 2015, 12:15 (12 years ago)
parent5b2c442
qml/Dash/Dash.qml−1
@@ -130,7 +130,6 @@ Showable {
130130 UbuntuNumberAnimation {
131131 onRunningChanged: {
132132 if (!running && dashContent.x == 0) {
133− console.log("close scope", scopeItem.scope)
134133 scopeItem.scopeThatOpenedScope.closeScope(scopeItem.scope);
135134 scopeItem.scope = null;
136135 }
tests/qmltests/Dash/tst_Dash.qml+1
@@ -477,6 +477,7 @@ Item {
477477
478478 dashTempScopeItem.scope.openScope(scopes.getScopeFromAll("MockScope9"));
479479 tryCompare(subPageLoader, "open", false);
480+ compare(dashTempScopeItem.scope.id, "MockScope9");
480481
481482 // Go back
482483 dashTempScopeItem.backClicked();