on xenial help sign in
Set the timeout to 0 in this findChild too

They are not unstable and make the test too slow because of them being global

commit80b1544fc4c433435b33df06fc423b0add1fe1c1 authorAlbert Astals Cid <albert.astals@canonical.com> dateThu 26 May 2016, 16:40 (10 years ago) parent0a70dd0
2 files changed+2−2
tests/qmltests/Dash/Previews/tst_PreviewWidgetFactory.qml+1−1 tests/qmltests/Dash/tst_CardTool.qml+1−1
tests/qmltests/Dash/Previews/tst_PreviewWidgetFactory.qml+1−1
@@ -43,7 +43,7 @@ Rectangle {
4343 name: "PreviewWidgetFactory"
4444 when: windowShown
4545
46− property Item mockWidget: findChild(factory, "mockPreviewWidget")
46+ property Item mockWidget: findChild(factory, "mockPreviewWidget", 0 /*timeout*/)
4747
4848 function cleanup() {
4949 factory.source = Qt.binding(function() { return factory.widgetSource });
tests/qmltests/Dash/tst_CardTool.qml+1−1
@@ -240,7 +240,7 @@ Rectangle {
240240 id: testCase
241241 name: "CardTool"
242242
243− property var internalCard: findChild(cardTool, "cardToolCard")
243+ property var internalCard: findChild(cardTool, "cardToolCard", 0 /*timeout*/)
244244
245245 when: windowShown
246246