@@ -1165,7 +1165,14 @@ Rectangle {
11651165 tryCompare(shortCutHint0, "visible", false);
11661166 }
11671167
1168− function test_keyboardNavigation() {
1168+ function test_keyboardNavigation_data() {
1169+ return [
1170+ {tag: "right key", key: Qt.Key_Right},
1171+ {tag: "menu key", key: Qt.Key_Menu}
1172+ ]
1173+ }
1174+
1175+ function test_keyboardNavigation(data) {
11691176 var bfbFocusHighlight = findChild(launcher, "bfbFocusHighlight");
11701177 var quickList = findChild(launcher, "quickList");
11711178 var launcherPanel = findChild(launcher, "launcherPanel");
@@ -1206,7 +1213,7 @@ Rectangle {
12061213 assertFocusOnIndex(0); // Back to Top
12071214
12081215 // Right opens the quicklist
1209− keyClick(Qt.Key_Right);
1216+ keyClick(data.key);
12101217 assertFocusOnIndex(0); // Navigating the quicklist... the launcher focus should not move
12111218 tryCompare(quickList, "visible", true);
12121219 tryCompare(quickList, "selectedIndex", 0)