~ci-train-bot/unity8/unity8-ubuntu-zesty-2663

« back to all changes in this revision

Viewing changes to tests/qmltests/Launcher/tst_Drawer.qml

  • Committer: Nick Dedekind
  • Date: 2017-03-15 15:22:07 UTC
  • mfrom: (2868 unity8)
  • mto: This revision was merged to the branch mainline in revision 2892.
  • Revision ID: nick.dedekind@canonical.com-20170315152207-9ts6lyu1v2pruue2
merged with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
311
311
 
312
312
            compare(launcher.lastSelectedApplication, "calendar-app");
313
313
        }
 
314
 
 
315
        function test_focusAppFromLauncherWhileDrawerIsOpen() {
 
316
            // FIXME: Skipping this test because of a bug in Qt. Please enable
 
317
            // once https://codereview.qt-project.org/#/c/184942/ is accepted
 
318
            skip();
 
319
 
 
320
            launcher.openDrawer(true);
 
321
            waitForRendering(launcher);
 
322
            waitUntilTransitionsEnd(launcher);
 
323
 
 
324
            var appIcon = findChild(launcher, "launcherDelegate4")
 
325
 
 
326
            mouseMove(launcher, units.gu(4), launcher.height / 2)
 
327
            mouseClick(appIcon, appIcon.width / 2, appIcon.height / 2);
 
328
 
 
329
            tryCompare(launcher, "state", "visibleTemporary");
 
330
        }
314
331
    }
315
332
}