on xenial help sign in
testShell should be working again
cc5a4ecMichael Zanetti
tests/qmltests/tst_Shell.qml+12−3
@@ -279,7 +279,7 @@ Rectangle {
279 anchors { left: parent.left; right: parent.right }
279 anchors { left: parent.left; right: parent.right }
280 activeFocusOnPress: false
280 activeFocusOnPress: false
281 model: ["phone", "tablet", "desktop"]
281 model: ["phone", "tablet", "desktop"]
282− selectedIndex: 2
282+ selectedIndex: 0
283 }
283 }
284 MouseTouchEmulationCheckbox {
284 MouseTouchEmulationCheckbox {
285 id: mouseEmulation
285 id: mouseEmulation
@@ -1744,7 +1744,7 @@ Rectangle {
1744
1744
1745 // Move the mouse over tile 2 and verify the highlight becomes visible
1745 // Move the mouse over tile 2 and verify the highlight becomes visible
1746 var x = 0;
1746 var x = 0;
1747− var y = shell.height * (data.tileInfo ? .9 : 0.5)
1747+ var y = shell.height * (data.tileInfo ? .9 : 0.7)
1748 mouseMove(shell, x, y)
1748 mouseMove(shell, x, y)
1749 while (spreadItem.highlightedIndex !== 2 && x <= 4000) {
1749 while (spreadItem.highlightedIndex !== 2 && x <= 4000) {
1750 x+=10;
1750 x+=10;
@@ -1766,6 +1766,15 @@ Rectangle {
1766 function test_progressiveAutoScrolling() {
1766 function test_progressiveAutoScrolling() {
1767 loadDesktopShellWithApps()
1767 loadDesktopShellWithApps()
1768
1768
1769+ // load some more apps
1770+ ApplicationManager.startApplication("twitter-webapp")
1771+ ApplicationManager.startApplication("ubuntu-weather-app")
1772+ ApplicationManager.startApplication("notes-app")
1773+ for (var i = 0; i < topLevelSurfaceList.count; ++i) {
1774+ waitUntilAppWindowIsFullyLoaded(topLevelSurfaceList.idAt(i));
1775+ }
1776+
1777+
1769 var appRepeater = findInvisibleChild(shell, "appRepeater");
1778 var appRepeater = findInvisibleChild(shell, "appRepeater");
1770 verify(appRepeater !== null);
1779 verify(appRepeater !== null);
1771
1780
@@ -1778,7 +1787,7 @@ Rectangle {
1778
1787
1779 // Move the mouse to the right and make sure it scrolls the Flickable
1788 // Move the mouse to the right and make sure it scrolls the Flickable
1780 var x = 0;
1789 var x = 0;
1781− var y = shell.height * .5
1790+ var y = shell.height * .7
1782 mouseMove(shell, x, y)
1791 mouseMove(shell, x, y)
1783 while (x <= shell.width) {
1792 while (x <= shell.width) {
1784 x+=10;
1793 x+=10;