vadimt
3ab80bb734
Enable debug tracing for a lab-only non-starting app from all apps
...
Bug: 132900132
Change-Id: I9c5bb51e49f865ea1e1d3d2209a8dfb149f66e87
2019-05-22 12:58:35 -07:00
Vadim Tryshev
07b985b5e5
Merge "TAPL: switching all swipes to model time" into ub-launcher3-qt-dev
2019-05-22 18:26:21 +00:00
TreeHugger Robot
0ef504aa71
Merge "Adding tracing for a lab-only flake" into ub-launcher3-qt-dev
2019-05-22 03:12:56 +00:00
vadimt
cfc2e02a94
TAPL: switching all swipes to model time
...
Bug: 133010773
Change-Id: I3334ac4ac434bf1c6470c806bb216eb7bd8e22c2
2019-05-21 18:29:19 -07:00
vadimt
e17d1feb79
Adding tracing for a lab-only flake
...
We had a resolved case in the past where an app's context menu didn't
open on a long click (thanks to app updates), now the menu opens, but
the drag gesture doesn't drag the icon.
Bug: 133009122
Change-Id: I45d104a92fab6556ecd937aef76f0a8147e67f56
2019-05-21 17:19:23 -07:00
vadimt
3479cf80e7
More logging in AllApps + a fix
...
Change-Id: Iebcb336beee36b0aea47404f8c5d31dec14e7383
2019-05-21 12:08:15 -07:00
vadimt
a1a417c994
Searching icons only in apps_list_view
...
This should help avoiding situations when an icon is intermittently
found in the suggested row vs. the recycler.
Change-Id: I71b17caa5f827999f0901d5c4d4348de7e16f053
2019-05-21 11:49:49 -07:00
vadimt
1053de165e
Marking sure the center of icon is not under search box in all apps
...
Change-Id: I9cfc9941be2bed7834d58039fbfc2741fcf50cba
2019-05-21 11:10:03 -07:00
vadimt
982ea56122
Making sure that the icon in all apps is not under search box
...
Bug: 133011252
Bug: 133010447
Change-Id: Ie735ac36fa063d0d9290c59f6ad4af9e05600ddf
2019-05-20 16:53:39 -07:00
Sunny Goyal
1b40b731b2
Using different resource size for touch region in landscape
...
Bug: 132917885
Change-Id: Ib702fd17fecff980db2e1d00f05cd055bcc3185a
2019-05-20 10:09:26 -07:00
vadimt
c7bb8479e9
Fix pinning tests on android virtual device
...
Change-Id: I90a8753975538ab9864591a37a7d366e1222f2d8
2019-05-16 16:32:25 -07:00
vadimt
65f6c628ed
Including accessibility hierarchy for all TAPL fails
...
Change-Id: I3357f33b3749bb9799b1b72af4c0084cd2e5dbca
2019-05-15 12:14:15 -07:00
vadimt
1886245359
Swipe from all apps from overview starts on an icon
...
In some configs, Overview has prediction row, in others hotseat. So
swiping from an icon in either.
Change-Id: I98db3df4f612fcd9d5b7057835c49ca58313210f
2019-05-14 18:56:10 -07:00
vadimt
1824b562b2
Using model-time for Overview.switchToAllApps
...
Change-Id: I35efcc2f04d4d31f9b2a8d42a3fce29c481951f5
2019-05-14 17:49:28 -07:00
vadimt
d96bda552d
Using model-time for swiping up from workspace to all apps
...
Should eliminate some of flakes
Change-Id: I7b75b6c66d9a6d561151491b0accde72b0dd3088
2019-05-14 13:48:15 -07:00
TreeHugger Robot
4fbfb4123a
Merge "Using model-time scrolling in all apps" into ub-launcher3-qt-dev
2019-05-14 20:34:15 +00:00
vadimt
3d13f303ee
Using model-time scrolling in all apps
...
This should solve flakes when the test thread wakes up too rarely to
inject enough touch events.
Change-Id: I461583d35eb4bfe0192b81c242aacf8d20e353d1
2019-05-14 10:40:22 -07:00
Vadim Tryshev
55042c5bfe
Merge "TAPL: avoiding negative final coordinate of swipe-to-all apps" into ub-launcher3-qt-dev
2019-05-11 00:05:50 +00:00
Vadim Tryshev
08ff6f586c
Merge "TAPL: Simplifying BaseOverview" into ub-launcher3-qt-dev
2019-05-10 21:45:12 +00:00
vadimt
02fb35319e
TAPL: avoiding negative final coordinate of swipe-to-all apps
...
Change-Id: I15c2bf44b7fe2e2ac2fc85db02069441b2aeb807
2019-05-10 14:34:16 -07:00
vadimt
90b420a618
TAPL: Simplifying BaseOverview
...
Change-Id: I15124a95bf71be78f8e450688d83d4adbad3196f
2019-05-10 14:19:53 -07:00
vadimt
732becfd66
Tests: attempt to wait until navigation mode settles after switching
...
Change-Id: If2d14a062275a6cfbc81d1cb7d7ca38da302b51c
2019-05-10 12:12:44 -07:00
vadimt
1b383af652
Not using magic constants for navbar height
...
Change-Id: I6783b8a2ebb059ce35748d8c3e818cbe732ff40d
2019-05-08 17:20:34 -07:00
Vadim Tryshev
080f818642
Reducing flakiness of swipe gestures
...
Swipe to home now injects a fixed number of points even if the test
thread wakes up irregularly, and sends model (not actual) time in
events.
Bug: 132173901
Bug: 132107664
Change-Id: I0a19bbc2a0c3312f353ad49ebe496eef1f172276
2019-05-07 17:53:24 -07:00
vadimt
16f2cd6cad
Removing pressing home button twice
...
Bug: 124239413
Change-Id: I8c14c7e939bb4442cc830dcff3ec266ed8ed7186
2019-05-06 10:38:08 -07:00
vadimt
0030834239
Temporary hacks to make tests pass on Taimen
...
Change-Id: I66a81a0407be13c15596c63f21773f8e2dea5d2d
2019-05-03 11:42:43 -07:00
vadimt
a3c0a082f9
Temporarily using magic constant to avoid closing all apps by scrolling
...
Change-Id: Ic99c8ad85525e37563b3f1debb125073055ac2f0
2019-05-02 18:38:57 -07:00
vadimt
8649cf29e4
Remove tracing for fixed bugs
...
Bug: 129434166
Bug: 131170582
Change-Id: Ia9b356594001d96c69ffbb7f8b767b2f54ed5feb
2019-05-01 16:10:56 -07:00
vadimt
dc5b2fbdbe
Slowing down gestures for virtual device
...
Change-Id: I636bd3c053295041d0ae4e5c97f2790f5a1e40dd
2019-04-29 17:18:30 -07:00
vadimt
8dca8a7328
Not switching nav mode on a virtual device for now
...
Change-Id: Ie089638b6252073e5e495e87c7bc0d252a58e95f
2019-04-29 16:01:47 -07:00
vadimt
a7cb479954
Logging TAPL interaction model
...
Change-Id: I7c44d1b145677919991338fa87e736712587a695
2019-04-22 14:41:12 -07:00
Vadim Tryshev
9ccc21b637
Merge "Add more test diags" into ub-launcher3-qt-dev
2019-04-19 19:11:54 +00:00
vadimt
9c3b6bbe04
Add more test diags
...
Bug: 129434166
Change-Id: I1e2646e2e878eb3f7c93840937b33b2837aa31ac
2019-04-19 11:51:55 -07:00
vadimt
5243d0fff8
Improving TAPL diags
...
Change-Id: Ic84a65e26c4d05776d7e2acd592bcc227dc86a42
2019-04-18 11:45:20 -07:00
vadimt
b3e2cd3d88
Fixing icon dragging
...
Bug: 129434166
Change-Id: Id2e5509dbfbdb76ec868ca6117c2a0c0d5233404
2019-04-16 11:25:22 -07:00
Vadim Tryshev
5235a8867b
Merge "More diagnostics for dragging failures in the lab, now for OOP tests" into ub-launcher3-qt-dev
2019-04-15 19:29:41 +00:00
vadimt
7d90c653d6
More diagnostics for dragging failures in the lab, now for OOP tests
...
Bug: 129434166
Change-Id: I38b62ef74c0307f12ee85bbc05940400e9ba2302
2019-04-15 12:10:50 -07:00
vadimt
79fa370389
Better diags in ensureWorkspaceIsScrollable
...
Bug: 128531133
Change-Id: Ie396e985ddcbe1bf131ed1ccd38431a555fb2014
2019-04-15 11:36:49 -07:00
Vadim Tryshev
b1303d57f7
Merge "Gestures for zero-button mode" into ub-launcher3-qt-dev
2019-04-13 01:50:16 +00:00
vadimt
679b09d6bd
Gestures for zero-button mode
...
Change-Id: If17ba764ede132694ccf0c56269df1a4117ec0f6
2019-04-12 18:19:38 -07:00
vadimt
c255c8b357
Unlock the phone before each test
...
We were trying to do so from the test config, but this didn't work
Change-Id: I098eb392c76572bc43443adac130fa8700b49bde
2019-04-12 14:00:40 -07:00
vadimt
ab472e8c06
Simplifying and removing unnecessary checks from app-drag tests
...
Change-Id: Iab6603f62b8e3c95b2c3351bfe41f35f15f59246
(cherry picked from commit 8dc1dbe814 )
2019-04-12 19:26:01 +00:00
vadimt
6938276da1
Tapl: also logging contexts
...
Contexts were added for better diags when an assert happens, but they
are also useful for tracing the test execution.
Change-Id: I1512f3f7e02a373096bab4f0b390b1febfc96334
(cherry picked from commit 77ca70fea6 )
2019-04-12 19:25:01 +00:00
vadimt
6903c0ac65
Use correct indicator of a long-press success in tests
...
It's the presence of the context menu if we long-press a shortcut, and
the drop target bar if we press a menu item.
Change-Id: Ic02462fa766e23b74f41b8a73fefd519aea08407
(cherry picked from commit e77fc83222 )
2019-04-12 19:23:40 +00:00
Vadim Tryshev
9155ea4cf2
Merge "Changing how we inject drag gesture" into ub-launcher3-master
2019-04-05 23:51:01 +00:00
vadimt
a6700d04d8
Changing how we inject drag gesture
...
Since Launcher doesn't use event time to detect the long click that
start drag, it may not detect valid long clicks. Now waiting for the
context menu to appear.
Bug: 129434166
Change-Id: I7431d185016152fa63e75ea394dd8caf3365b21b
2019-04-05 13:31:36 -07:00
Vadim Tryshev
2c46fcfa3a
Merge "Going home via swipe in supported cases" into ub-launcher3-master
2019-04-04 23:24:10 +00:00
vadimt
01e114bbf5
Going home via swipe in supported cases
...
Change-Id: I8a127e206374e6e4274ad970cfaf132c3089125b
2019-04-04 15:38:08 -07:00
vadimt
2a0670890a
Not using system res ids in tests
...
Change-Id: I3aad2380dd6cd51ee23803cf5164f8b332a62e98
2019-04-04 14:36:53 -07:00
vadimt
24eb1c9c89
Not using magic constant for edge sensitivity
...
+Some cleanup in TAPL
Change-Id: I886a6c4abacf8b806ee5507e633ec21f2e7ad1d4
2019-04-04 13:20:34 -07:00