on xenial help sign in
Make these tests pass with the new SDK
70e1bb9Albert Astals Cid
tests/qmltests/Notifications/tst_OptionToggle.qml+1−1
@@ -225,7 +225,7 @@ Row {
225 }
225 }
226
226
227 // test input does not fall through
227 // test input does not fall through
228− mouseClick(notification)
228+ mouseClick(notification, units.gu(2), units.gu(2))
229 if(data.type == Notification.Interactive) {
229 if(data.type == Notification.Interactive) {
230 actionSpy.wait()
230 actionSpy.wait()
231 compare(actionSpy.signalArguments[0][0], data.actions[0]["id"], "got wrong id for interactive action")
231 compare(actionSpy.signalArguments[0][0], data.actions[0]["id"], "got wrong id for interactive action")
tests/qmltests/Notifications/tst_VisualSnapDecisionsQueue.qml+1
@@ -226,6 +226,7 @@ Row {
226
226
227 // remove top-most and verify one of the remaining ones is still getting expanded
227 // remove top-most and verify one of the remaining ones is still getting expanded
228
228
229+ waitForRendering(notifications);
229 // make first snap-decision expand
230 // make first snap-decision expand
230 mouseClick(snap_decision[0]);
231 mouseClick(snap_decision[0]);
231
232