on xenial help sign in
Only check for click-through for an interactive notification.
17ae0f1Mirco Müller
tests/qmltests/Notifications/tst_Notifications.qml−3
@@ -403,9 +403,6 @@ Row {
403 actionSpy.wait()
403 actionSpy.wait()
404 compare(actionSpy.signalArguments[0][0], data.actions[0]["id"], "got wrong id for interactive action")
404 compare(actionSpy.signalArguments[0][0], data.actions[0]["id"], "got wrong id for interactive action")
405 compare(clickThroughSpy.count, 0, "click on interactive notification fell through")
405 compare(clickThroughSpy.count, 0, "click on interactive notification fell through")
406− } else {
407− mouseClick(notification, notification.width / 2, notification.height / 2)
408− clickThroughSpy.wait()
409 }
406 }
410
407
411 compare(secondaryIcon.visible, data.secondaryIconVisible, "secondary-icon visibility is incorrect")
408 compare(secondaryIcon.visible, data.secondaryIconVisible, "secondary-icon visibility is incorrect")