on xenial help sign in
booo
commit24893f010a73d6c96c4fc59d554965814a6cd024 authorAlbert Astals <albert.astals@canonical.com> dateMon 4 Nov 2013, 11:15 (13 years ago) parentc593712
1 file changed+1−2
tests/plugins/ListViewWithPageHeader/listviewwithpageheadertest.cpp+1−2
tests/plugins/ListViewWithPageHeader/listviewwithpageheadertest.cpp+1−2
@@ -1829,13 +1829,12 @@ private Q_SLOTS:
18291829 scrollToBottom();
18301830 lvwph->showHeader();
18311831 QTRY_VERIFY(!lvwph->m_contentYAnimation->isRunning());
1832− QTest::qWait(100);
1832+ QTest::qWait(500); // Make sure stuff is stable
18331833 QMetaObject::invokeMethod(model, "insertItem", Q_ARG(QVariant, 0), Q_ARG(QVariant, 100));
18341834 model->setProperty(3, "size", 10);
18351835 model->setProperty(4, "size", 10);
18361836 model->setProperty(5, "size", 10);
18371837 model->setProperty(6, "size", 10);
1838− QTest::qWait(100);
18391838 QTRY_COMPARE(lvwph->m_minYExtent, 210.);
18401839 QTRY_COMPARE(lvwph->m_headerItem->y(), -lvwph->m_minYExtent);
18411840 }