Commit Graph

2918 Commits

Author SHA1 Message Date
Vadim Tryshev 8413ce37fe Merge "Waiting for a TYPE_WINDOW_STATE_CHANGED event when starting Settings from task menu." into main 2023-09-16 01:24:52 +00:00
Vadim Tryshev ebba03501b Waiting for a TYPE_WINDOW_STATE_CHANGED event when starting Settings from task menu.
We do this when starting apps from Launcher in other places.

Bug: 298114205
Test: presubmit
Flag: N/A
Change-Id: I1ff4466a2daa78b618cdc24910f90b8d4306d8b8
2023-09-15 16:01:29 -07:00
Vinit Nayak af40345edc Merge "Add WorkProfileTest back into presubmit" into main 2023-09-15 19:13:10 +00:00
Vadim Tryshev a4853ab2b7 Merge "If running in presubmit, ignore @PortraitLandscape annotation. It's important to keep presubmits fast even if we will occasionally miss regressions in presubmit." into main 2023-09-15 16:53:14 +00:00
Thales Lima 8f2c11fed0 Merge "Revert "Add ScreenRecord for a flaky test"" into main 2023-09-15 12:40:08 +00:00
Vadim Tryshev 0d50b19f4b Merge "Verifying that workspace looks correct at the end of the test." into main 2023-09-14 23:44:24 +00:00
Vinit Nayak 4b46428c91 Add WorkProfileTest back into presubmit
Bug: 243688989
Change-Id: I6cf389e5056cd6eea000530d4f974591dbf0e8eb
2023-09-14 16:35:05 -07:00
Vadim Tryshev a3030444ec If running in presubmit, ignore @PortraitLandscape annotation.
It's important to keep presubmits fast even if we will occasionally miss
regressions in presubmit.

Bug: 295939967
Test: presubmit
Flag: N/A
Change-Id: I9b65a2dc1e912fbfe834d7eee67815cb05f30bb2
2023-09-14 23:07:07 +00:00
Sebastián Franco c468af4139 Merge "Disable FOLDABLE_SINGLE_PAGE" into udc-qpr-dev am: 216a765894 am: 07ce8fa893
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24681787

Change-Id: I74496b2ce863dadce1fbe3889de242c133a75121
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-14 19:02:27 +00:00
Sebastián Franco 07ce8fa893 Merge "Disable FOLDABLE_SINGLE_PAGE" into udc-qpr-dev am: 216a765894
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24681787

Change-Id: I91986355b221bbd623100dcf79d180ed9cc9a0c3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-14 18:08:54 +00:00
Sebastián Franco 216a765894 Merge "Disable FOLDABLE_SINGLE_PAGE" into udc-qpr-dev 2023-09-14 17:50:54 +00:00
Vadim Tryshev 62e3b162ba Verifying that workspace looks correct at the end of the test.
I hope that this will lock bugs like b/298114205 in the test that created the bad condition, not the next one.

Bug: 298114205
Test: presubmit
Flag: N/A
Change-Id: I6ad3598fb675d8b24ec0f273d255b7f2464dc53f
2023-09-14 10:11:25 -07:00
Jagrut Desai a144105c12 Merge "Fix TaplTestsNexus#testSearchForApp" into main 2023-09-14 16:08:35 +00:00
Brian Isganitis 42d12badd8 Merge "Support tapping outside container from above IME if visible." into main 2023-09-14 15:25:05 +00:00
Thales Lima 93143eab91 Revert "Add ScreenRecord for a flaky test"
This reverts commit 0a1f7d5de5.

Reason for revert: Test http://b/215673732 is not flaky anymore.

Change-Id: Ice6ff76ebcc22763b30fdf15a824d8030a131666
2023-09-14 14:43:07 +00:00
Vadim Tryshev ba00ce8259 Merge "Copy testAddAndDeletePageAndFling to Launcher tests. The next steps will be changing config files to point at this test, and removing it in integration tests." into main 2023-09-13 23:25:11 +00:00
Vadim Tryshev e989ddd992 Copy testAddAndDeletePageAndFling to Launcher tests.
The next steps will be changing config files to point at this test, and removing it in integration tests.

Bug: 187761685
Test: presubmit
Flag: N/A
Change-Id: Ib2a590b7d6aa99a89973a77ca43b1ab762c79fdb
2023-09-13 21:17:17 +00:00
Brian Isganitis 6066c44ed8 Support tapping outside container from above IME if visible.
This is useful for tests where the keyboard is open, which can take up
about half the screen.

Test: Tapl
Fix: 299514609
Flag: No
Change-Id: I47e2fe7555140b4b54046d4d8ba6de1ebd38c6a4
2023-09-13 21:00:52 +00:00
Alex Chau c2e3aa1a38 Merge "Revert "Move AppWidgetsRestoredReceiver methods to enable adding tests for restoring widget Ids"" into main 2023-09-13 20:11:21 +00:00
Pat Manning f5a29eaf82 Merge "Add widget resize CUJ test." into main 2023-09-13 19:18:10 +00:00
Jagrut Desai 311d519292 Fix TaplTestsNexus#testSearchForApp
This cl is 1/2 part change

We are currently getting StaleObjectException when running this test.
We want to implment a synchoronized event beetween test and launcher,
so we know that search result adapter is done updating and page will
get no more updates of search results.

Test: Presubmit
Bug: 232008758
Flag: not needed
Change-Id: I40cf9b83d231a2487220aabc8f8e8c3ca71f255c
2023-09-13 11:09:05 -07:00
Alex Chau 2d86f3337a Revert "Move AppWidgetsRestoredReceiver methods to enable adding tests for restoring widget Ids"
This reverts commit 5f263a7ae1.

Bug: 294386159
Reason for revert: b/298077774

Change-Id: Idcfb721e980d4242330e4bd9a2f9ad0f1cc5a1b5
2023-09-13 12:36:48 +00:00
Sebastian Franco f376613a5b Disable FOLDABLE_SINGLE_PAGE
ENABLE_TWO_PANEL_HOME is no longer used so I will also
remove it.

TwoPanelWorkspaceTest was expecting an icon on the hotseat
which no longer exist.

We will use the new flag system in main for this
feature.

Test: atest ReorderWidgets
Test: atest FoldableIntegrity
Bug: 270395274
Change-Id: I122a924a81ae989ff5636d8e276d6d31bbe0877d
2023-09-12 18:19:53 +00:00
Pat Manning 9d7ff6f0a5 Add widget resize CUJ test.
Fix: 241385885
Test: TaplTestsLauncher3
Change-Id: I9e6a3fe5c8371b362afb8c5361d8b6b86e8e62d6
2023-09-11 15:48:15 +01:00
Vadim Tryshev 5cdb5070ad Adding TestStabilityRule to AbstractDeviceProfileTest
This will help to demote tests derived from it from presubmit

Bug: 298077774
Test: presubmit
Flag: N/A
Change-Id: Ieb842b3fb92db2aeb6ed84cf2576888d7ee68016
2023-09-08 13:35:05 -07:00
Sebastián Franco cedec50beb Merge "Adding logs to test uninstallWorkspaceIcon to find flake reason" into main 2023-09-07 17:21:08 +00:00
Mateusz Cicheński 0b6b3e9e67 Merge "Add Assistant Home button support in Launcher TAPL" into main 2023-09-07 04:34:04 +00:00
Mateusz Cicheński 35accb87d9 Add Assistant Home button support in Launcher TAPL
When using apps that switch to car mode (e.g. Maps) while in 3 button
navigation mode, the default navbar is not visible and instead the
overlay from Assistant is being rendered that also has the Home button.

For tests that involve apps switching to car mode, when we want to go
home we want to be able to press that button.

Bug: 282758103
Test: n/a

Change-Id: I88c420f321dcfd39164e20e97d39f90bf1e5d8d8
2023-09-07 01:09:08 +00:00
Vadim Tryshev 10a619983d Merge "Removing verifying motion events in TAPL" into udc-qpr-dev am: 2cd2e2dade am: 1ded88e965
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24608412

Change-Id: Ia91fdf85a1407e809d811a49159b71a6ddc40938
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-07 00:28:02 +00:00
Vadim Tryshev 1ded88e965 Merge "Removing verifying motion events in TAPL" into udc-qpr-dev am: 2cd2e2dade
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24608412

Change-Id: I8c8d85d47253d2923c04bae29509d2a489bc863d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-06 23:39:05 +00:00
Sebastián Franco 8a21ec65e4 Merge "Moving TaplTestsLauncher3 to it's own class" into main 2023-09-06 23:27:33 +00:00
Sebastian Franco bfc74bdb02 Adding logs to test uninstallWorkspaceIcon to find flake reason
Also, removing old logs.

Bug: 288944469
Test: atest uninstallWorkspaceIcon
Change-Id: Ifad3c5e6486346a363dba98180839f4e08ed2078
2023-09-06 23:21:07 +00:00
Brian Isganitis f89d65d9cc Merge changes from topic "taskbar-toast-tapl-nav-main" into main
* changes:
  Update AllApps search TAPL APIs support for system back and dismiss.
  Rename AllAppsFromTaskbar to TaskbarAllApps.
2023-09-06 22:59:35 +00:00
Vadim Tryshev 2cd2e2dade Merge "Removing verifying motion events in TAPL" into udc-qpr-dev 2023-09-06 22:53:58 +00:00
Sebastian Franco 1a02891d66 Moving TaplTestsLauncher3 to it's own class
Bug: 298234173
Test: atest TAPLOpenCloseAllApps
Change-Id: If827c5962e258ec5fe930b0d71e183e0191f2b11
2023-09-06 13:29:02 -07:00
Vinit Nayak 66b7b20800 Merge "Check events for launching split from Launchable" into main 2023-09-06 20:26:52 +00:00
Vadim Tryshev 4d3179706a Removing verifying motion events in TAPL
This allows us to simplify GestureScope.

Bug: 187761685
Test: presubmit
Flag: N/A
Change-Id: I0ca0add5ef41ddd74a8fe3b4ebca10e0f866bf55
2023-09-06 13:08:31 -07:00
Vadim Tryshev e4f83a1bf0 Merge "Skiping view capture collection in Launcher3 tests to avoid hidden API check exception." into udc-qpr-dev am: 233ca49f80 am: 56372f0939
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24641480

Change-Id: If6589685d46fc1f56085f1e9424c721b0dbdccb3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-06 19:00:18 +00:00
Vadim Tryshev 56372f0939 Merge "Skiping view capture collection in Launcher3 tests to avoid hidden API check exception." into udc-qpr-dev am: 233ca49f80
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24641480

Change-Id: I7780723fa1aa01798ebfcb3465942ef6968907a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-06 18:11:15 +00:00
Vadim Tryshev 233ca49f80 Merge "Skiping view capture collection in Launcher3 tests to avoid hidden API check exception." into udc-qpr-dev 2023-09-06 17:38:50 +00:00
Schneider Victor-tulias df3043aa46 Merge "Revert "Add screen recording to flaky test"" into main 2023-09-06 15:09:35 +00:00
Vinit Nayak f2da6d8fbc Check events for launching split from Launchable
* Previously we weren't waiting for any events check,
which was terminating the test too early before any
split cleanup was happening, causing errors in the
following test.

Test: atest NexusLauncherOutOfProcTests:com.android.quickstep.TaplTestsSplitscreen
Bug: 297135374
Change-Id: I635a1de1381932e6545fc0fc7bf7567c9f6ebe67
2023-09-05 21:44:03 +00:00
Thales Lima 1f19c95d95 Create new hotseat spec tests
Refactor DeviceProfileDumpTest to use files instead of inline strings.

Fix: 292204436
Test: DeviceProfileDumpTest
Test: CalculatedHotseatSpecTest
Test: HotseatSpecsTest
Flag: ENABLE_RESPONSIVE_WORKSPACE
Change-Id: I5aa2891c4c68033a4dd28f84f9dd5478be17b1d8
2023-09-05 16:31:06 +01:00
Schneider Victor-tulias a96f29e28d Revert "Add screen recording to flaky test"
This reverts commit 543857f496.

Reason for revert: closing b/242163205
Fixes: 242163205

Change-Id: Ia1279984f58366051101d650d095ae1e4a632654
2023-09-05 13:53:23 +00:00
Vadim Tryshev 835ff63525 Skiping view capture collection in Launcher3 tests to avoid hidden API check exception.
Bug: 187761685
Test: presubmit
Flag: N/A
Change-Id: Ic739c045a80ded6a4407e3c151fe6abcf46de53c
2023-09-01 14:43:58 -07:00
Treehugger Robot 1c14e5e80b Merge "Removing unused screen records" into udc-qpr-dev am: 4c735b9b94 am: 42b325c808
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24612767

Change-Id: I015903edfddb95b22d7b0acd1f5a9e896c7222df
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-31 23:52:54 +00:00
Treehugger Robot 42b325c808 Merge "Removing unused screen records" into udc-qpr-dev am: 4c735b9b94
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24612767

Change-Id: Id5eaf1d38bef85aeebdfbd684a7564724a89a0f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-31 23:00:46 +00:00
Treehugger Robot 4c735b9b94 Merge "Removing unused screen records" into udc-qpr-dev 2023-08-31 22:15:26 +00:00
Brian Isganitis e6038a7e05 Update AllApps search TAPL APIs support for system back and dismiss.
Design doc: go/toasty-taskbar-tapl

Test: Compiles
Bug: 295366997
Flag: Not needed
Change-Id: I87b0b16c83eefc7e997cfd35901c788853aa9988
2023-08-31 20:37:16 +00:00
Brian Isganitis 97249c5318 Rename AllAppsFromTaskbar to TaskbarAllApps.
More consistent with other Taskbar and Home API naming conventions.

Test: Compiles
Bug: 295366997
Flag: No
Change-Id: I5de7297cc73522f557a6a916e2c645ffb0473f78
2023-08-31 20:34:05 +00:00