on xenial help sign in
Fix test to pass
commit3eccc9ab79041404dd9291a0186fc66e9b13538f authorRodney Dawes <dobey@ubports.com> dateThu 6 Aug 2020, 17:02 (6 years ago) parent24c1a57
1 file changed+2−1
tests/qmltests/Launcher/tst_Launcher.qml+2−1
tests/qmltests/Launcher/tst_Launcher.qml+2−1
@@ -941,7 +941,7 @@ Rectangle {
941941 tryCompare(quickListShape, "opacity", 0.95);
942942 mouseRelease(draggedItem);
943943
944− tryVerify(function() {return (quickList.y >= units.gu(1))});
944+ tryVerify(function() {return (quickList.y >= units.gu(0.5))});
945945 tryVerify(function() {return (quickList.y + quickList.height + units.gu(1) <= launcher.height)});
946946 compare(quickList.width, units.gu(30));
947947
@@ -1176,6 +1176,7 @@ Rectangle {
11761176 tryCompare(appIcon1, "wiggling", true, 1000, "appId #1 should not be still")
11771177 LauncherModel.setAlerting(LauncherModel.get(1).appId, false)
11781178 waitForWiggleToStop(appIcon1)
1179+
11791180 LauncherModel.setCount(LauncherModel.get(1).appId, 4711)
11801181 tryCompare(appIcon1, "wiggling", true, 1000, "appId #1 should not be still")
11811182 LauncherModel.setAlerting(LauncherModel.get(1).appId, false)