Andy Wickham
89638d2252
Merge "Enable Floating Search by default and update tests accordingly."
2023-02-03 10:27:38 +00:00
Andy Wickham
952400d2f2
Enable Floating Search by default and update tests accordingly.
...
Tests need to be updated to account for the new placement of the
searchbar because it overlapped with touch events for scrolling:
- Scroll back to top: Instead of scrolling from the top of the
container which could overlap status bar in landscape, scroll
from the bottom of the top-most visible app icon.
- Scroll down: swipe up from bottom padding to top of top-most
visible icon.
- Close all apps: swipe down fom top of recyclerview instead
of search bar.
For Launcher3, the floating flag is not fully supported yet, so
there were some layout issues which are now resolved by ignoring
the flag if the searchbar is still at the top.
Fix: 261873937
Test: Ran tests, manual
Change-Id: I7d6fc7deac630835b96fc173211ce31271152607
2023-02-02 21:05:52 -08:00
TreeHugger Robot
b59cdf26ab
Merge "Add @ScreenRecord to testPressHomeOnAllAppsContextMenu" into tm-qpr-dev am: 18be12d0dd am: fda08cb9cb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21136643
Change-Id: Id5d7459eb28d8c4cf9e992e1f2ac61d05e11dd19
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-01 21:28:20 +00:00
hyunyoungs
50b824392a
Add @ScreenRecord to testPressHomeOnAllAppsContextMenu
...
Bug: 264538883
Test: seems to run fin on tm-qpr-dev
Change-Id: If395260ba58496282b651e1938e28f3cef22654f
2023-01-28 18:55:05 -08:00
Luca Zuccarini
b25ea2d33f
Add Tapl support for swiping from All Apps to Workspace. am: 55d828b6f5 am: 242eeea4ea
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20551691
Change-Id: Idff9df5162ef48783beb8eb6662838948b8d2d90
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-27 15:01:14 +00:00
Luca Zuccarini
55d828b6f5
Add Tapl support for swiping from All Apps to Workspace.
...
This mirrors the way we swipe from Workspace to All Apps, with minor
differences for selecting the start position of the swipe motion.
Bug: 260218332
Test: included
Change-Id: I9fe2284b1c920ebed87a6bab3dfc9c8c29aa2d5d
2022-12-21 15:38:51 +00:00
TreeHugger Robot
5c7e880c9d
Merge "Waiting for the apps-unfreeze flags instead of enforcing it" into tm-qpr-dev am: 5602b9e0ad am: 2f632f09e9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20391177
Change-Id: I3bca43b9e8f1aa3190d9385dd67abe3f520e2e94
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-05 07:01:04 +00:00
Sunny Goyal
679ec33cc7
Waiting for the apps-unfreeze flags instead of enforcing it
...
Bug: 256898879
Test: Will wait for presubmit flakyness to clear
Change-Id: Ie2341338bbebfd892998e078d07d31f003ab8d43
2022-11-04 14:41:14 -07:00
TreeHugger Robot
ee9102248b
Merge "Waiting for app install to finish before procedding with the test" into tm-qpr-dev am: 12aec8aa29 am: cff01986b0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20378370
Change-Id: Ic71d0eba16d284ca68baf6d90598760f6c852993
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-04 03:28:32 +00:00
Sunny Goyal
50097ef272
Waiting for app install to finish before procedding with the test
...
Bug: 256659409
Test: Presubmit
Change-Id: Ia0f4cdd072c4c439d09070b0395fcfd6909c2a8f
2022-11-03 13:33:41 -07:00
TreeHugger Robot
6c9814a92b
Merge "Add delay after installing dummy app" into tm-qpr-dev am: 9e1f6002e5 am: e0e2b02ad2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20363621
Change-Id: I87647e4585d9eec544e1436c37b4ddde8d869ee7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-03 18:43:28 +00:00
TreeHugger Robot
9e1f6002e5
Merge "Add delay after installing dummy app" into tm-qpr-dev
2022-11-03 17:17:09 +00:00
Winson Chung
38779f75da
Add delay after installing dummy app
...
- Testing hypothesis that it's taking a while for the app to be
properly installed and showing in all apps
Bug: 256659409
Test: com.android.launcher3.ui.TaplTestsLauncher3#testUninstallFromAllApps
Change-Id: Icb1bb8bb9d98751ac8c97b300ecc39372f39c345
2022-11-03 03:47:01 +00:00
David Saff
31aabd93ee
Merge "Mark broken tests that are blocking presubmit"
2022-11-01 13:37:21 +00:00
Sunny Goyal
7550a67d90
Merge "Adding screenrecord for debug failing test" into tm-qpr-dev am: c93eb630e6 am: 4f5d276233
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20330482
Change-Id: I039c65677505a6e77b6d2b2e87ef0f21afad30f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-01 00:57:57 +00:00
Sunny Goyal
d6e9c601d8
Adding screenrecord for debug failing test
...
Bug: 256659409
Test: n/a
Change-Id: I1d804a92f81069df8d86f5b4ee2f21179f390d98
2022-10-31 13:25:17 -07:00
David Saff
ef47bf0071
Mark broken tests that are blocking presubmit
...
Bug: 256615483
Test: presubmit
Change-Id: Ie42885b65f1e4652a36cf9018bf43573fd0fec9f
2022-10-31 16:31:05 +00:00
Sunny Goyal
85cf449fcc
Merge "Revert "Revert "Updating the scroll calculation from recyclerView to avoid view inflation""" into tm-qpr-dev am: 0cf401d0eb am: 1baaac662b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20260484
Change-Id: I38c6cec592377e77294e02c70af28ab72d70e90c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-24 20:16:56 +00:00
Sunny Goyal
f34811d3a3
Revert "Revert "Updating the scroll calculation from recyclerView to avoid view inflation""
...
Test: ABTD
https://android-build.googleplex.com/builds/abtd/run/L52600000956969786
This reverts commit cee6ddf3de .
Reason for revert: Fixed in ag/20239136
Change-Id: I0e8446e66d9a86a94b40fcbd6de14da07abe8e5c
2022-10-22 15:37:47 +00:00
Hui Kang
70765883c5
Merge "Revert "Updating the scroll calculation from recyclerView to avoid view inflation"" into tm-qpr-dev am: 2a28ae8a3f am: da45ddb921
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20213328
Change-Id: Ib0198ed6d4c19b1889bde9144ed33b30a0dedae7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-17 22:24:43 +00:00
Hui Kang
2a28ae8a3f
Merge "Revert "Updating the scroll calculation from recyclerView to avoid view inflation"" into tm-qpr-dev
2022-10-17 21:20:09 +00:00
Hui Kang
cee6ddf3de
Revert "Updating the scroll calculation from recyclerView to avoid view inflation"
...
This reverts commit 20bbe95ddb .
Reason for revert: Causing flake in Ironwood test: b/248295569
Test: ABTD
Before: Flaky, 14/50 PASSED
https://android-build.googleplex.com/builds/abtd/run/L33900000956890639
Revert: 50/50 PASSED
https://android-build.googleplex.com/builds/abtd/run/L49200000956887317
Change-Id: I41f4428c74e581323f90c716a7852b5e553ae27d
2022-10-17 20:37:49 +00:00
Pat Manning
1a2e1ea4fc
Merge "Add screenshot test for edit state drop targets." into tm-qpr-dev am: 956631ec3a am: 423ad32120
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19852201
Change-Id: Ic7287a3a8e99e3b82c0fd28e3e4d0c14044c299f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-14 14:09:26 +00:00
Pat Manning
a34a9a0a18
Add screenshot test for edit state drop targets.
...
see: go/tapl-run-on-hold-event
Bug: 241386128
Test: HomeScreenImageTest.java
Change-Id: I5d6421c8da7d06a9eb77da249957c64d413524f1
2022-09-29 11:12:31 +01:00
TreeHugger Robot
ca5a1a6c60
Merge "Updating the scroll calculation from recyclerView to avoid view inflation" into tm-qpr-dev am: 860657a5f2 am: cd4951f54b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19469421
Change-Id: I5f9c405e1bff93b3e96b051bcb9b6ad0a87eecb5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-17 01:14:58 +00:00
Sunny Goyal
20bbe95ddb
Updating the scroll calculation from recyclerView to avoid view inflation
...
> Updating the LayoutManager's scroll calculation instead of a separate
implementation to better support recyclerView's calculations
> Caching the view sizes during layout to avoid view-inflation for
unknown types
> Fixing scrollbar jump during scroll when widget list is expanded
> Fixing scrollbar never reaching end when onboarding card is displayed
in work tab
Bug: 240343082
Test: Verified on device that new views are not inflated
Change-Id: Ied11ccf65b053691c5c126c4bf8de306ec24786d
2022-09-12 12:24:34 -07:00
Qing Wang
67e22eff1f
Add tests to Launcher P0 CUJ Homescreen navigation via TAPL. am: 30c3552e7e am: 46320961b9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19773679
Change-Id: I4f1b1330c4084e09c6af077803c9abbc17d57d46
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-09-10 20:39:36 +00:00
Qing Wang
30c3552e7e
Add tests to Launcher P0 CUJ Homescreen navigation via TAPL.
...
1. Implement API to help to get page count.
2. Add test add and delete page.
Bug: 241685418
Bug: 232584721
Test: android.platform.test.scenario.launcher.integration_tests.ScreenNavigationTests#testAddAndDeletePageAndFling
Change-Id: I2e04b9ef1f2ca65ba14d6939b7b51fead6b6f6ca
2022-09-10 17:46:24 +00:00
Alex Chau
543857f496
Add screen recording to flaky test
...
- Also updated bug id for a ScreenRecord
Test: presubmit
Bug: 242163205
Bug: 241821721
Fix: 242163245
Change-Id: I43ff9fca285649933a100e4a02c660087308a7ac
2022-08-26 18:36:33 +01:00
Ke-Yu Lu
7ba396089c
Merge "Add getIconName to AppIcon" into tm-qpr-dev am: 9672e2e74f am: 03456a8fc6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19707039
Change-Id: Id2304ce719cdf65eba95c5d97619b92aa5dcd0ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-25 09:25:55 +00:00
Ke-Yu Lu
9672e2e74f
Merge "Add getIconName to AppIcon" into tm-qpr-dev
2022-08-25 08:43:49 +00:00
Ke-Yu Lu
6520372966
Add getIconName to AppIcon
...
Bug: 237606436
Test: manual on local device
Change-Id: Ifcd18cefa35148fd744087a207e48791c098899a
2022-08-25 04:54:58 +08:00
Nataniel Borges
d49770c716
Merge "Fix testDisableRotationCheck"
2022-08-24 07:13:49 +00:00
Sam Dubey
18c244b452
Merge "Onboard tests in IW suite" into tm-qpr-dev am: f9d1b193bc am: 07f55c6304
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19657853
Change-Id: I635d88fa6fc4c4781116f4b0aa38164222653626
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-24 05:01:15 +00:00
Nataniel Borges
8fe224c90a
Fix testDisableRotationCheck
...
Move it to the NexusLauncherTests and launch app before rotation check
Bug: 241017339
Test: testDisableRotationCheck
Change-Id: Ia9b5d6738a8c725c68bb6422ab44cbed5ecbc0a6
2022-08-23 18:32:40 +00:00
Alex Chau
20a9f45281
Add ScreenRecord for flaky tests
...
Bug: 242163245
Bug: 242163855
Bug: 242163822
Bug: 206481237
Test: presubmit
Change-Id: Id1e58c70802107f5b964c1f67bff4ef3a7e5de70
2022-08-22 13:47:05 -04:00
Sam Dubey
664fde7744
Onboard tests in IW suite
...
Adding annotations to test methods confirmed to perform CUJ steps in the bugs attached.
Test: Forrest
Bug: 239384214
Fix: 241945343, b/241845943, b/241845754, b/241848386
Change-Id: Ifc21339f4acf558003cb1db8ebd5e05df5134a55
2022-08-19 09:34:28 +00:00
Nataniel Borges
d2e978c54f
Allow disabling orientation changes check on TAPL
...
This is necessary when a command intentionally changes the device orientation. For example, when triggering `goHome` from an app that is in landscape mode, without enabling launcher rotation
Bug: 238757607
Test: testDisableRotationCheck
Change-Id: Ia00d85d3263b6524b4806f54f729a0749684b92a
2022-07-26 08:19:37 +00:00
TreeHugger Robot
72c5f330bf
Merge "Add TAPL API for adding app icon to hotseat" into tm-qpr-dev
2022-06-30 05:28:14 +00:00
Alex Chau
5a51002333
Merge "Add test to dismiss AllApps bottom sheet" into tm-qpr-dev am: f52a13e424 am: 75b1f6d5ff
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18993353
Change-Id: I827e3c23f957eaaed6610a41f351371849bfc104
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-06-27 10:27:27 +00:00
Alex Chau
f52a13e424
Merge "Add test to dismiss AllApps bottom sheet" into tm-qpr-dev
2022-06-27 09:56:58 +00:00
Chilun Huang
7662dae663
Add TAPL API for adding app icon to hotseat
...
Please refer to go/tapl-add-icon-to-hotseat for more details.
Bug: 231400119
Test: atest NexusLauncherTests:TaplTestsQuickstep#testAddDeleteShortcutOnHotseat
Change-Id: I8cadecbe742413e3ce35ff269c0f78057331532c
Merged-In: I8cadecbe742413e3ce35ff269c0f78057331532c
2022-06-27 11:10:21 +08:00
Chilun Huang
22e829eb2f
Merge "Add TAPL API for adding app icon to hotseat"
2022-06-27 02:33:04 +00:00
Vadim Tryshev
542d3cf4f2
Ignoring failing test
...
Bug: 233075289
Change-Id: I4f270127b72255037dd5aaccdc375dfebb6b1dc4
Test: presubmit
2022-06-24 20:50:42 +00:00
Alex Chau
d936273b1f
Add test to dismiss AllApps bottom sheet
...
- http://docs/document/d/1ITZDMchoMndfa0nMuOTXbhKhK2aMDz0AT9dgusgxEro
Bug: 236360930
Test: TaplTestsLauncher3.testAllAppsDeadzoneForTablet
Test: TaplTestsNexus.testSearchDeadzoneForTablet
Change-Id: I62adb1d6ef237f9bca3812b8cdce9e5a8383158f
2022-06-24 18:29:43 +01:00
Chilun Huang
a518e034f7
Add TAPL API for adding app icon to hotseat
...
Please refer to go/tapl-add-icon-to-hotseat for more details.
Bug: 231400119
Test: atest NexusLauncherTests:TaplTestsQuickstep#testAddDeleteShortcutOnHotseat
Change-Id: I8cadecbe742413e3ce35ff269c0f78057331532c
2022-06-23 19:24:18 +08:00
Ling WO
9a8964b122
Cherrypick needed for merge conflict with ag/18875278
...
Support move to a specific location on workspace for all workspaceDragSource, so other workspaceDragSource such as HomeAppIconMenuItem can be moved to a fixed location during testing to avoid ui-diff flakiess
Design doc:
https://docs.google.com/document/d/1tZWbfsv86O6UAKtHJrDBGecu-x3ac51qmWvARDg057M
Test: atest
Bug: 216189838
Change-Id: Ia6ef7338beb257d0313be17a53a9fc59ae39fdb6
(cherry picked from commit fe8fb4d137 )
2022-06-15 22:38:04 +00:00
Ling WO
fe8fb4d137
Support move to a specific location on workspace for all workspaceDragSource, so other workspaceDragSource such as HomeAppIconMenuItem can be moved to a fixed location during testing to avoid ui-diff flakiess
...
Design doc:
https://docs.google.com/document/d/1tZWbfsv86O6UAKtHJrDBGecu-x3ac51qmWvARDg057M
Test: atest
Bug: 216189838
Change-Id: Ia6ef7338beb257d0313be17a53a9fc59ae39fdb6
2022-06-01 21:51:01 +00:00
Tracy Zhou
674ac75930
Add ScreenRecord tag to understand in proc test failure
...
Bug: 233075289
Test: N/A
Change-Id: I22333f20f68692a352312bad034ce54def9c29ef
2022-05-26 18:16:57 +00:00
Nicolo' Mazzucato
25b36f7716
Fix flakiness in getIconPosition test
...
After uninstalling the app, it was disappearing after some time. For this reason, tryGetWorkspaceAppIcon was still returning it after the uninstall.
Fixes: 232009313
Test: atest TaplTestsLauncher3
Change-Id: I62e3a8f9a481e9786a136b6c00051c1025ab5b32
2022-05-24 09:42:24 +00:00