Commit Graph

1870 Commits

Author SHA1 Message Date
vadimt 677abe2117 Annotating ignored tests with requests to enable them
Bug: 117106893
Change-Id: Ib8e578913ceebee44a507b5e333e7da07c6120d0
2019-04-22 17:34:29 -07:00
Vadim Tryshev b226f28a8c Merge "Not using browser app in testing. It may not start." into ub-launcher3-qt-dev 2019-04-22 22:58:32 +00:00
TreeHugger Robot 67e52822a4 Merge "Removing ShortcutInfoCompat and directly using ShortcutInfo" into ub-launcher3-qt-dev 2019-04-22 22:51:27 +00:00
Sunny Goyal 6bbf6004f8 Removing ShortcutInfoCompat and directly using ShortcutInfo
Change-Id: I2842689e192a206c0d31558c8126eae1c7904598
2019-04-22 15:39:40 -07:00
vadimt 1256912237 Not using browser app in testing. It may not start.
Change-Id: I48b129d84ea9cf8f97193bcb769ba20738046ef5
2019-04-22 15:36:18 -07:00
Vadim Tryshev d5f95bf852 Merge "Logging TAPL interaction model" into ub-launcher3-qt-dev 2019-04-22 22:15:11 +00:00
Vadim Tryshev e028324d0a Merge "Verifying that test initialization switched to workspace" into ub-launcher3-qt-dev 2019-04-22 21:42:09 +00:00
vadimt a7cb479954 Logging TAPL interaction model
Change-Id: I7c44d1b145677919991338fa87e736712587a695
2019-04-22 14:41:12 -07:00
vadimt 24c7c0af98 Verifying that test initialization switched to workspace
Change-Id: I4d33f831a6fbb6632dc21d056fb239d9d1dcddd8
2019-04-22 14:07:23 -07:00
vadimt 2ff40b0cfb Disabling all DefaultLayoutProviderTest tests
See the bug for details. The problem is probably in
DefaultLayoutProviderTest.writeLayout.

Bug: 130562632
Change-Id: Ic1a14c9dd3cac4a4cf644c6bc9619d631295f92b
2019-04-22 10:32:21 -07:00
TreeHugger Robot bf81b2ca0c Merge "Adding wellbeing toast test" into ub-launcher3-qt-dev 2019-04-22 15:30:28 +00:00
vadimt 736adde1c7 Adding wellbeing toast test
Bug: 130914022
Change-Id: I777440884c122ec040e5e00bfbed41f2eb86b5b0
2019-04-19 19:15:37 -07:00
TreeHugger Robot 0f8c7c0e91 Merge "Disabling DefaultLayoutProviderTest due to flakiness" into ub-launcher3-qt-dev 2019-04-19 21:14:36 +00:00
vadimt 1048100581 Disabling DefaultLayoutProviderTest due to flakiness
Bug: 130562632
Change-Id: I332f06b52e94919612f4cb96e59528886364837f
2019-04-19 13:53:54 -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
Vadim Tryshev 42c6843ef9 Merge "Adding more icons to Launcher for tests" into ub-launcher3-qt-dev 2019-04-18 21:41:45 +00:00
vadimt 6b9dabc657 Adding more icons to Launcher for tests
Virtual device comes with too few preinstalled icons, so All Apps can't
scroll, which make tests fail.

Change-Id: Ie0901f6d6fe645c530a66c417c0405ef31787543
2019-04-18 14:25:23 -07:00
vadimt 5243d0fff8 Improving TAPL diags
Change-Id: Ic84a65e26c4d05776d7e2acd592bcc227dc86a42
2019-04-18 11:45:20 -07:00
TreeHugger Robot 762d1fc64f Merge "ShortcutInfo renamed to WorkspaceItemInfo" into ub-launcher3-qt-dev 2019-04-16 19:47:30 +00:00
vadimt b3e2cd3d88 Fixing icon dragging
Bug: 129434166
Change-Id: Id2e5509dbfbdb76ec868ca6117c2a0c0d5233404
2019-04-16 11:25:22 -07:00
Sunny Goyal 9589916418 ShortcutInfo renamed to WorkspaceItemInfo
Will get rid of ShortcutInfoCompat in a follow up cl

Change-Id: I7d7d9c938635f59b216290ba28bea9d0e0721a7d
2019-04-16 00:08:24 -07:00
vadimt a42dc530ee More improvements for wellbeing tests
Change-Id: I3c5866660bfb96378cdc80c1afc70ec438fc9add
2019-04-15 16:50:12 -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
vadimt b96898a025 Not using Settings app as a source of shortcuts
Bug: 126587956
Change-Id: I13ef4298a8133ff5773eef8658a04094d5d154da
(cherry picked from commit 476a511ca5)
2019-04-12 19:22:09 +00:00
Sunny Goyal c0f03d9665 Adding support for loading the default layout from a content provider
The autority of the provider should be set in secure settings:
  launcher3.layout.provider

Bug: 127987071
Change-Id: Iccf2960aa6c0a5a8ff9621b13d8963d9daecb993
2019-04-10 12:06:17 -07:00
Vadim Tryshev 32464d7de6 Merge "Not deleting assistant from sources" into ub-launcher3-master 2019-04-06 00:49:31 +00:00
vadimt e924eb93ae Not deleting assistant from sources
Now it's done via test config files

Change-Id: Ia31f6de8a44ce29b1ccc01fdb509b6d1e8f2d49d
2019-04-05 17:00:30 -07: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 ad56fdf1e2 Merge "Not using Settings in TaplTestsLauncher3.testDragAppIcon" into ub-launcher3-master 2019-04-05 02:06:30 +00:00
vadimt fb0cb7a26c Not using Settings in TaplTestsLauncher3.testDragAppIcon
Settings frequently crashes

Bug: 126587956
Change-Id: Ied62d6f8783d8f0f9c434bdd8ee14c62d6cbc4c1
2019-04-04 18:45:49 -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
Vadim Tryshev 077df72acc Merge "Diagnosing phone locked state in TAPL" into ub-launcher3-master 2019-04-04 17:36:46 +00:00
vadimt 471115589e Diagnosing phone locked state in TAPL
Change-Id: I4bc678b35ca373015eaf476901694aee4df348f3
2019-04-03 19:09:59 -07:00
Vadim Tryshev 293069f7ef Merge "Not using Play Store app in tests" into ub-launcher3-master 2019-04-04 01:52:50 +00:00
vadimt f185552108 Not using Play Store app in tests
As it magically misses from some devices

Change-Id: I7765d987ef996dc2f515b9a0023b6f545f9cb534
2019-04-03 18:31:43 -07:00
TreeHugger Robot a733fb11f8 Merge "Fix SwipeDetectorTest" into ub-launcher3-master 2019-04-04 01:26:53 +00:00
Tony Wickham 5b58d5f7b2 Fix SwipeDetectorTest
Change-Id: Ic2ef1f73b7381b31cf495ea505794c0689da9ac9
2019-04-03 18:10:54 -07:00