on xenial help sign in
settle animation before clicking
commitde741351e369d4e230d605e9bc8b256539d24cd5 authorAlbert Astals <albert.astals@canonical.com> dateFri 12 Dec 2014, 13:14 (12 years ago) parente67cb18
1 file changed+3
tests/qmltests/Dash/tst_Dash.qml+3
tests/qmltests/Dash/tst_Dash.qml+3
@@ -394,6 +394,9 @@ Item {
394394 var starArea = findChild(clickScope, "starArea");
395395 touchFlick(starArea, 0, 0, 0, -units.gu(10));
396396
397+ // wait for the animation to settle
398+ tryCompare(clickScope, "height", units.gu(6));
399+
397400 // Exit edit mode
398401 var scopesList = findChild(dash, "scopesList");
399402 var scopesListPageHeader = findChild(scopesList, "pageHeader");