on xenial help sign in
more scopes order changes
commitc12f1b3eadda07726f5813c6cc27680460e5addd authorAlbert Astals <albert.astals@canonical.com> dateTue 7 Oct 2014, 16:01 (12 years ago) parent09b9e95
1 file changed+3−3
tests/qmltests/Dash/tst_Dash.qml+3−3
tests/qmltests/Dash/tst_Dash.qml+3−3
@@ -69,9 +69,9 @@ Item {
6969
7070 function get_scope_data() {
7171 return [
72− { tag: "MockScope1", visualIndex: 0 },
72+ { tag: "clickscope", visualIndex: 0 },
7373 { tag: "MockScope2", visualIndex: -1 },
74− { tag: "clickscope", visualIndex: 1 },
74+ { tag: "MockScope1", visualIndex: 1 },
7575 { tag: "MockScope5", visualIndex: 2 },
7676 ]
7777 }
@@ -314,7 +314,7 @@ Item {
314314 mouseFlick(dash, startX, startY, stopX, stopY);
315315 compare(dashContentList.currentIndex, 2, "Could not flick to scope id 2");
316316 var dashCommunicatorService = findInvisibleChild(dash, "dashCommunicatorService");
317− dashCommunicatorService.mockSetCurrentScope("clickscope", true, false);
317+ dashCommunicatorService.mockSetCurrentScope("MockScope1", true, false);
318318 tryCompare(dashContentList, "currentIndex", 1)
319319 }
320320