Commit Graph

953 Commits

Author SHA1 Message Date
Fengjiang Li
dd7471f3bf Merge "[Launcher Jank] Improve SimpleBroadcastReceiver.java" into main 2024-07-11 20:22:22 +00:00
Treehugger Robot
01b577432a Merge "Add screenrecord to testDragIconToPage2" into main 2024-07-11 19:27:59 +00:00
Fengjiang Li
b87ad6f945 [Launcher Jank] Improve SimpleBroadcastReceiver.java
Bug: 348649441
Flag: NONE - jank fix
Test: manual - presubmit
Change-Id: I17bd7e4d7f0640522476e94edae691f983835f62
2024-07-11 11:12:29 -07:00
fbaron
cf55a30dcf Add screenrecord to testDragIconToPage2
Flag: TEST_ONLY
Bug: 352130094
Test: TaplTwoPanelWorkspaceTest#testDragIconToPage2
Change-Id: I0358e4da22afc19a8d976d529c68f09529247ca7
2024-07-11 10:49:58 -07:00
Federico Baron
f30a5a3ca1 Merge "Revert "Add screenrecord/demote TwoPanelWokrspaceTest"" into main 2024-07-10 18:16:50 +00:00
Federico Baron
89414e403c Revert "Add screenrecord/demote TwoPanelWokrspaceTest"
This reverts commit 09ac97fa39.

Reason for revert: fixed issue

Change-Id: I269fbcedc161ff340eaa17d6a37c18cba7ce0848
2024-07-10 16:40:05 +00:00
Federico Baron
44faf4cc9e Merge "Add screenrecord to TaplThemeIconsTest#testShortcutIconWithTheme" into main 2024-07-09 17:09:46 +00:00
Federico Baron
501e4ab75a Merge "Revert "Fix attempt for TaplTwoPanelWorkspaceTest#testSinglePageDragIconWhenMultiplePageScrollingIsPossible"" into main 2024-07-09 16:47:18 +00:00
fbaron
fd2fc06d69 Add screenrecord to TaplThemeIconsTest#testShortcutIconWithTheme
Flag: TEST_ONLY
Test: TaplThemeIconsTest#testShortcutIconWithTheme
Bug: 350557998
Change-Id: I38eb6558ece4cc23272a813d52ea677b8d9ad2cb
2024-07-08 15:41:06 -07:00
Federico Baron
20e7a59bff Revert "Fix attempt for TaplTwoPanelWorkspaceTest#testSinglePageDragIconWhenMultiplePageScrollingIsPossible"
This reverts commit 347b408f90.

Reason for revert: didn't resolve the issue

Change-Id: I05563ffd3c83b4633007407953e2050ee2c87866
2024-07-08 22:32:48 +00:00
Federico Baron
651448cb98 Merge "Demote TaplThemeIconsTest#testShortcutIconWithTheme" into main 2024-07-03 22:43:39 +00:00
fbaron
7672f320e8 Demote TaplThemeIconsTest#testShortcutIconWithTheme
Bug: 350557998
Test: TaplThemeIconsTest#testShortcutIconWithTheme
Flag: TEST_ONLY
Change-Id: I236fdd0bab678a385553d40f8a0dabbe78f92b5b
2024-07-03 13:51:53 -07:00
Federico Baron
f4aa900009 Merge "Fix attempt for TaplTwoPanelWorkspaceTest#testSinglePageDragIconWhenMultiplePageScrollingIsPossible" into main 2024-07-02 15:31:50 +00:00
fbaron
347b408f90 Fix attempt for TaplTwoPanelWorkspaceTest#testSinglePageDragIconWhenMultiplePageScrollingIsPossible
Bug: 344982276
Test: TaplTwoPanelWorkspaceTest#testSinglePageDragIconWhenMultiplePageScrollingIsPossible
Flag: TEST_ONLY
Change-Id: I2f02b769aaae353d48501b8e3551a8d0939064c6
2024-07-01 10:25:27 -07:00
Kevin Lim
188202f927 [E2E] Re-enable stable widget tests.
Bug: b/310242894
Flag: EXEMPT E2E test re-enabling
Test: http://android-build/test_hub/search/?filter=lowFailureRate&invfilter=unhealthyInvocations&invfilter=staleInvocations&query=branch%3Agit_main+target%3A%28cf_x86_64_phone-trunk_food-userdebug%7Ccf_x86_64_phone-trunk_staging-userdebug%29+testsub%3A%28testPendingWidget_withConfigScreen%7CtestPendingWidget_notRestored_brokenInstall%29
Change-Id: I25c48e07d6cebcc3b5bb61f1583a3859c4c0eb80
2024-06-28 21:11:59 +00:00
Federico Baron
33f2e36ee4 Merge "Promote test testEmptyPageDoesNotGetRemovedIfPagePairIsNotEmpty" into main 2024-06-27 20:30:45 +00:00
fbaron
f408badf13 Promote test testEmptyPageDoesNotGetRemovedIfPagePairIsNotEmpty
Flag: TEST_ONLY
Test: TaplTwoPanelWorkspaceTest#testEmptyPageDoesNotGetRemovedIfPagePairIsNotEmpty
Bug: 329935119
Change-Id: I4fe2967924dd9ef083ed711802eadd277d1164e5
2024-06-27 09:09:06 -07:00
Fengjiang Li
1f87d94e59 [Launcher Jank] Avoid SimpleBroadcastReceiver making binder calls on main thread
Fix: 348649441
Flag: NONE - jank fix
Test: manual - presubmit
Change-Id: Ie97713f3f0b1f117662d49c6d6a65651c593d424
2024-06-21 14:37:51 -07:00
Sebastián Franco
7793a2aecc Merge "Revert "Make sure we keep the screen record even if the test succeeds"" into main 2024-06-13 21:46:44 +00:00
Sebastián Franco
f46de7e690 Revert "Make sure we keep the screen record even if the test succeeds"
This reverts commit ad15dd719e.

Reason for revert: removing debug 

Change-Id: Id76a5b9a2e138603e896cba2a0d9b96711610f9e
2024-06-13 18:43:21 +00:00
Jeremy Sim
c1470021c8 Fix flaky test
Attempts to fix a flaky test by ensuring that recents is always cleared before creating a split pair (so the split pair under test is always the same).

Bug: 340935208
Test: testSaveAppPairMenuItemOrActionExistsOnSplitPair(), testSplitTaskTapBothIconMenus()
Flag: TEST_ONLY
Change-Id: Ibc81b90fac531f0e78e93a494ff59073ab5e52cf
2024-06-10 14:51:53 -07:00
fbaron
09ac97fa39 Add screenrecord/demote TwoPanelWokrspaceTest
Flag: TEST_ONLY
Test: TaplTwoPanelWorkspaceTest#testEmptyPageDoesNotGetRemovedIfPagePairIsNotEmpty
Bug: 329935119
Change-Id: I6faa8f35a2e0cd8a02d615a329baab045235ec82
2024-05-30 10:29:38 -07:00
Uwais Ashraf
784b4f28b0 Fix some compile errors occurring as a result of robo enablement
Fix: 297950111
Test: :NexusLauncher.Robo:testGoogleWithQuickstepDebugUnitTest
Test: atest NexusLauncherRoboTests
Flag: NA
Change-Id: Ic9b09fff630d274558d09b7031d12ec28f10fbc7
2024-05-21 18:56:52 +00:00
Jagrut Desai
80b1ee3747 Merge "Removing Screen Record from TaplAddWidgetTest" into main 2024-05-16 19:11:23 +00:00
Jagrut Desai
5d3fde29bf Removing Screen Record from TaplAddWidgetTest
Test: Presubmit
Bug: 316910614
Flag: NONE
Change-Id: Ib993f047902859ffc62f313132289aa62ce18a79
2024-05-16 09:41:21 -07:00
Brandon Dayauon
d7dc05f851 Remove comment on workProfileTest
Work profile doesn't fail to create anymore. Can remove commented line

bug: 339884168
Test: presubmit
Flag: n/a
Change-Id: I1783bb35fac3dff1762af911b3cccddaec367b0c
2024-05-10 13:43:49 -07:00
Federico Baron
77237f0501 Merge "Demote testEmptyPageDoesNotGetRemovedIfPagePairIsNotEmpty to postsubmit" into main 2024-05-03 22:27:39 +00:00
fbaron
fba55b4383 Demote testEmptyPageDoesNotGetRemovedIfPagePairIsNotEmpty to postsubmit
Flag: NONE
Test: TaplTwoPanelWorkspaceTest#testEmptyPageDoesNotGetRemovedIfPagePairIsNotEmpty
Bug: 329935119
Change-Id: I284803b7ebe5c094dc46178d34cca952726df745
2024-05-03 13:34:15 -07:00
Kevin Lim
c338db0a67 [Deviceless] Move BubbleTextViewTest to multivalentTests for deviceless
testing.

Bug: b/297950111
Flag: NA
Test: atest Launcher3RoboTests
Test: atest NexusLauncherRoboTests
Test: Passes in SysUI Studio
Change-Id: Ib94e704836e0e21b8f8f05d987bec3e8ba633afa
2024-05-02 22:53:41 +00:00
Sukesh Ram
05d48b3986 Debug TaplAddConfigWidgetTest test
Flag: NONE
Bug: 324419890
Test: Check logs when flake is reproduced
Change-Id: I90b419aa300df53247fc07e00aabe575a33fb95f
2024-05-02 20:32:09 +00:00
Vadim Tryshev
edfa8480a9 Merge "Saving test artifacts in TAPL when the failure is diagnosed" into main 2024-04-29 20:49:15 +00:00
Vadim Tryshev
7a4d696bbb Saving test artifacts in TAPL when the failure is diagnosed
Not waiting for FailureWatcher to catch the exception and save
artifacts. This will help to save test artifacts before potential
deinitialization in the test which may change the screen contents.

Bug: 187761685
Test: presubmit
Flag: N/A
Change-Id: I7aa95028acfae3fe0895fc5df4ea6f6912fcda52
2024-04-29 11:53:08 -07:00
Jeff DeCew
33fe7472dc Merge "Remove redundant call to SetFlagsRule.initAllFlagsToReleaseConfigDefault()" into main 2024-04-26 16:19:02 +00:00
Shamali Patwa
1f2dabfb4e Merge "Re-enable the testDragCustomShortcut test in pre-submits" into main 2024-04-25 21:09:21 +00:00
Shamali P
0dce4a0704 Re-enable the testDragCustomShortcut test in pre-submits
In follow up need to align the code that looks for widets to work for
two pane picker in tablets.

Bug: 322820039
Flag: N/A
Test: Presubmit enabled for test
Change-Id: If8a3a7867bbafd5a08ebaef6ed354105762a8a23
2024-04-25 19:13:53 +00:00
Daniel Akinola
e91b4b52ee Merge "Revert "Force calculator to launch in fullscreen for taskbar tests"" into main 2024-04-25 17:56:47 +00:00
Sebastián Franco
307bafc511 Merge "Adding screenrecord to get more information about the test" into main 2024-04-25 17:48:49 +00:00
Daniel Akinola
56ccf74899 Revert "Force calculator to launch in fullscreen for taskbar tests"
This reverts commit 8771dfe3dd.

Reason for revert: was only a temporary fix while investigating issue, should be unnecessary after ag/27089675 is landed.

Change-Id: I5963dc77f31eb45c1cdd100788b045891de2d716
2024-04-25 15:49:06 +00:00
Jeff DeCew
854b8781ad Remove redundant call to SetFlagsRule.initAllFlagsToReleaseConfigDefault()
Test: atest
Bug: 336802415
Flag: none
Change-Id: Ic3e189983b30ef60c5be61aaeefb1641a5651bf9
2024-04-25 13:54:43 +00:00
Sebastián Franco
48d7c10a82 Merge "Make sure we keep the screen record even if the test succeeds" into main 2024-04-23 19:49:44 +00:00
Sebastian Franco
ad15dd719e Make sure we keep the screen record even if the test succeeds
Bug: 322823478
Test: testEdu
Test: testDevicePressMenu
Flag: NA
Change-Id: Ia11d3cbc0a10e15d716b1845e3590bca2bd1ff76
2024-04-23 10:37:22 -07:00
Sebastian Franco
ea78903380 Adding screenrecord to get more information about the test
Test: testWorkspace
Flag: NA
Bug: 331261431
Change-Id: Ifeaa0fe287c2cbf0b9c1c468c494752fe7f35d37
2024-04-22 19:38:23 -07:00
dakinola
8771dfe3dd Force calculator to launch in fullscreen for taskbar tests
Taskbar tests are flaking when desktop windowing is enabled due to calculator app being launched in splitscreen unexpectedly during test setup (due to unexpected effect of DesktopModeLaunchParamsModifier on activity launch.) While looking into root cause, this temporary fix to address the test failures ensures that calculator app is always launched in fullscreen, by enforcing it with ActivityOptions.

Bug: 333446588
Bug: 333446588
Flag: None
Test: atest NexusLauncherTests:com.android.quickstep.TaplTestsTaskbar
Test: forrest build with CL (https://android-build.corp.google.com/builds/abtd/run/L47500030003265061)
Change-Id: If12e8490214aa1dd5de89ff8535495c2a0c1fe82
2024-04-22 21:42:09 +00:00
Anushree Ganjam
6642ea0d48 Merge "Add new class for SetPropRule and move outside ShellCommandRule." into main 2024-04-15 17:41:15 +00:00
Anushree Ganjam
8cac99a8dc Add new class for SetPropRule and move outside ShellCommandRule.
Clean up the mEnableInputTransportPublisherRule from TaplWidgetPickerTest since b/325377690 is fixed now.

This is follow up for ag/26419353.

Bug: 325377690
Test: Manual
Flag: NA
Change-Id: Id55000ac3cb4b88097ad00b97773c39a725711b8
2024-04-12 16:45:18 -07:00
Vadim Tryshev
2a6ce15290 Merge "Removing users synchronously" into main 2024-04-12 17:19:36 +00:00
Vadim Tryshev
2c72271915 Removing users synchronously
Bug: 302400996
Test: presubmit
Flag: N/A
Change-Id: Iac1863039cbb9d612abe416b7aee135eec25f223
2024-04-11 15:59:41 -07:00
Randy Pfohl
c21b0000b5 Revert^2 "fixing tests to match new abstraction"
8e4c0b7afb

Change-Id: I9875d6f9c16f1406d0818164a98e790c2b101650
2024-04-11 08:58:22 -07:00
Priyanka Advani
8e4c0b7afb Revert "fixing tests to match new abstraction"
Revert submission 26414135-RecentsViewContainer

Reason for revert: Probable culprit for b/333767026. Will be verifying through ABTD for confirmation and before submitting the revert.

Reverted changes: /q/submissionid:26414135-RecentsViewContainer

Change-Id: Ibafc66cf3677d24e7912d55cb45c948cb6519df7
2024-04-10 21:31:14 +00:00
randypfohl
f75709e78b fixing tests to match new abstraction
This change will let us move from activity to other parent views for recent viewss

Change-Id: I2424d94f799f87b2d2262da96b289aac6dfadee9
2024-04-10 09:14:38 -07:00