Commit Graph

2296 Commits

Author SHA1 Message Date
Benno Lin d80ed19ba6 Disable Tapl pressBack and dragToFolder Tests
The tests break on R3 and S5 devices.
Therefore the CL disable them temporarily until the issue being
resolved.

Bug: 205027405
Bug: 205014516
Test: disable tests that break ATP tests on R3 and S5.
Change-Id: Ib71c2f334d98445aeafa211d9bba2910d191b6fb
2021-11-04 02:46:48 +00:00
vadimt 462fe7c007 Allowing OOP tests to enable home screen rotation.
Bug: 202567877
Test: local runs
Change-Id: Ifb711a3071a26e2d8e690e0378b6e74146ac722c
2021-11-03 18:39:01 -07:00
Jon Miranda f3fbc935cd Testing to see if using isInStableState is better condition vs getCurrentStableState
Test: presubmit
Bug: 202735477
Change-Id: I06c964cc92b7731e73628210688817e2d9cf1bac
2021-11-03 11:42:01 -07:00
Benno Lin 1d9d303185 Merge "Implement pressing back button and swiping back" into sc-v2-dev am: 97d749833c am: 1cfa05ad08
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16013509

Change-Id: I087ff9a5482c88f9034b1c51227d73c2412c89c7
2021-11-03 06:32:51 +00:00
Benno Lin 1cfa05ad08 Merge "Implement pressing back button and swiping back" into sc-v2-dev am: 97d749833c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16013509

Change-Id: I4b60b6e1fa2c7a14d837ef74cd2d3f4c0f6f9f25
2021-11-03 06:20:17 +00:00
Benno Lin 413a663096 Merge "Update TAPL to operate on folder icons." into sc-v2-dev am: 8f083ccce3 am: 062300e0eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15757342

Change-Id: Ia3d6ef0cb11913fe4f81933be5a34cea1746f06e
2021-11-03 02:51:41 +00:00
Benno Lin 062300e0eb Merge "Update TAPL to operate on folder icons." into sc-v2-dev am: 8f083ccce3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15757342

Change-Id: I3ab0a08a826188a794b5d76ecbb13b0e07b2c496
2021-11-03 02:35:54 +00:00
Benno Lin 6c00386c2b Implement pressing back button and swiping back
This CL implements a pressBack function to press back button or swiping
back in gesture navigation mode.

Bug: 199120092
Test: atest -c Launcher3Tests:com.android.launcher3.ui.TaplTestsLauncher3#testPressBack &&
    atest -c NexusLauncherTests:com.android.quickstep.TaplTestsQuickstep#testPressBack
Change-Id: I001cea17d09ae1ab7952d04ee394a2afa5bf1e67
2021-11-03 02:28:37 +00:00
Benno Lin 8f083ccce3 Merge "Update TAPL to operate on folder icons." into sc-v2-dev 2021-11-03 02:14:46 +00:00
Alex Chau ce5b0619a8 Merge "Adding screen record for a flake" into sc-v2-dev am: a8a51394f5 am: af89da83cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16167587

Change-Id: Ic7d181de4774e4cc9a9f70d95dd5eb8da9ffdf8e
2021-11-02 12:10:47 +00:00
Alex Chau af89da83cc Merge "Adding screen record for a flake" into sc-v2-dev am: a8a51394f5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16167587

Change-Id: I89bf395a82611b19861c75cc80b13f3992aa233d
2021-11-02 11:49:57 +00:00
Jon Miranda da02250c29 Adding screen record for a flake
Test: presubmit
Bug: 202735477
Change-Id: I4e1d2bc3650e2f52767f57e9b00c9c2bf7974489
2021-11-01 14:25:35 -07:00
Hyunyoung Song a545ac4eca Merge "[Test] Introduce tracing to identify why pm create-user is failing" into sc-v2-dev am: f45ec6dc1d am: f3f49be082
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16120082

Change-Id: I03acf0c3cfbc3801da83740b34178acbfbeb7d4b
2021-10-31 22:27:34 +00:00
Hyunyoung Song f3f49be082 Merge "[Test] Introduce tracing to identify why pm create-user is failing" into sc-v2-dev am: f45ec6dc1d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16120082

Change-Id: I368d9963c9bcd734b5fadc59f429cebe68ba8507
2021-10-31 22:16:00 +00:00
Hyunyoung Song f45ec6dc1d Merge "[Test] Introduce tracing to identify why pm create-user is failing" into sc-v2-dev 2021-10-31 21:59:09 +00:00
Alex Chau ec75b26c9d Merge "Fix scroll task off screen to support different screen dimensions." into sc-v2-dev am: 14c8f45b5e am: 552368ee5f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16118656

Change-Id: I737ee25cd9bbd56534af3ca4aee07b6662e7e5b4
2021-10-28 10:56:46 +00:00
Alex Chau 552368ee5f Merge "Fix scroll task off screen to support different screen dimensions." into sc-v2-dev am: 14c8f45b5e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16118656

Change-Id: I25f201e6fe4dd8dee8b66d0cca1b2f5c36622885
2021-10-28 10:45:08 +00:00
Alex Chau 14c8f45b5e Merge "Fix scroll task off screen to support different screen dimensions." into sc-v2-dev 2021-10-28 10:27:30 +00:00
Vadim Tryshev 12609edb72 Revert "Temporarily disable Launcher3 tests affected by fling changes"
This reverts commit bc4dc49c6c.

Reason for revert: RecyclerView bug is fixed

Change-Id: Ia2a677f3a3987751349bad951ff136b2d55f439f
Test: presubmit
Bug: 197802324
(cherry picked from commit 8b4a6ee65b)
2021-10-26 17:47:05 +00:00
Pat Manning 1b5975c205 Fix scroll task off screen to support different screen dimensions.
This will fix the breaks on cuttlefish as seen in b/203781041.

Test: TaplTestsQuickstep.java
Bug: 197630182
Change-Id: I3b582a9df1790543c4e1521b45494fb462bb5c1c
2021-10-26 18:08:45 +01:00
sfufa@google.com 467d95cef3 [Test] Introduce tracing to identify why pm create-user is failing
Bug: 203817455
Test: presubmit
Change-Id: Iccfa152bea7a914292d566d6dd3e58eb73c38aa4
2021-10-25 18:56:49 -07:00
Benno Lin 5261776d3a Update TAPL to operate on folder icons.
The change updates features listed as follow:

1. Create a new class for folder icon.
2. Implement function to drag a icon to the other.
   (create a folder)
3. Find folders in a workspace.

Bug: 199120092
Test: Launcher3Tests:com.android.launcher3.ui.TaplTestsLauncher3#testDragToFolder
Change-Id: I3044025f8297f6e442446d70238f4b56f38a798a
2021-10-25 11:08:44 +00:00
TreeHugger Robot 53d0921acf Merge "Fix bug with resize frame in Launcher3." into sc-v2-dev am: ea38519fa4 am: 6bfd14613b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16057107

Change-Id: I1c600ea73a6e37bb79794650efa003874703e757
2021-10-20 21:20:24 +00:00
TreeHugger Robot 6bfd14613b Merge "Fix bug with resize frame in Launcher3." into sc-v2-dev am: ea38519fa4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16057107

Change-Id: I2d289e8e726ed5f224071dfc43da0bbf13ec47bf
2021-10-20 21:05:04 +00:00
TreeHugger Robot ea38519fa4 Merge "Fix bug with resize frame in Launcher3." into sc-v2-dev 2021-10-20 20:50:17 +00:00
Yogisha Dixit 7b1d25b251 Fix bug with resize frame in Launcher3.
Also updated the tests to check that the resize frame is shown.

Bug: 192655785
Test: AddWidgetTest, AddConfigWidgetTest, manual
Change-Id: Id348f39cec1bebc8ec9ea9f3068f4bda2159eac4
2021-10-20 19:03:14 +01:00
Pat Manning 011d37be5a Merge "Add new quickstep test for many tasks open at once." into sc-v2-dev am: 3c647ff30a am: 2e5511ad4b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15992810

Change-Id: I368651cbc9255f50baf3e741b561bebb16b18dd2
2021-10-20 15:55:07 +00:00
Pat Manning 2e5511ad4b Merge "Add new quickstep test for many tasks open at once." into sc-v2-dev am: 3c647ff30a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15992810

Change-Id: I0ef6bd2b1f3b77a0d515610eb1f14a9fb88ae71b
2021-10-20 15:39:04 +00:00
Pat Manning 3c647ff30a Merge "Add new quickstep test for many tasks open at once." into sc-v2-dev 2021-10-20 15:20:26 +00:00
Pat Manning ccec1de6ae Add new quickstep test for many tasks open at once.
This test is needed for testing overview-grid-related functionality.
- Opening non-focused tasks
- Dismissing a non-focused task from the grid
- Grid rows rebalancing after dismissal, which only happens when enough
apps are open to be off-screen.
- Grid tasks do not scroll after dismissal.

Test: TaplTestsQuickstep.java
Bug: 197630182
Change-Id: Ic907db4643cdc2eb9e4610dab917347e234e470c
2021-10-20 14:40:32 +01:00
TreeHugger Robot ff1419d376 Merge "Revert "Clear only workspace shortcut / widget related tests"" into sc-v2-dev am: 06146a1944 am: f944a88c2b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16076450

Change-Id: I3b33a924f8bb2a06866bec9c8488faf7523975ad
2021-10-19 20:33:59 +00:00
TreeHugger Robot f944a88c2b Merge "Revert "Clear only workspace shortcut / widget related tests"" into sc-v2-dev am: 06146a1944
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16076450

Change-Id: I01c5c7eb9166704a0d5d36f4cb0f9ad497a494c8
2021-10-19 20:09:31 +00:00
Trevor Radcliffe 2f47a7c737 Merge "Migrate Aardwolf to Soong" am: c6cb960ecc am: 526386b255 am: cabdc1828f am: b79aecff1f am: 101bd13591
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1855833

Change-Id: I6d8e16a9d6d79c3618b5b80b3370f57f81a7a33d
2021-10-18 19:59:54 +00:00
Trevor Radcliffe 101bd13591 Merge "Migrate Aardwolf to Soong" am: c6cb960ecc am: 526386b255 am: cabdc1828f am: b79aecff1f
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1855833

Change-Id: I3dfd8598a6bd2f70a8cd472d4a57d0864e27c452
2021-10-18 19:36:42 +00:00
Alex Chau 9b3dd6c0b9 Revert "Clear only workspace shortcut / widget related tests"
This reverts commit 22be1a47f4.

Reason for revert: Breaks another test
Bug: 202546679

Change-Id: I796c508a6d7c00ec8c1d48e3517453f9eca0616c
2021-10-18 17:52:12 +00:00
TreeHugger Robot 7554bf378f Merge "Clear only workspace shortcut / widget related tests" into sc-v2-dev am: 6a4f5427ea am: 29ceb9d004
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16056308

Change-Id: I671b785eeb1a275fd32b757a9fa86825bd2828fd
2021-10-15 20:01:30 +00:00
TreeHugger Robot 29ceb9d004 Merge "Clear only workspace shortcut / widget related tests" into sc-v2-dev am: 6a4f5427ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16056308

Change-Id: I16b4ee6ef97d15f23a90402d878c636ada56f009
2021-10-15 19:45:42 +00:00
Alex Chau 22be1a47f4 Clear only workspace shortcut / widget related tests
- This ensure hotseat to be populated with default items, so it won't result in an empty taskbar which get stashed in apps
- Workspace needs to be cleared because shortcut / widget dragging won't always work if there are items in workspace. It only happens in test due to the way we drag items.

Fix: 202546679
Test: NexusLauncherTests:com.android.launcher3.ui.widget.RequestPinItemTest
Change-Id: Ib3ded6a685eaa1b169b75fd179c9e29ca4be1e72
2021-10-15 16:01:44 +01:00
TreeHugger Robot 16b69de1cf Merge "Avoid scrolling within edgeSensitivityWidth in overview tests" into sc-v2-dev am: 485f2a53b2 am: 5f61b2dc27
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16014242

Change-Id: Ia9de754faac5ecc6bcd5a3de13d2dcf26a5a2a8f
2021-10-14 18:47:34 +00:00
TreeHugger Robot 5f61b2dc27 Merge "Avoid scrolling within edgeSensitivityWidth in overview tests" into sc-v2-dev am: 485f2a53b2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16014242

Change-Id: Ifac1ac169e1e83f002b4c8270f5dd0b4f8d1ec2d
2021-10-14 18:31:49 +00:00
TreeHugger Robot 485f2a53b2 Merge "Avoid scrolling within edgeSensitivityWidth in overview tests" into sc-v2-dev 2021-10-14 18:18:20 +00:00
Trevor Radcliffe caecf6393b Migrate Aardwolf to Soong
Fixes: 202886196
Test: apkanalyzer--apks are identical
Test: Treehugger
Change-Id: Iff24028632c4b6929c408db2dbae9a3d98604810
2021-10-12 23:00:23 +00:00
Samuel Fufa c75cdd4d6c Merge changes I097134c4,Icfe39c30 into sc-v2-dev am: 8469dc98c6 am: 9029902721
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15998125

Change-Id: I5b3d7943f58aa4858cb592c9335e1ec54eab3691
2021-10-08 23:07:07 +00:00
Samuel Fufa 9029902721 Merge changes I097134c4,Icfe39c30 into sc-v2-dev am: 8469dc98c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15998125

Change-Id: I8aa87b6dda2b8ceafc6e5719e938640dd72432ea
2021-10-08 22:52:38 +00:00
Samuel Fufa 8469dc98c6 Merge changes I097134c4,Icfe39c30 into sc-v2-dev
* changes:
  [Work profile][Test] Remove tracing logs for testWorkeduFlow
  [Work Profile] Enable work profile tests
2021-10-08 22:37:09 +00:00
Alex Chau 3220e9521f Avoid scrolling within edgeSensitivityWidth in overview tests
Fix: 202155383
Test: TaplTestsQuickstep.testOverviewActions with 1 task in overview
Change-Id: If137da179d93c9dcf413f431bf437083bfd0e737
2021-10-08 12:43:27 +01:00
sfufa@google.com 9f0981dc4f [Work profile][Test] Remove tracing logs for testWorkeduFlow
Bug: 159671700
Test: NA
Change-Id: I097134c45155f0e65ef4376fab803796f3fdb12a
2021-10-07 16:48:41 -07:00
sfufa@google.com bd977f3598 [Work Profile] Enable work profile tests
Bug: 159671700
Test: presbumit
Change-Id: Icfe39c30d603a4ae4cac576bc44037f545437ced
2021-10-07 16:48:20 -07:00
TreeHugger Robot 565c5ed6e2 Merge "Add TAPL test that dismissing focused task causes next task to become focused." into sc-v2-dev am: 1bf753f7a6 am: e77cae7f0d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15947750

Change-Id: I9c7cac5e73845ed4f08d2d518e661891188a0ce6
2021-10-06 00:45:44 +00:00
TreeHugger Robot e77cae7f0d Merge "Add TAPL test that dismissing focused task causes next task to become focused." into sc-v2-dev am: 1bf753f7a6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15947750

Change-Id: Id67d2342b0715896faa6832e59116b6ea42fcf05
2021-10-06 00:26:54 +00:00