From 86495da0779fa043e8b66e6875b84bf1c1c1d4b5 Mon Sep 17 00:00:00 2001 From: Rainer Keller Date: Wed, 24 Jul 2019 08:49:06 +0200 Subject: tests: Fix declarative auto test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The test was failing on Mac Change-Id: I518369a1914e7c68400d11aba2f2fa8e3809da4a Reviewed-by: Jannis Völker --- tests/auto/declarative/SubscriptionsTest.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/auto/declarative/SubscriptionsTest.qml b/tests/auto/declarative/SubscriptionsTest.qml index cad8ff5..abd64ad 100644 --- a/tests/auto/declarative/SubscriptionsTest.qml +++ b/tests/auto/declarative/SubscriptionsTest.qml @@ -120,7 +120,8 @@ Item { compare(node1IntervalSpy.count, 0); compare(node1.monitored, true); - // This needs to be reset to "Value" for follow up tests to succeed. + // The value needs to be reset to "Value" for follow up tests to succeed. + node1ValueSpy.clear(); node2.value = "Value"; node1ValueSpy.wait(); compare(node1ValueSpy.count, 1); -- cgit v1.2.3