GenericScopeViewTest: Wait a bit more
Otherwise sometimes we end getting up the wrong delegate (maybe one that will be garbage collected?)
Fixes: 1322279
commit7ab23b4e11692c815cc218f07a0448c8681e233f
authorAlbert Astals <albert.astals@canonical.com>
dateTue 27 May 2014, 07:46 (12 years ago)
parent533389031f2f39
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")