@@ -369,18 +369,17 @@ Rectangle {
369369 function assertFocusOnIndex(index) {
370370 var launcherPanel = findChild(launcher, "launcherPanel");
371371 var launcherListView = findChild(launcher, "launcherListView");
372− var bfbFocusHighlight = findChild(launcher, "bfbFocusHighlight");
372+ var bfb = findChild(launcher, "buttonShowDashHome");
373373
374374 waitForRendering(launcher);
375375 tryCompare(launcherPanel, "highlightIndex", index);
376− compare(bfbFocusHighlight.visible, index === -1);
376+ compare(bfb.highlighted, index === -1);
377377 for (var i = 0; i < launcherListView.count; i++) {
378378 var item = findChild(launcher, "launcherDelegate" + i);
379379 // Delegates might be destroyed when not visible. We can't check if they paint a focus highlight.
380380 // Make sure the requested index does have focus. for the others, try best effort to check if they don't
381381 if (index === i || item) {
382− var focusRing = findChild(item, "focusRing")
383− tryCompare(focusRing, "visible", index === i);
382+ tryCompare(item, "highlighted", index === i);
384383 }
385384 }
386385 }