Commit Graph

1535 Commits

Author SHA1 Message Date
TreeHugger Robot
e5a21905b8 Merge "Adding more diags for TAPL actions that change Launcher state" into sc-dev 2021-07-06 18:59:52 +00:00
vadimt
9960884744 Adding more diags for TAPL actions that change Launcher state
Test: presubmit
Bug: 187761685
Change-Id: Ia3effe12d9c0448fe3b15909662755ee35b8ef51
Merged-In: I11a29956613a4a211d49ee3df6d78e0000b80ced
2021-07-03 00:53:55 +00:00
vadimt
35c3c76d57 Deleting screen records for succeeded tests
Test: local runs
Bug: 187761685
Change-Id: I3b1a75b775d1d6677b331869a063fc6132217947
2021-07-03 00:46:46 +00:00
vadimt
7bd2a77144 Adding more diags for TAPL actions
Ones that change Launcher state.

Test: presubmit
Bug: 187761685
Change-Id: I11a29956613a4a211d49ee3df6d78e0000b80ced
2021-07-02 21:36:11 +00:00
Alex Chau
fc27bd17af Fix TaplTestsLauncher.testWorkspace's page expectation for 2 panel
- In tablet, workspace is scrollable only if page count > 2 instead of 1

Bug: 191344757
Test: TaplTestsLauncher.testWorkspace
Change-Id: I1db4e03bc1edd7976a75b2a5f6fedf69eea7b435
2021-07-02 19:55:25 +01:00
Vadim Tryshev
93eac82376 Merge "Converting some TAPL sequence mismatches to human-readable diags." into sc-dev am: eead98d493
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15150391

Change-Id: I56e042d5f646cd13058f7e5127faf4cdd81d17a1
2021-06-30 23:17:22 +00:00
Vadim Tryshev
eead98d493 Merge "Converting some TAPL sequence mismatches to human-readable diags." into sc-dev 2021-06-30 23:03:34 +00:00
vadimt
4903c7823e Converting some TAPL sequence mismatches to human-readable diags.
Test: local runs
Bug: 187761685
Change-Id: Ie2c64a22f56b0bed1cd175486b42beedb06285cc
2021-06-30 13:58:02 -07:00
Vadim Tryshev
0c3a3125a5 Merge "Verifying success of setting default Launcher in tests" into sc-dev am: ba302e8a6a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15158349

Change-Id: I45b7cdf29ea93351fb2a47a7ec207739de5e3745
2021-06-30 20:44:53 +00:00
Vadim Tryshev
ba302e8a6a Merge "Verifying success of setting default Launcher in tests" into sc-dev 2021-06-30 20:43:36 +00:00
Yogisha Dixit
ba28286260 Merge "Log widgets source." into sc-dev am: f9acf1d5d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14690879

Change-Id: I2fa39b66ca31549f7754657b7d3bde6bdf8a5f59
2021-06-30 18:33:44 +00:00
Yogisha Dixit
658c5dafd4 Log widgets source.
Test: manual
(1) Upgrading to new DB version is successful (no errors thrown in logcat)
(2) Widgets that were added with the old DB version have CONTAINER_UNKNOWN as their source container
(3) Widgets that are added with the new DB version still log source container after reboot
Bug: 185778648
Change-Id: Iaa38f0be6bc4cb0d29842f9a2ea0d08de000c930
2021-06-30 17:48:14 +00:00
vadimt
a26516c575 Verifying success of setting default Launcher in tests
Test: local runs
Bug: 187080582
Change-Id: Iece234e58e2faa80996001f6de1943f065522400
2021-06-30 10:12:56 -07:00
Yogisha Dixit
ffd5acea77 Merge "Show resize frame when widget is added." into sc-dev am: 419ee4599e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13956205

Change-Id: I318890ec7296fdd9f2176cf19e77898ed5acbf0e
2021-06-29 21:21:45 +00:00
Yogisha Dixit
037a5362d8 Show resize frame when widget is added.
I referenced the code in Workspace.java that updates the widget view's
layout params before showing the resize frame.

Test: manual, AddWidgetTest and AddConfigWidgetTest tapl tests
Bug: 183437963
Change-Id: I6655917878fa22d6084b4bf39fc0661e7278d6f9
2021-06-29 18:25:38 +01:00
Zak Cohen
ac158918fe Merge "Make OverviewActions tests more robust, wait for enabled" into sc-dev am: 05098deb73
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15111718

Change-Id: I7073db1390536fd2ddf145784e739d92eb33224b
2021-06-28 18:16:34 +00:00
Zak Cohen
05098deb73 Merge "Make OverviewActions tests more robust, wait for enabled" into sc-dev 2021-06-28 17:59:26 +00:00
TreeHugger Robot
9f867ac8b6 Merge "Enabling screen record for some flaky tests" into sc-dev am: 5c6d7c3a1f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15112968

Change-Id: I188875721529cbb36fd5ae37fb304953125802fc
2021-06-26 15:10:36 +00:00
TreeHugger Robot
8c15da0654 Merge "Improving hierarchy dump for test failure" into sc-dev am: e9d8df54ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15097672

Change-Id: I3de22c6313d83b991dd880c5520a3e1ecfe0999b
2021-06-26 15:10:22 +00:00
TreeHugger Robot
5c6d7c3a1f Merge "Enabling screen record for some flaky tests" into sc-dev 2021-06-26 00:33:05 +00:00
Sunny Goyal
85a84e52cc Enabling screen record for some flaky tests
Bug: 187080582
Bug: 192005114
Bug: 192018189
Bug: 192010616
Test: Manual
Change-Id: I32fc0e4c9848c4def1aa6254139579bc631862cc
2021-06-25 15:40:55 -07:00
zakcohen
ef252d85ad Make OverviewActions tests more robust, wait for enabled
Wait for buttons to be enabled before trying to click on them.

Bug: 192006530
Test: TaplTestQuickstep
Change-Id: I80e050dcd93b8aae195677f2cd1fed3b53682581
2021-06-25 15:28:38 -07:00
Sunny Goyal
420ba54dee Improving hierarchy dump for test failure
Bug: 192003777
Test: Manual
Change-Id: I3223a14cd88beddd76ecae0ae37c6fdce0752bef
2021-06-25 12:41:51 -07:00
Alex Chau
7a9972289f Add touch event of on taskbar for various cases
- Temporarily disable leak detection on tablets until b/191449914 is resolved
- Add touch event on taskbar when interacting with navigation buttons
- Added TaplTestsLauncher3.initialize to StartLauncherViaGestureTests which is present in TaplTestQuickstep to solve LauncherInstrumentation being null problem on tablets

Bug: 191344757, 191449914
Test: TaplTestQuickstep and StartLauncherViaGestureTests
Change-Id: I49accc458d133717f290140abe80aae8a683f6c0
2021-06-24 18:00:12 +01:00
TreeHugger Robot
5e72b9cad2 Merge "Fix Tapl Background.switchToOverview for tablets" into sc-v2-dev 2021-06-23 19:54:07 +00:00
Alex Chau
4637260ab9 Fix Tapl Background.switchToOverview for tablets
- The test failed because of unexpected touch event recoreded
- This is because it does not expect the gesture to start from launcher. But with taskbar present, the touch will be recorded from taskbar

Bug: 191344757
Test: TaplTestsQuickStep
Change-Id: I09b5a3029eef5cdc874bbbe8653976f12136144c
2021-06-23 19:06:20 +01:00
Vadim Tryshev
46aab40dd5 Merge "Detect leaks only on test success Bug: 191690396 Test: presubmit" into sc-dev am: 9d7ff51901
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15068626

Change-Id: I15ec31f5147ee3a484d33dedc3e6ae5dfe25abbd
2021-06-23 17:52:35 +00:00
Vadim Tryshev
9d7ff51901 Merge "Detect leaks only on test success Bug: 191690396 Test: presubmit" into sc-dev 2021-06-23 17:50:47 +00:00
vadimt
143748fbf4 Detect leaks only on test success
Bug: 191690396
Test: presubmit

Change-Id: Ie59c3b944d420ac25ebba86bf500fcf33700ca99
2021-06-22 18:49:34 -07:00
Vadim Tryshev
b64e067450 Merge "Improving TAPL diagnostics" into sc-dev am: c5c0e5e96e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15056761

Change-Id: Icda0324952530680318cee6892680b146615c927
2021-06-22 18:20:41 +00:00
Vadim Tryshev
c5c0e5e96e Merge "Improving TAPL diagnostics" into sc-dev 2021-06-22 18:06:06 +00:00
TreeHugger Robot
d08afa9cb7 Merge "Improving diagnostics for objects disappearing from screen" into sc-dev am: 5dae3f3162
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14989389

Change-Id: I39008775e5557b5d0a21596550e4070b62b65f38
2021-06-22 03:47:34 +00:00
TreeHugger Robot
5dae3f3162 Merge "Improving diagnostics for objects disappearing from screen" into sc-dev 2021-06-22 03:33:19 +00:00
vadimt
2c81502028 Improving TAPL diagnostics
Test: presubmit
Bug: 187761685
Change-Id: Ib8e965862c6accb393681c8b3ede60c7f9d26e48
2021-06-21 19:22:18 -07:00
Vinit Nayak
b974a86c8f Add IDs to buttons in 3 button nav for Taskbar
Bug: 191449914
Test: testSwitchToOverview passes
See bug for more details

Change-Id: I108bbe7607181680bca7cb5fad5e7289191edde6
2021-06-18 18:20:44 -07:00
TreeHugger Robot
0877cdab7a Merge "Ensure widgets header is out of the gesture region before clicking" into sc-dev 2021-06-18 00:56:52 +00:00
Vadim Tryshev
26cd946f29 Merge "Improving diagnostics when Launcher dies while in ContentProvider call" into sc-dev 2021-06-17 21:02:24 +00:00
Tony Wickham
d410a2c168 Ensure widgets header is out of the gesture region before clicking
This way, NexusLauncher won't appear during the Launcher3 test.

Test: AddConfigWidgetTest#testConfigCancelled
Bug: 188450580
Change-Id: Iedf0e0e17eab2473ecd2d17a4391cf9db3e80599
2021-06-17 17:49:54 +00:00
vadimt
5a03ade794 Improving diagnostics when Launcher dies while in ContentProvider call
Test: presubmit
Bug: 191059619
Change-Id: Ib87a41663a63729024b41603973b782cf4763551
2021-06-15 19:34:24 -07:00
Jon Miranda
229c4c3235 App Shortcut menu bug fixes and polish.
- Widget is its own item.
- Change order of icon order.
- Update grab handle colors

Bug: 188095695
Test: long press on apps with/without widgets, long press apps on workspace/
      all apps/search

Change-Id: Iabb9b4b3f3a928103b9d62601f22e74ef2325d7c
2021-06-15 18:59:51 -07:00
vadimt
c636900a90 Improving diagnostics for objects disappearing from screen
Test: presubmit
Bug: 187761685
Change-Id: Id932e8100399990d791f7825787708d5d459f61e
2021-06-15 18:52:31 -07:00
vadimt
7d3f73c856 Excluding corner radius from quick switch gesture.
Test: forrest on new devices
Bug: 190638716

Change-Id: Iefa89e040ab77869db7022d7c535a5546e03ae3c
2021-06-14 15:05:23 -07:00
TreeHugger Robot
ce7084f45d Merge "Removing UB flavor of TAPL library" into sc-dev 2021-06-14 21:05:33 +00:00
TreeHugger Robot
b32c61a6cc Merge "Logging UPs and DOWNs that TAPL injects" into sc-dev 2021-06-14 20:55:48 +00:00
vadimt
1e1ad449a8 Logging UPs and DOWNs that TAPL injects
Test: presubmit
Bug: 190748682
Change-Id: I82e792724bab178a9c3ca190609af913fbaf4a87
2021-06-11 14:10:45 -07:00
vadimt
6c2e3b3031 Removing UB flavor of TAPL library
Test: presubmit
Bug: 187761685
Change-Id: Ide5060886f1b9856c1046bc2028f55418e8c1e0e
2021-06-11 13:34:57 -07:00
Jon Miranda
32ff76cb4e Adding color back to popup container.
For Color exctraction now occurs in groups:
- System shortcuts
- Deep shortcuts
- Notifications

For home setting popup, each DeepShortcutView will have its own
extracted color.

Bug: 188095443
Test: manual
Change-Id: I7e209f863ff180b8f017aeb2a73c6f1a51842e68
2021-06-10 19:15:24 +00:00
Vadim Tryshev
1ba5a68e31 Merge "Improve diagnostics when cannot install wellbeing test apk" into sc-dev 2021-06-04 19:15:55 +00:00
TreeHugger Robot
3941bc65e3 Merge "Delaying initializing "is launcher3" flag" into sc-dev 2021-06-02 00:11:47 +00:00
vadimt
8d27c4c40c Delaying initializing "is launcher3" flag
Launcher3 tests may set default launcher after instantiating TAPL

Test: presubmit
Bug: 188477498
Change-Id: I6e40bc3fcf9c4f040983f164d3a04d0189228f83
2021-06-01 14:11:58 -07:00