Sebastián Franco
a237a71a1c
Merge "Making sure we don't use Launcher when null" into main
2025-01-09 15:35:02 -08:00
Riddle Hsu
6eda95c70c
Merge "Wait for launcher state before proceeding next test step" into main
2025-01-09 13:54:54 -08:00
Treehugger Robot
49337285b7
Merge "Attempt to fix TaplUninstallRemoveTest.testUninstallFromAllApps" into main
2025-01-09 13:27:59 -08:00
Sebastian Franco
cc5911a57b
Making sure we don't use Launcher when null
...
Fix: 386230683
Test: all test that use @PortraitLandscape
Flag: TEST_ONLY
Change-Id: I40dfd0e8f42a68649e1cbb2f8e69ce617a415f68
2025-01-09 13:04:37 -08:00
Stefan Andonian
56f17cfddf
Attempt to fix TaplUninstallRemoveTest.testUninstallFromAllApps
...
Based on the video, it seems that existing app icons cause the long press menu
to be opened when the test bot is trying to scroll to open the AllApps page.
The fix is to clear the data so there are no icons that will interrupt said scrolling.
There might be 2 issues that are affecting this test based on my research. So if it still fails, that doesn't mean this change wasn't necessary. I think there might also be an issue with the test infrastructure.
Bug: 386231522
Test: Ran a go/abdt run to verify test isn't flaky. This does have 100% reproduction though.
Flag: EXEMPT test fix
Change-Id: Id2b1cf89eda39d1d921af0da544f92604c3f8591
2025-01-09 10:30:22 -08:00
Riddle Hsu
a584c24493
Wait for launcher state before proceeding next test step
...
Otherwise if scrollToAppIcon is called immediately, it could
interrupt the state that causes the test to be unable to drag
the icon into workspace.
Fix: 388510107
Flag: TEST_ONLY
Test: atest Launcher3Tests:ThemeIconsTest#testIconWithoutTheme
Change-Id: Ied77b3f8d2f19de18d054a80643f3d13c5641ac4
2025-01-09 12:58:39 +08:00
Treehugger Robot
dbbedf9e62
Merge "Add ScreenRecord to difficult to flaky test TaplDragTest.testDragToFolder" into main
2025-01-08 18:54:12 -08:00
Stefan Andonian
2c2e24f38d
Add ScreenRecord to difficult to flaky test TaplDragTest.testDragToFolder
...
Bug: 383917141
Test: Passes Presubmit
Flag: EXEMPT flaky test investigation
Change-Id: Icf045821c42fdf9f8e60ae45d0d98ff2bc25e927
2025-01-08 14:17:02 -08:00
Stefan Andonian
8295c92e8e
Add ScreenRecord annotation to flaky test RequestPinItem
...
Bug: 386243192
Test: Test runs fine with annotation.
Flag: EXEMPT unit test bug investigation
Change-Id: I27f8dc0fb55521ed37b743a0149dbe2ac60ad7ff
2025-01-08 12:53:08 -08:00
fbaron
741321f44b
Add screenrecord for TaplWorkspaceTest#testAddAndDeletePageAndFling
...
Flag: TEST_ONLY
Test: TaplWorkspaceTest#testAddAndDeletePageAndFling
Bug: 381918059
Change-Id: I8b595f049c97c1d4edf0de91f39d46a4c8bdefa3
2025-01-06 11:20:41 -08:00
Sunny Goyal
d5ad770d2c
Converting BaseIconCache to kotlin
...
Bug: 366237794
Flag: EXEMPT refactor
Test: Presubmit
Change-Id: Ia191ed468eda24f910bba87221cf1f1714408a55
2024-12-24 21:27:33 -08:00
Treehugger Robot
a7bb99683d
Merge "Some HSUM bug fixes" into main
2024-12-18 17:40:25 -08:00
Sebastián Franco
f07079d0ff
Merge "Revert^2 "Making sure that test go to FixedLandscape on landscape"" into main
2024-12-18 14:16:08 -08:00
Sunny Goyal
211f74608a
Some HSUM bug fixes
...
Bug: 383952735
Bug: 384136644
Test: Presubmit
Flag: EXEMPT bugfix
Change-Id: I705d79d008100edd3fcf6fcac4524c204fd4ea30
2024-12-18 11:16:26 -08:00
Sunny Goyal
60bad051c4
Fixing module inheritence when overriding Launcher component
...
Bug: 361850561
Flag: EXEMPT dagger migration
Test: Presubmit
Change-Id: I1f726e9895f6872d0294a11ab0c52c6c619c2a3f
2024-12-18 10:38:00 -08:00
Sebastián Franco
12c346fbab
Revert^2 "Making sure that test go to FixedLandscape on landscape"
...
This reverts commit d98bb0b979 .
Reason for revert: b/383917141
Change-Id: I503fd7136b927064a54e428e422335c06e221e2e
2024-12-17 11:19:29 -08:00
Charlie Anderson
9a2e3a715b
Merge "Add new failsafe to disable new archiving broadcast" into main
2024-12-13 07:33:49 -08:00
Charlie Anderson
e18eac02b9
Merge "Fix user for InstallSessionHelperTest HSUM failures" into main
2024-12-13 07:31:23 -08:00
Sihua Ma
48db4ef770
Move model tests to multivalent
...
Test: atest NexusLauncherRoboTests
Test: SysUI studio
Flag: EXEMPT test only
Change-Id: I751c449561175d3c7c5a770b7b30bc4f24c1cd44
2024-12-13 05:51:51 +00:00
Charlie Anderson
cdd763d466
Fix user for InstallSessionHelperTest HSUM failures
...
Bug: 383452367
Test: InstallSessionHelperTest
Flag: EXEMPT test fix
Change-Id: I942c6c78e5986a960859e5c6b1458a46ec6a2bd6
2024-12-11 19:12:43 -08:00
Charlie Anderson
2885a6639c
Add new failsafe to disable new archiving broadcast
...
Bug: 322314760
Test: presubmit and LoaderTaskTest
Flag: com.android.launcher3.enable_first_screen_broadcast_archiving_extras
Change-Id: I7c7b94a81dd717ed6f32de2ae986616b93dbbcc0
2024-12-11 18:59:05 -05:00
ELIYAZ MOMIN (xWF)
931a86396f
Merge "Revert "Making sure that test go to FixedLandscape on landscape"" into main
2024-12-11 04:05:30 -08:00
ELIYAZ MOMIN (xWF)
d98bb0b979
Revert "Making sure that test go to FixedLandscape on landscape"
...
This reverts commit 279b77a882 .
Reason for revert: <Potential culprit for b/383424365 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.>
Change-Id: I4b1c81a8e458432c880ad68fa5bd0e2062f2680f
2024-12-11 02:38:04 -08:00
Sebastián Franco
485c57044d
Merge "Making sure that test go to FixedLandscape on landscape" into main
2024-12-11 00:40:31 +00:00
Treehugger Robot
11537828ad
Merge "Fising some tests bugs, assuming primary user is user 0" into main
2024-12-10 23:50:28 +00:00
Sunny Goyal
89551b71be
Fising some tests bugs, assuming primary user is user 0
...
Bug: 383091872
Bug: 383183795
Bug: 383088668
Test: Presubmit
Flag: EXEMPT test fix
Change-Id: I551f13fc3d51bf1c2718f0582f8ee76d51067896
2024-12-10 12:09:33 -08:00
Sebastian Franco
279b77a882
Making sure that test go to FixedLandscape on landscape
...
Fix: 379871292
Test: TaplDragTest
Flag: com.android.launcher3.one_grid_specs
Change-Id: I56027c22e4c3b1b0532ba0ac00eb0f4caea24abb
2024-12-10 17:08:54 +00:00
Sunny Goyal
3dfaba2d8c
Fixing missing userId in various shell commands
...
Bug: 380276168
Test: atest TaplMemoryTests
Flag: EXEMPT testfix
Change-Id: I87026eaf6340a2a43cbc899d262879259e339fc5
2024-12-09 10:36:06 -08:00
Treehugger Robot
45e274977d
Merge "Some test fixes where default user is assumed to be user 0" into main
2024-12-07 08:11:56 +00:00
Brandon Dayauon
5d69c5c505
Merge "Fix workUtilityView receiving touch for pause work apps button." into main
2024-12-07 07:28:02 +00:00
Sunny Goyal
9c58954488
Some test fixes where default user is assumed to be user 0
...
CheckLongPressHelper: Cancelling view longpress which inturn also cancels self
This ensures that long press is properly cancelled if the default timeout for system longpress is same as ours
Bug: 379777736
Bug: 379807782
Bug: 379805363
Bug: 379805788
Bug: 379777734
Bug: 379774350
Flag: EXEMPT bugfix
Test: Presubmit
Change-Id: Ic4d9d6c4f79325a5d7ab98eafa1c86db4c2e67a5
2024-12-06 22:23:51 -08:00
Brandon Dayauon
8143b69cec
Fix workUtilityView receiving touch for pause work apps button.
...
bug: 382501851
Test manually video:
before: https://drive.google.com/file/d/1I6av4cFoYex6QhzYAdlzJWCBwd2ilgzT/view?usp=sharing
after: https://drive.google.com/file/d/1hMDELNTqUvoI7oI-lw0sLifcGyIalbS_/view?usp=sharing
Flag: com.android.launcher3.work_scheduler_in_work_profile
Change-Id: I9dfead6deac7f3dbcb66c961bea4a1828f20478d
2024-12-06 14:05:03 -08:00
Sunny Goyal
97eb832cd3
Generalizing monochrome icon into Theme icons
...
Bug: 381897614
Flag: EXEMPT refactor
Test: atest MonoIconThemeControllerTest
atest MonoThemedBitmapTest
Change-Id: Iaa0cbe3523ee26a6d4f77e002d0cca90657f89b2
2024-12-05 14:57:06 -08:00
Shamali P
0e668e1b1d
Update accessibility hint for widget cell that shows add button.
...
With tap to add feature, tapping widget cell reveals add button.
So, clarify the intent with ACTION_CLICK
Bug: 374033389
Test: Talkback
Flag: EXEMPT BUGFIX
Change-Id: I03e47241fbc16f1354394e3a6fd412998642e6cf
2024-12-04 18:12:36 +00:00
Brandon Dayauon
fcb892328b
Add unit testing to workkUtilityView
...
Testing inflate and visibility states (with both flag states)
bug: 361589193
Test: manually screenshot: https://screenshot.googleplex.com/45HDsyfQfNbgjiE
Flag: com.android.launcher3.work_scheduler_in_work_profile
Change-Id: I57cff03fe3b362e304f52984a2699f8d5b6e653e
2024-12-02 10:32:56 -08:00
fbaron
ddc338c39b
Fixing grid migration test and adding extra tests to cover one grid updates
...
Bug: 364711064
Flag: com.android.launcher3.one_grid_specs
Test: GridMigrationTest
Change-Id: Ib162b2f802da610a4d2802af4c890425cd657add
2024-11-26 21:05:04 +00:00
Sunny Goyal
82efdccc6e
Wait for animations before injecting input event
...
While animaiton is running, some views might not be visible causing
them to miss input events
Bug: 378167329
Bug: 378167718
Test: Presubmit
Flag: EXEMPT test fix
Change-Id: I8608c415e524fc5186833eac840ec18c6f244eb0
2024-11-18 13:44:20 -08:00
Sunny Goyal
5f8e2d7c13
Migrating widgets tests off TAPL
...
Bug: 377772352
Test: Presubmit
Flag: EXEMPT test refactor
Change-Id: I6e9ffb3dee913617ca9ad897504e8457cfbdccd6
2024-11-15 12:45:27 -08:00
Sunny Goyal
cac373ce91
Separating TAPL functionality from AbstractLauncherUiTest into a separate base class
...
This will make it easier to get rid of AbstractLauncherUiTest by directly depending on the base class
Bug: 377772352
Test: Presubmit
Flag: EXEMPT test infra
Change-Id: I46ceb188ed4b64d4fb86236969ed0d3f23809000
2024-11-13 16:27:22 -08:00
Schneider Victor-tulias
7e34644021
Merge "Revert "Revert "Reset the frozen recents list state prior to tes..."" into main
2024-11-13 14:54:31 +00:00
Treehugger Robot
bda5d70e03
Merge "Revert "Adding screen record for the bug where we can't find a folder after dragging"" into main
2024-11-13 00:53:04 +00:00
Vadim Tryshev
e238685c0d
Revert "Adding screen record for the bug where we can't find a folder after dragging"
...
This reverts commit 243650e2cb .
Reason for revert: Bug stopped to repro
Change-Id: Idebb704546146018c6a365143ff84efb04be9c27
2024-11-12 23:09:38 +00:00
Federico Baron
bad6326145
Merge "Add device profile dump flag guarding for OneGrid" into main
2024-11-12 07:39:56 +00:00
fbaron
9b2f38fa26
Add device profile dump flag guarding for OneGrid
...
Bug: 364711064
Flag: com.android.launcher3.one_grid_specs
Test: n/a
Change-Id: I8bee69a051e81e7a1f7ed0d4e20196e2379a8ed0
2024-11-12 04:30:41 +00:00
Treehugger Robot
287b90278f
Merge "Moving some tests off TAPL" into main
2024-11-12 00:35:53 +00:00
Schneider Victor-tulias
a576a818e9
Revert "Revert "Reset the frozen recents list state prior to tes..."
...
Revert submission 24905816-revert-24866277-recents_freeze_tests-WMHXUBYPSF
Reason for revert: fixes b/374269947. revert reason may be obsolete
Reverted changes: /q/submissionid:24905816-revert-24866277-recents_freeze_tests-WMHXUBYPSF
Change-Id: I514973959407b48e9616d27a44bd93cdc8dd100e
2024-11-11 13:41:40 -05:00
Sunny Goyal
50eeb4c161
Investigating test failure in all-apps
...
Bug: 378167329
Test: atest KeyboardFocusTest
Flag: EXEMPT test fix
Change-Id: I2f9b9dad3dabf0dc25bb3751ba82a9dc03ccdae2
2024-11-11 10:15:46 -08:00
Sunny Goyal
4631b2eb2c
Moving some tests off TAPL
...
Bug: 377772352
Test: Presubmit
Flag: EXEMPT test refactor
Change-Id: I390fcfd1ad698ba8858891b72e61e3b6792cf718
2024-11-08 14:55:56 -08:00
Sunny Goyal
5ad2d9f53c
Moving some tests off TAPL
...
Bug: 377772352
Test: Presubmit
Flag: EXEMPT test refactor
Change-Id: I679ae043d617b74a61a682d802c38cc904d2d0c5
2024-11-08 11:09:59 -08:00
Federico Baron
b986ac5398
Merge "Resolve issue where incorrect grid migration logic was used when migrating to strictly taller new grid" into main
2024-11-08 16:42:03 +00:00