@@ -2236,12 +2236,12 @@ Rectangle {
2236 waitForRendering(shortcutsOverlay);
2236 waitForRendering(shortcutsOverlay);
2237 tryCompare(launcher, "state", "visible");
2237 tryCompare(launcher, "state", "visible");
2238 tryCompare(shortcutHint, "visible", true);
2238 tryCompare(shortcutHint, "visible", true);
2239− tryCompareFunction(function() { return shortcutsOverlay.visible; }, true, 40000);
2239+ tryCompareFunction(function() { return shortcutsOverlay.opacity > 0; }, true, 40000);
2241 keyRelease(Qt.Key_Super_L, Qt.MetaModifier);
2241 keyRelease(Qt.Key_Super_L, Qt.MetaModifier);
2242 tryCompare(launcher, "state", "");
2242 tryCompare(launcher, "state", "");
2243 tryCompare(shortcutHint, "visible", false);
2243 tryCompare(shortcutHint, "visible", false);
2244− tryCompare(shortcutsOverlay, "visible", false);
2244+ tryCompare(shortcutsOverlay, "opacity", 0);
2247 function test_metaNumberLaunchesFromLauncher_data() {
2247 function test_metaNumberLaunchesFromLauncher_data() {