Add home search pill that opens the app drawer
Launcher / apk (push) Failing after 2m47s

This commit is contained in:
nandi committed 2026-11-18 22:18:50 +00:00
1 parent 02ce0491c1
commit 7d2bf5996f
2 files changed
+58 -2

No files matched your search

+8
View File
@@ -295,6 +295,14 @@ int main(int argc, char *argv[]) {
tap(center(slotRect(0)));
eq(js("notice"), "Open com.example.gmail/.MainActivity", "tapping a home app opens it");
// the search pill on the front page opens the drawer (its search focuses there)
tap(itemCenter("homeSearch"));
check(js("drawerOpen").toBool(), "tapping the home search opens the drawer");
snap("home-search");
js("closeDrawer()");
settle(300);
check(!js("drawerOpen").toBool(), "and it closes again");
// hold a widget without moving: resize handles; drag them to snap it to the grid
hold(center(slotRect(3))); release(center(slotRect(3))); settle(200);
eq(js("resizing"), 3, "a widget gets handles, not the menu");