on xenial help sign in
add test for search indicator visibility
commit3d8681f7b5d00f235e57cde28a0554fb216125ae authorOmer Akram <om26er@ubuntu.com> dateFri 25 Oct 2013, 12:21 (13 years ago) parentf2920dd
1 file changed+12
tests/qmltests/tst_Shell.qml+12
tests/qmltests/tst_Shell.qml+12
@@ -483,5 +483,17 @@ Item {
483483 var dash = findChild(shell, "dash");
484484 tryCompare(dash, "shown", data.expectedShown);
485485 }
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+ }
486498 }
487499}