on xenial help sign in
More debug to help with CI
commite71f2dbbd034af83f9ace11b254b8838e0a6b9be authorAlbert Astals <albert.astals@canonical.com> dateMon 17 Jun 2013, 15:15 (13 years ago) parent429fe71
1 file changed+10
tests/plugins/ListViewWithPageHeader/listviewwithpageheadertest.cpp+10
tests/plugins/ListViewWithPageHeader/listviewwithpageheadertest.cpp+10
@@ -1225,6 +1225,16 @@ private Q_SLOTS:
12251225
12261226 changeContentY(-1700);
12271227
1228+ int i = 0;
1229+ while(i < 10 && lvwph->m_visibleItems.count() != 12) {
1230+ qDebug() << "Loop" << i;
1231+ Q_FOREACH(ListViewWithPageHeader::ListItem *item, lvwph->m_visibleItems)
1232+ qDebug() << item->m_item;
1233+ QTest::qWait(1000);
1234+ }
1235+ qDebug() << "Before compare";
1236+ Q_FOREACH(ListViewWithPageHeader::ListItem *item, lvwph->m_visibleItems)
1237+ qDebug() << item->m_item;
12281238 QTRY_COMPARE(lvwph->m_visibleItems.count(), 12);
12291239 QCOMPARE(lvwph->m_firstVisibleIndex, 0);
12301240 verifyItem(0, -308., 75., true);