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
Tracy Zhou
3438c92334
Add drag icon to folder use case back
...
Test: presubmit
Fixes: 232417717
Change-Id: Idca54eb8b1fec10e8c9d7e5cb338e179b733850b
2022-05-17 02:41:30 +00:00
Tracy Zhou
001b547499
Tune dragToFolder test so that it works with the new nav bar height
...
And add screen record in case there is some flakiness
Fixes: 200310506
Test: presubmit
Change-Id: I7716698fe2fb600bf34fe603e4a98bb20fc6018d
2022-05-11 23:38:52 -07:00
Nicolo' Mazzucato
f67536e1eb
Allow workspace to provide icon positions in tests
...
This is needed in order to implement a test for the unfold animation.
getWorkspaceAndHotseatIconsPositions returns map that associate icon name with its center on the screen
Test: atest TaplTestsLauncher3
Bug: 220087235
Change-Id: I254aa0c146edf4cae1c2bf5c09dec000993eb4d8
2022-05-04 20:27:11 +00:00
Benno Lin
264d9a67de
Enable pressback tests
...
Bug: 205027405
Test: Manual
Change-Id: I5bb41fc27db17e95d7a7c91cec2bbf85f33d6dad
(cherry picked from commit b5b70930e9 )
2022-03-30 10:36:38 +00:00
vadimt
41c0b52cd9
Renaming LauncherInstrumentation.pressHome to goHome
...
This is a better name now that we have gestural nav.
Renaming will happen in stages, the first one being having 2 names side-by-side.
Test: presubmit
Bug: 187761685
Change-Id: Ifb15c838cc0e161d852cf6df025687e3f92d6124
2022-03-14 18:13:47 +00:00
Benno Lin
894984299f
Fix Tapl drag to folder issue on S5 and R3
...
Bug: 205015793
Bug: 205014516
Test: atest Launcher3Tests
Test: https://android-build.googleplex.com/builds/abtd/run/L47800000953216369
Test: https://android-build.googleplex.com/builds/abtd/run/L63300000953213948
Change-Id: If481d2b6503e8d47953b00c102719c447f43da41
2022-03-04 00:58:33 +00:00
Schneider Victor-tulias
d6279ae641
Update TAPL object hierarchy in preparation for Taskbar TAPL tests
...
See design at: go/taskbar-tapl-tests
Test: Ran tests remotely
Bug: 215218813
Change-Id: I1c2ceac8954973ea3ae5b2f797fdfb96ba7a6ec4
2022-02-15 13:33:26 -08:00
Benno Lin
7738cac424
Implemnet methods to drag a icon to given Workspace cell
...
The CL implements public methods to drag an Icon from AllApps to a
given cell in the workspace.
Bug: 199120092
Test: Launcher3Tests:com.android.launcher3.ui.TaplTestsLauncher3#testDragAppIconToWorkspaceCell
Test: https://android-build.googleplex.com/builds/abtd/run/L89300000953052361
Test: https://android-build.googleplex.com/builds/abtd/run/L44500000953013792
Change-Id: Ife16d1f1b55b809763dd40f5afee6711049a4729
2022-02-15 01:48:45 +00:00
Alex Chau
758437493f
Add ScreenRecord for a flaky test
...
Bug: 202433017
Test: none
Change-Id: If4bc72e5eae39ce641521b2edbf3ba630968c561
2022-01-29 18:35:56 +00:00
My Name
5b59e75f4a
Uninstall an app from workspace via TAPL
...
1. Implement function to uninstall app from appIcon.
2. Add test uninstall to TaplTestsLauncher3.
Bug: 210927656
Test: Launcher3Tests:com.android.launcher3.ui.TaplTestsLauncher3#testTryUninstallFromWorkspace
Change-Id: Iedd3bd3a46bc626fc414fd8c5bd07ebc0fa235bb
2022-01-07 21:52:07 -05:00
Ling WO
85336c23fb
delete appIcon from workspace via TAPL
...
1. Create a new class for DropBar icon.
2. Implement function to delete appIcon from workspace.
3. Add testDeleteFromWorkspace to TaplTestsLauncher3.
Bug: 205593009
Test: Launcher3Tests:com.android.launcher3.ui.TaplTestsLauncher3#testDeleteFromWorkspace
Change-Id: I259b909aebcdcc1c73af63a9970db43dab3e86eb
2021-12-10 18:14:41 -08:00
Andras Kloczl
c820151a4c
Add TAPL tests for two panel workspace
...
- Add test for icon dragging
- Add test for page pairing
- Add test for empty page removal
- Add dragIcon helper method
Test: TwoPanelWorkspaceTest
Bug: 197631877
Change-Id: I7ce2dd88e183626feac49b34254d00a589473944
2021-12-02 16:44:26 +00:00
vadimt
581fbae506
Removing a dead test
...
Test: presubmit
Bug: 147235759
Change-Id: I1412360316c87813d309cfbc1deefad00e7dd2ce
2021-11-12 20:15:24 +00:00