on xenial help sign in
more scopes order changes
c12f1b3Albert Astals
tests/qmltests/Dash/tst_Dash.qml+3−3
@@ -69,9 +69,9 @@ Item {
69
69
70 function get_scope_data() {
70 function get_scope_data() {
71 return [
71 return [
72− { tag: "MockScope1", visualIndex: 0 },
72+ { tag: "clickscope", visualIndex: 0 },
73 { tag: "MockScope2", visualIndex: -1 },
73 { tag: "MockScope2", visualIndex: -1 },
74− { tag: "clickscope", visualIndex: 1 },
74+ { tag: "MockScope1", visualIndex: 1 },
75 { tag: "MockScope5", visualIndex: 2 },
75 { tag: "MockScope5", visualIndex: 2 },
76 ]
76 ]
77 }
77 }
@@ -314,7 +314,7 @@ Item {
314 mouseFlick(dash, startX, startY, stopX, stopY);
314 mouseFlick(dash, startX, startY, stopX, stopY);
315 compare(dashContentList.currentIndex, 2, "Could not flick to scope id 2");
315 compare(dashContentList.currentIndex, 2, "Could not flick to scope id 2");
316 var dashCommunicatorService = findInvisibleChild(dash, "dashCommunicatorService");
316 var dashCommunicatorService = findInvisibleChild(dash, "dashCommunicatorService");
317− dashCommunicatorService.mockSetCurrentScope("clickscope", true, false);
317+ dashCommunicatorService.mockSetCurrentScope("MockScope1", true, false);
318 tryCompare(dashContentList, "currentIndex", 1)
318 tryCompare(dashContentList, "currentIndex", 1)
319 }
319 }
320
320