~mzanetti/unity8/hide-settings-count-emblem

« back to all changes in this revision

Viewing changes to tests/qmltests/Notifications/tst_SwipeToAct.qml

Allow swipe-to-dismiss for contracted snap-decision notifications, interactive notifications and ephemeral notifications. Fixes: #1334855, #1355422
Approved by: Michał Sawicz, PS Jenkins bot, Albert Astals Cid

Show diffs side-by-side

added added

removed removed

Lines of Context:
218
218
                // populate model with some mock notifications
219
219
                mockModel.append(data)
220
220
 
 
221
                // add actions to action-model to test against
 
222
                myActionModel.append("ok_id", "Ok")
 
223
                myActionModel.append("cancel_id", "Cancel")
 
224
 
221
225
                // make sure the view is properly updated before going on
222
226
                notifications.forceLayout();
223
227
                waitForRendering(notifications);