@@ -369,18 +369,17 @@ Rectangle {
369 function assertFocusOnIndex(index) {
369 function assertFocusOnIndex(index) {
370 var launcherPanel = findChild(launcher, "launcherPanel");
370 var launcherPanel = findChild(launcher, "launcherPanel");
371 var launcherListView = findChild(launcher, "launcherListView");
371 var launcherListView = findChild(launcher, "launcherListView");
372− var bfbFocusHighlight = findChild(launcher, "bfbFocusHighlight");
372+ var bfb = findChild(launcher, "buttonShowDashHome");
374 waitForRendering(launcher);
374 waitForRendering(launcher);
375 tryCompare(launcherPanel, "highlightIndex", index);
375 tryCompare(launcherPanel, "highlightIndex", index);
376− compare(bfbFocusHighlight.visible, index === -1);
376+ compare(bfb.highlighted, index === -1);
377 for (var i = 0; i < launcherListView.count; i++) {
377 for (var i = 0; i < launcherListView.count; i++) {
378 var item = findChild(launcher, "launcherDelegate" + i);
378 var item = findChild(launcher, "launcherDelegate" + i);
379 // Delegates might be destroyed when not visible. We can't check if they paint a focus highlight.
379 // Delegates might be destroyed when not visible. We can't check if they paint a focus highlight.
380 // Make sure the requested index does have focus. for the others, try best effort to check if they don't
380 // Make sure the requested index does have focus. for the others, try best effort to check if they don't
381 if (index === i || item) {
381 if (index === i || item) {
382− var focusRing = findChild(item, "focusRing")
383− tryCompare(focusRing, "visible", index === i);
382+ tryCompare(item, "highlighted", index === i);