Ubuntu Pastebin

Paste from Albert Astals Cid at Thu, 7 May 2015 10:26:25 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
=== modified file 'tests/qmltests/Dash/tst_DashContent.qml'
--- tests/qmltests/Dash/tst_DashContent.qml     2015-05-04 12:44:10 +0000
+++ tests/qmltests/Dash/tst_DashContent.qml     2015-05-07 10:25:44 +0000
@@ -143,7 +143,7 @@
             var startX = dashContentList.width/2;
             var startY = dashContentList.height/2;
             touchFlick(dashContentList, startX - units.gu(2), startY, startX, startY);
-            tryCompare(categoryListView, "contentY", units.gu(15) - categoryListView.pageHeader.height);
+            tryCompareFunction(function() { console.log(categoryListView.contentY, categoryListView.pageHeader.height); return categoryListView.contentY == units.gu(15) - categoryListView.pageHeader.height;}, true);
         }
 
         function test_set_current_scope_reset() {
Download as text