on xenial help sign in
A potential fix for "Cannot read property 'state' of null"-failure on Jenkins with the VisualSnapDecisionsQueue QML-test of notifications.
62557edMirco Müller
tests/qmltests/Notifications/tst_VisualSnapDecisionsQueue.qml+1
@@ -193,6 +193,7 @@ Row {
193 addSomeSnapDecisionNotifications();
193 addSomeSnapDecisionNotifications();
194
194
195 // make sure the view is properly updated before going on
195 // make sure the view is properly updated before going on
196+ notifications.forceLayout();
196 waitForRendering(notifications);
197 waitForRendering(notifications);
197
198
198 var snap_decision = [findChild(notifications, "notification1"),
199 var snap_decision = [findChild(notifications, "notification1"),