on xenial help sign in
add test for search indicator visibility
3d8681fOmer Akram
tests/qmltests/tst_Shell.qml+12
@@ -483,5 +483,17 @@ Item {
483 var dash = findChild(shell, "dash");
483 var dash = findChild(shell, "dash");
484 tryCompare(dash, "shown", data.expectedShown);
484 tryCompare(dash, "shown", data.expectedShown);
485 }
485 }
486+
487+ function test_searchIndicatorHidesOnAppFocus() {
488+ var searchIndicator = findChild(shell, "container")
489+ tryCompare(searchIndicator, "opacity", 1)
490+ dragLauncherIntoView();
491+
492+ // Launch an app from the launcher
493+ tapOnAppIconInLauncher();
494+ waitUntilApplicationWindowIsFullyVisible();
495+
496+ tryCompare(searchIndicator, "opacity", 0);
497+ }
486 }
498 }
487}
499}