Commit Graph

3824 Commits

Author SHA1 Message Date
Sukesh Ram 60cab37a23 Remove Logs for TaplOverviewIconTest#testOverviewActionsMenu
Remove logging for TaplOverviewIconTest#testOverviewActionsMenu.

Flag: NONE
Test: Manually tested in pixel 7.
Bug: 326073471
Change-Id: Ie19cdb10234fd50fc64f259b5dafe9881162e23d
2024-05-08 22:29:48 +00:00
Jeremy Sim 7d69804e4e Merge "Fix bug with double-relayout of Overview Actions View" into main 2024-05-08 20:24:21 +00:00
Federico Baron b09442e16a Merge "Reduce steps for goHome()" into main 2024-05-08 17:58:38 +00:00
Sihua Ma 8128575f46 Merge "Move cell layout tests to deviceless tests" into main 2024-05-08 16:50:44 +00:00
fbaron 39e1d52c1b Reduce steps for goHome()
The goHome gesture is slow enough sometimes that it gets confused with an overview gesture. Reducing the step count should resolve this (verified in atest and haven't had it fail after changing this)

Flag: NONE
Bug: 336606166
Test: TaplTestsTrackpad#switchToOverview
Change-Id: I7ad388968205addb363cfd9ff4b7eefece170d1b
2024-05-07 20:48:30 -07:00
Sihua Ma 1593bb4af2 Move cell layout tests to deviceless tests
Excluding Tapl tests

Also adding Launcher3 test assets to Launcher3TestResources

Bug: 297950111
Flag: None
Test: atest Launcher3RoboTests
Test: atest NexusLauncherRoboTests
Test: SysUI studio
Change-Id: I101fc7229252016ec7e5015ed5f6a5b4dbba894d
2024-05-08 00:52:43 +00:00
Holly Jiuyu Sun 8834a6c450 Merge "[PS] Update Install button string." into main 2024-05-07 21:35:02 +00:00
Anushree Ganjam 405817f5f8 Merge "Remove Verify getProfileUser calls since it's making test flaky." into main 2024-05-07 18:19:57 +00:00
Jeremy Sim 41eadd1a91 Fix bug with double-relayout of Overview Actions View
This CL refactors Overview Actions View so that a separate view, R.id.group_action_buttons, is used for buttons related to grouped tasks. This also changes the way visibility is handled with actions buttons -- instead of all buttons living on one bar and being toggled on and off, sometimes the whole bar is toggled on and off (to change from single task actions to group actions and vice versa).

This prevents the same view from having its visibility changed twice in in one layout and causing the wrong visibility to be rendered.

Fixes: 333844287
Test: Manual
Flag: ACONFIG com.android.wm.shell.enable_app_pairs NEXTFOOD
Change-Id: I1b6be4637ac8c8d424e7633c437fca376ecdd757
2024-05-07 11:18:24 -07:00
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
Holly Sun 64f36f3679 [PS] Update Install button string.
Screenshot: https://screenshot.googleplex.com/B6UrJt92QMMgSuG

Bug: 338357091
Test: manual
Flag: aconfig com.android.launcher3.private_space_app_installer_button nextfood
Change-Id: Ia408ccfa20ea3c142bd22c326954d278fa571815
2024-05-06 20:35:01 -07: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
Anushree Ganjam 8b770b7166 Remove Verify getProfileUser calls since it's making test flaky.
There is enough asserts in the test to verify SystemShortcut is not null.

Bug: 333909497
Test: Manual
Flag: NA
Change-Id: I287a910f0f101ce8bc2c1e8678dbff0ced30a1dc
2024-05-02 15:17:46 -07: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