This commit is contained in:
1 parent
02ce0491c1
commit
7d2bf5996f
2 files changed
+58
-2
No files matched your search
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user