on xenial help sign in
Verify to tryCompare

Doesn't really belong to this MR but i had it failing in CI so let's make it more resilient here

commiteaa551fdbeec07c5879c3c6964d827ab03b69d7e authorAlbert Astals Cid <albert.astals@canonical.com> dateWed 11 Feb 2015, 09:34 (12 years ago) parentcbf0b89
1 file changed+1−1
tests/qmltests/Dash/tst_GenericScopeView.qml+1−1
tests/qmltests/Dash/tst_GenericScopeView.qml+1−1
@@ -380,8 +380,8 @@ Item {
380380
381381 tryCompare(testCase.subPageLoader, "open", false);
382382
383+ tryCompareFunction(function() { return findChild(category, "delegate1") != null; }, true);
383384 var tile = findChild(category, "delegate1");
384− verify(tile, "Could not find delegate");
385385
386386 mouseClick(tile);
387387 tryCompare(testCase.subPageLoader, "open", true);