~mzanetti/unity8/fix-left-edge-on-spread

« back to all changes in this revision

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

  • Committer: Michael Zanetti
  • Date: 2015-01-12 11:21:17 UTC
  • mfrom: (1459.1.85 unity8)
  • Revision ID: michael.zanetti@canonical.com-20150112112117-0x9srs9dx0ndp60g
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
214
214
 
215
215
            // click/tap on each snap-decision and verify only one is in expanded-state at any time
216
216
            for (var index = 0; index < snap_decision.length; index++) {
217
 
                mouseClick(snap_decision[index], snap_decision[index].width / 2, snap_decision[index].height / 2)
 
217
                mouseClick(snap_decision[index])
218
218
                for (var kindex = 0; kindex < snap_decision.length; kindex++) {
219
219
                    if (kindex == index) {
220
220
                        compare(snap_decision[kindex].state, "expanded", "state of "+ kindex + ".snap-decision is not expanded");
227
227
            // remove top-most and verify one of the remaining ones is still getting expanded
228
228
 
229
229
            // make first snap-decision expand
230
 
            mouseClick(snap_decision[0], snap_decision[0].width / 2, snap_decision[0].height / 2);
 
230
            mouseClick(snap_decision[0]);
231
231
 
232
232
            for (var index = 1; index < snap_decision.length; index++) {
233
233
                removeTopMostNotification();