on xenial help sign in
This test is outdated
commit105bcc32ccbaab6a3bbf3ae62eefe746a3988859 authorAlbert Astals Cid <albert.astals@canonical.com> dateMon 28 Sep 2015, 15:23 (11 years ago) parentac55d60
1 file changed−21
tests/qmltests/Dash/tst_DashContent.qml−21
tests/qmltests/Dash/tst_DashContent.qml−21
@@ -403,27 +403,6 @@ Item {
403403 tryCompare(dashNavigationButton.currentNavigation, "navigationId", "middle2");
404404 }
405405
406− function test_navigationsSwipeToNextScope() {
407− var dashContentList = findChild(dashContent, "dashContentList");
408− tryCompareFunction(function() { return findChild(dashContentList.currentItem, "dashNavigation") != null; }, true);
409− var dashNavigation = findChild(dashContentList.currentItem, "dashNavigation");
410− tryCompare(dashNavigation, "visible", true);
411− var dashNavigationButton = findChild(dashContentList.currentItem, "navigationButton");
412− verify(dashNavigationButton, "Can't find navigation button");
413−
414− compare(dashNavigationButton.showList, false);
415− waitForRendering(dashNavigationButton);
416− mouseClick(dashNavigationButton, 0, 0);
417− compare(dashNavigationButton.showList, true);
418−
419− mouseFlick(dashNavigationButton, dashNavigationButton.width - units.gu(1), units.gu(1), units.gu(1), units.gu(1));
420− compare(dashNavigationButton.showList, false);
421−
422− var dashContentList = findChild(dashContent, "dashContentList");
423− expectFail("", "should not change the parent list.");
424− tryCompare(dashContentList, "currentIndex", 1);
425− }
426−
427406 function test_searchHint() {
428407 var dashContentList = findChild(dashContent, "dashContentList");
429408 verify(dashContentList !== null);