@@ -2007,9 +2007,6 @@ Rectangle {
2007 tryCompare(shortcutHint, "visible", false);
2007 tryCompare(shortcutHint, "visible", false);
2010− /* This isn't working yet. keyClick doesn't eat Qt.MetaModifier and GlobalShortcut doesn't
2011− act on keyPress(Qt.Key_Super_L) + keyPress(Qt.Key_1)
2013 function test_metaNumberLaunchesFromLauncher() {
2010 function test_metaNumberLaunchesFromLauncher() {
2014 loadShell("desktop");
2011 loadShell("desktop");
2015 var launcher = findChild(shell, "launcher");
2012 var launcher = findChild(shell, "launcher");
@@ -2017,9 +2014,11 @@ Rectangle {
2017 var secondAppInLauncher = LauncherModel.get(1).appId;
2014 var secondAppInLauncher = LauncherModel.get(1).appId;
2018 waitForRendering(shell);
2015 waitForRendering(shell);
2020− keyClick(Qt.MetaModifier|Qt.Key_1);
2017+ keyClick(Qt.Key_1, Qt.MetaModifier);
2021 tryCompare(ApplicationManager, "focusedApplicationId", firstAppInLauncher);
2018 tryCompare(ApplicationManager, "focusedApplicationId", firstAppInLauncher);
2020+ keyClick(Qt.Key_2, Qt.MetaModifier);
2021+ tryCompare(ApplicationManager, "focusedApplicationId", secondAppInLauncher);