Wait a bit more
Otherwise sometimes we end getting up the wrong delegate (maybe one that will be garbage collected?)
commit31f2f3976cd6b175dd30baf5de8cb3c0451028b7
authorAlbert Astals <albert.astals@canonical.com>
dateFri 23 May 2014, 10:14 (12 years ago)
parentfed3e2a
tests/qmltests/Dash/tst_GenericScopeView.qml+1
@@ -126,6 +126,7 @@ Item {
126126
127127 function test_filter_expand_collapse() {
128128 // wait for the item to be there
129+ waitForRendering(genericScopeView);
129130 tryCompareFunction(function() { return findChild(genericScopeView, "dashSectionHeader0") != null; }, true);
130131
131132 var header = findChild(genericScopeView, "dashSectionHeader0")