on xenial help sign in
... and some more
commitc45dee0f39aaf5844928d0e27bd6c6522ecf3a9c authorLukáš Tinkl <lukas.tinkl@canonical.com> dateThu 8 Dec 2016, 13:38 (10 years ago) parent8a49798
1 file changed−19
tests/qmltests/Launcher/tst_Drawer.qml−19
tests/qmltests/Launcher/tst_Drawer.qml−19
@@ -249,25 +249,6 @@ StyledItem {
249249 compare(launcher.lastSelectedApplication, "camera-app");
250250 }
251251
252− function test_dragDirectionOnLeftEdgeDrag_data() {
253− return [
254− { tag: "reveal", direction: "right", endState: "drawer" },
255− { tag: "cancel", direction: "left", endState: "visible" },
256− ]
257− }
258−
259− function test_dragDirectionOnLeftEdgeDrag(data) {
260− var startX = launcher.dragAreaWidth/2;
261− var startY = launcher.height/2;
262− var stopX = startX + units.gu(35);
263− var endX = stopX + (units.gu(4) * (data.direction === "left" ? -1 : 1))
264−
265− touchFlick(launcher, startX, startY, stopX, startY, true, false);
266− touchFlick(launcher, stopX, startY, endX, startY, false, true);
267−
268− tryCompare(launcher, "state", data.endState)
269− }
270−
271252 function test_directSearch() {
272253 dragDrawerIntoView();
273254 var drawer = findChild(launcher, "drawer");