Commit Graph

3813 Commits

Author SHA1 Message Date
Schneider Victor-tulias
c6c8a22daf Merge "Add debug logs for b/319168409" into main 2024-05-07 13:56:56 +00:00
Himanshu Gupta
8b0d1fb614 Merge "Adding Tapl test for locking/unlocking Private Space" into main 2024-05-07 09:57:59 +00:00
Sunny Goyal
499b9d067f Merge "Creating a custom runner for multivalent tests with Launcher specific features" into main 2024-05-06 20:55:00 +00:00
Treehugger Robot
bdbb43679c Merge "Add screenrecord and demote TaplUninstallRemoveTest#testAddDeleteShortcutOnHotseat" into main 2024-05-06 20:25:22 +00:00
Sunny Goyal
0f4bc92653 Creating a custom runner for multivalent tests with Launcher specific features
Bug: 338128923
Test: Verified by modifying a test
Flag: None
Change-Id: I1f04e28847ff9c0f7af3c0d952038ad24d03c17e
2024-05-06 12:10:21 -07:00
Himanshu Gupta
bf51b4882e Adding Tapl test for locking/unlocking Private Space
In this test:
1. Private Space is created.
2. Lock Button is clicked, locked view is verified.
3. Unlock Button is clicked, unlocked view is verified.
4. Private Space is removed.

Doc: go/private-space-tapl

Bug: 322882655
Test: TaplPrivateSpaceTest
Flag: NA
Change-Id: I1c399a96ea14a4464113576d31eed8db1caf1f2a
2024-05-06 20:03:23 +01:00
fbaron
5498d1e73e Add screenrecord and demote TaplUninstallRemoveTest#testAddDeleteShortcutOnHotseat
Flag: NONE
Test: TaplUninstallRemoveTest#testAddDeleteShortcutOnHotseat
Bug: 338869019
Change-Id: Ia2a3ce8808d63e2d6197cf5ef26b274817b7729a
2024-05-06 11:17:35 -07:00
Schneider Victor-tulias
8288819aa6 Add debug logs for b/319168409
Flag: N/A
Bug: 319168409
Test: TaplDragTest#testDragAppIcon

Change-Id: I96d26cc78af0a3f4145fc3486c4b6adfbd110c9e
2024-05-06 16:22:03 +00:00
Sunny Goyal
8dec848ad2 Merge "Adding a special runner to run simulate multiple devices when running robo tests" into main 2024-05-04 03:13:27 +00:00
Sunny Goyal
86145f49fb Adding a special runner to run simulate multiple devices when running robo tests
Bug: 338128923
Test: Verrified by modifying a test
Flag: None
Change-Id: I133842d68e437b971da39e2081c8859515463cd3
2024-05-03 15:54:40 -07:00
Federico Baron
77237f0501 Merge "Demote testEmptyPageDoesNotGetRemovedIfPagePairIsNotEmpty to postsubmit" into main 2024-05-03 22:27:39 +00:00
Kevin Lim
13595ff1fe Merge "[Deviceless] Move BubbleTextViewTest to multivalentTests for deviceless testing." into main 2024-05-03 22:11:44 +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
Willie Koomson
a6f1bd55d4 Merge changes from topic "update-widget-font" into main
* changes:
  Fix resize frame corner radius for widgets added with button
  Hide add button text if cell is too narrow
  Update font settings to match POR
2024-05-02 23:07:40 +00: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
Treehugger Robot
0ff6c0a50d Merge "Debug TaplAddConfigWidgetTest test" into main 2024-05-02 22:16:42 +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
Willie Koomson
61dc97ecb2 Update font settings to match POR
Updates font color, size, weight, and line height for text in the widget
picker to match POR and pass a11y test.

Bug: 317948371
Flag: NONE
Test: Accessibility Scanner contrast test
Change-Id: I3c7676c507b81a616876206681972ebb9fefd0c3
2024-05-02 19:55:33 +00:00
Sebastián Franco
76f2828d52 Merge "Print the test cases and the solutions of ReorderAlgorithmUnitTest" into main 2024-05-02 19:38:45 +00:00
Treehugger Robot
f7ed35fc87 Merge "Locking the All Apps view before asserting PS components." into main 2024-05-02 19:02:42 +00:00
Sunny Goyal
93221e00a5 Merge "Converting ModelTask to an interface instead of an abstract class" into main 2024-05-02 17:41:09 +00:00
Treehugger Robot
a9b939a82f Merge "Turn off deprecated sdk dialog" into main 2024-05-02 10:31:01 +00:00
Sebastian Franco
08ca5e7f3c Print the test cases and the solutions of ReorderAlgorithmUnitTest
Bug: 332527963
Test: ReorderAlgorithmUnitTest
Flag: NA
Change-Id: Ie2830136bcf59354f1c33c3f09fbe28caa71971b
2024-05-01 16:56:10 -07:00
Sunny Goyal
993893895c Converting ModelTask to an interface instead of an abstract class
This allows extensibility and better use of lambdas

Bug: 338282246
Test: Presubmit
Flag: None

Change-Id: Ia41067f0068b3b631eeb4faf877dc77f8587e1f6
2024-05-01 15:43:26 -07:00
Himanshu Gupta
3a0f024044 Locking the All Apps view before asserting PS components.
Bug: 334946529
Test: NA
Flag: NA
Change-Id: Id8895a993f61ee22fcef1ba562aaa8baf156d6d7
2024-05-01 18:52:32 +01:00
Jagrut Desai
2e8ca87c21 Taskbar in Desktop Windowing Mode
Test: presubmit
Bug: 330146462
Flag: NONE
Change-Id: Ib33f90704c3010df6a52e2a1c420960b11dbd0d4
2024-05-01 09:29:24 -07: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
Treehugger Robot
1b21277b1d Merge "Add TAPL tests for PredictionRow." into main 2024-04-27 01:13:02 +00:00
Anushree Ganjam
5a2b0ff434 Add TAPL tests for PredictionRow.
This will help us catch and debug following issues
* Prediction row view is missing
* Prediction row view doesn't contain enough apps

Bug: 332171918
Test: Manual
Flag: NA

Change-Id: I11035997afb26799a2c3b69d5139b4f3c28fc405
2024-04-26 16:27:41 -07:00
Willie Koomson
21379bfbbc Merge "Remove widget education tip dialog" into main 2024-04-26 20:23:21 +00:00
Vadim Tryshev
3674c92354 Merge "Revert "Demote unstable test testUninstallFromAllApps from presubmit"" into main 2024-04-26 18:34:47 +00:00
Sunny Goyal
e5fbcbaffc Merge "Fixing robolectric tests not running on UI thread after changing looper mode" into main 2024-04-26 16:55:54 +00:00
Brandon Dayauon
165c8b3a1b Merge "Enable transitioningToLocked_resetCallsExecuteLock and transitioningToUnlocked_resetCallsPostUnlock in presubmit" into main 2024-04-26 16:30:35 +00:00
Jeff DeCew
33fe7472dc Merge "Remove redundant call to SetFlagsRule.initAllFlagsToReleaseConfigDefault()" into main 2024-04-26 16:19:02 +00:00
Andrew Cole
a5a2bffe01 Merge "Removing post submit only rule" into main 2024-04-26 16:18:29 +00:00
Treehugger Robot
d62a3aefc0 Merge "Converting IconShape to mainThreadInitializedObject instead of keeping it a process static" into main 2024-04-26 16:17:52 +00:00
Jakob Schneider
464fa5eb6c Merge "Promote tests because they are stable again: http://shortn/_xVIYIenvfl" into main 2024-04-26 16:17:00 +00:00
Andrew Cole
ae3039ea9f Removing post submit only rule
Now that FolderIconLoadTest is no longer flakey we can remove the post submit only test stability rule and allow the tests to be run in presubmit.

Flag: None
Bug: b/319923578
Test: FolderIconLoadTest.kt
Change-Id: I115193dfef855fedbc204d0cc9d3a908b56f8eec
2024-04-25 16:45:02 -07:00
Willie Koomson
d731ba2ff1 Remove widget education tip dialog
This change removes the widget education tip dialog, and the arrow
tip view. These are no longer needed now that taps are handled by
showing an add button.

Bug: 335318980
Test: `pm clear com.google.android.apps.nexuslauncher` and open widget
 picker
Flag: ACONFIG com.android.launcher3.enable_widget_tap_to_add NEXTFOOD
Change-Id: I9b24a41604880f5f94939c02b94f1a9f6a6c83d5
2024-04-25 22:56:36 +00:00
Sunny Goyal
638a687fc8 Converting IconShape to mainThreadInitializedObject instead of
keeping it a process static

Bug: 297950111
Flag: None
Test: Presubmit
Change-Id: Id66100e0cb300659c6017c287eb38ab04290477b
2024-04-25 15:56:30 -07:00
Shamali Patwa
1f2dabfb4e Merge "Re-enable the testDragCustomShortcut test in pre-submits" into main 2024-04-25 21:09:21 +00:00
Treehugger Robot
d1a01bd8a3 Merge "testDragToFolder is stable; promoting to presubmit" into main 2024-04-25 19:43:57 +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
Treehugger Robot
2bed168c4d Merge "Reapply "add more unit tests for WorkspaceItemProcessor"" into main 2024-04-25 18:48:07 +00:00
Brandon Dayauon
107ed23856 Enable transitioningToLocked_resetCallsExecuteLock and transitioningToUnlocked_resetCallsPostUnlock in presubmit
bug: 326206132
Test: presubmit
Flag: None
Change-Id: I2158116f9c02924cacd4e3f1d6adf920b68b973f
2024-04-25 10:58:29 -07: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
Linus Tufvesson
371bd87e21 Turn off deprecated sdk dialog
.. for launcher3 tests

Flag: LEGACY RELEASE_PLATFORM_MIN_SUPPORTED_TARGET_SDK_VERSION STAGING
Bug: 297603927
Test: atest NexusLauncherOutOfProcTests:com.android.quickstep.TaplTestsQuickstep
Change-Id: Ie8c62d66360e75892b0774314252def5a346199b
2024-04-25 18:38:35 +02:00
Charlie Anderson
9ac6f42610 Reapply "add more unit tests for WorkspaceItemProcessor"
Also, add more unit tests around Widgets.

This reverts commit d9ed5f301b.

Test: Added unit tests
Flag: N/A
Bug: 330906931
Bug: 294386159

Change-Id: I8de74bce8bddd06e5ce1399d26253cb936281bee
2024-04-25 12:35:14 -04:00