on xenial help sign in
This should help with the DashContent::test_showPreviewCarousel failure in CI
commit1f535fd3d03ee66a3fc66d21fb51463998774d3e authorAlbert Astals <albert.astals@canonical.com> dateTue 11 Mar 2014, 15:55 (13 years ago) parent83ce061
1 file changed+10
tests/qmltests/Dash/tst_DashContent.qml+10
tests/qmltests/Dash/tst_DashContent.qml+10
@@ -362,6 +362,16 @@ Item {
362362 }
363363
364364 function test_showPreviewCarousel() {
365+ tryCompareFunction(function() {
366+ var dashCategory1 = findChild(dashContent, "dashCategory1");
367+ if (dashCategory1 != null) {
368+ var tile = findChild(dashCategory1, "carouselDelegate1");
369+ return tile != null;
370+ }
371+ return false;
372+ },
373+ true);
374+
365375 tryCompare(scopeLoadedSpy, "count", 4);
366376
367377 var previewListView = findChild(dashContent, "dashContentPreviewList");