Ubuntu Pastebin

Paste from tsd at Thu, 12 Feb 2015 13:56:41 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
=== modified file 'tests/qmltests/Dash/tst_Dash.qml'
--- tests/qmltests/Dash/tst_Dash.qml    2015-02-12 10:33:05 +0000
+++ tests/qmltests/Dash/tst_Dash.qml    2015-02-12 13:56:06 +0000
@@ -484,10 +484,14 @@
             mouseClick(openButton);
 
             tryCompare(subPageLoader, "open", false);
+            tryCompare(subPageLoader, "x", subPageLoader.width);
+
             compare(dashTempScopeItem.scope.id, "MockScope9");
 
             // Go back
-            dashTempScopeItem.backClicked();
+            var dashTempScopeItemHeader = findChild(dashTempScopeItem, "scopePageHeader");
+            var backButton = findChild(findChild(dashTempScopeItemHeader, "innerPageHeader"), "customBackButton");
+            mouseClick(backButton);
 
             // Check temp scope is gone
             tryCompare(dashTempScopeItem, "x", dash.width);
Download as text