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
Sebastián Franco
38500c0576
Merge "Change name of getIconsPosition_afterIconRemoved_notContained to uninstallWorkspaceIcon" into udc-qpr-dev am: 359992b860 am: 0edef0f826
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24608413
Change-Id: Ieccabb3d8825a5d0b193f718d5a0c2c8703ea8e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-31 20:23:04 +00:00
Schneider Victor-tulias
8ab21da9e1
Merge "Revert remaining debug logs added for b/260260325" into udc-qpr-dev am: 1827f369da am: f58a9f0f5c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24622396
Change-Id: I5188fb4a9ea9d20b3ce3ec8d6f4c8419d2b7d52f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-31 20:20:40 +00:00
Anushree Ganjam
20bbe42cad
Merge "Remove the test aconfig lib." into main
2023-08-31 19:24:23 +00:00
Sebastián Franco
0edef0f826
Merge "Change name of getIconsPosition_afterIconRemoved_notContained to uninstallWorkspaceIcon" into udc-qpr-dev am: 359992b860
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24608413
Change-Id: I6477a99878a91a6fc948eadfc9afbc951e146a77
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-31 18:58:19 +00:00
Schneider Victor-tulias
f58a9f0f5c
Merge "Revert remaining debug logs added for b/260260325" into udc-qpr-dev am: 1827f369da
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24622396
Change-Id: I3aaefc14c09e1d9e7f457417dbeb77ef53f864d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-31 18:58:05 +00:00
Sebastián Franco
359992b860
Merge "Change name of getIconsPosition_afterIconRemoved_notContained to uninstallWorkspaceIcon" into udc-qpr-dev
2023-08-31 18:08:55 +00:00
Schneider Victor-tulias
1827f369da
Merge "Revert remaining debug logs added for b/260260325" into udc-qpr-dev
2023-08-31 17:59:27 +00:00
Treehugger Robot
3e96c9c572
Merge "Remove unused @ScreenRecord" into main
2023-08-31 17:53:42 +00:00
Schneider Victor-tulias
e115af71f8
Revert remaining debug logs added for b/260260325
...
Flags: not needed
Fixes: 260260325
Test: Tapl tests
Change-Id: Ie339e2ce3bd301c1c352a2f82d1a370c1f4970c1
2023-08-31 11:44:24 -04:00
Charlie Anderson
d48f89be9d
Merge "Remove ENABLE_MATERIAL_U_POPUP flag and cleanup dead code" into main
2023-08-31 15:09:25 +00:00
Alex Chau
d4f49a7927
Remove unused @ScreenRecord
...
Fix: 202433017
Fix: 202985412
Test: presubmit
Change-Id: I6ad6cbac0a2f509fb6191a3341a13b678d407168
2023-08-31 11:27:56 +01:00
Vadim Tryshev
f7193e1469
Removing unused screen records
...
Bug: 187761685, 195673272
Test: presubmit
Flag: N/A
Change-Id: I87711d246660d917cf7e09ac4ffd714149563e52
2023-08-31 02:00:28 +00:00
Vadim Tryshev
2ba6ef0cb0
Merge "Removing verifying touch events in TAPL" into udc-qpr-dev am: b75add7a5f am: 9734478ec8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24588973
Change-Id: I60a751986bf753588b4415e5a1429cf88027fc69
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-30 23:25:08 +00:00
Sebastian Franco
940d43b6e9
Change name of getIconsPosition_afterIconRemoved_notContained to uninstallWorkspaceIcon
...
The name doesn't make clear what the test is doing and
it doesn't follow our naming conventions. Also, adding
comment to explain what the test is doing.
Bug: 298234173
Test: atest UninstallWorkspaceIcon
Change-Id: Icdc42e891a94d159fc07e69931ea8444d882ad56
2023-08-30 16:11:33 -07:00
Vadim Tryshev
9734478ec8
Merge "Removing verifying touch events in TAPL" into udc-qpr-dev am: b75add7a5f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24588973
Change-Id: I6520567e1c73e41b3fc740c35d509202c904e5fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-30 22:31:05 +00:00
Anushree Ganjam
2a14b978c6
Remove the test aconfig lib.
...
zhidou@ from ACE team is working on AConfigFakelib which will be useful
to set fake flag values in both unit tests and UI automator tests.
Meanwhile, we will mock the flag values for unit tests and UI automator
tests will have all flags values defaulted to false.
testAConfigLib with "test:true" doesn't generate fake flags values and
forces us to set the flag values using "SetFlagsRule". "SetFlagsRule"
doesn't work with Out Of Proc tests and hence doesn't serve the purpose
for us. AConfigFakelib and FakeFlagTargetPreparer should use for Out Of
Proc tests.
testAConfigLib with "test:true" is suitable for java host tests where
there is no device involved. Launcher tests are instrumentation tests and tests run on actual
devices. So we can use the production version of the AConfig lib and device
config flag values will be fetched for UI Automator tests.
Also migrating "enable_twoline_allapps" to trunk stable. Unit tests is
using mockito to mock the flag value as false. The owner of
"enable_twoline_allapps" can mock the value to true in unit tests as
next step.
Bug: 294913042
Test: Local studio build and soong build
Flag: enable_twoline_allapps
Change-Id: Iea42bf18197832a9ecbddc1c3aaa8c9e36169131
2023-08-30 15:20:51 -07:00
Vadim Tryshev
b75add7a5f
Merge "Removing verifying touch events in TAPL" into udc-qpr-dev
2023-08-30 21:40:11 +00:00
Kevin Lim
a954a0d64d
Merge "[Tiger] Remove @PlatinumTest for testUninstallFromWorkspace so that the flaky test runs and we can get a screen record." into udc-qpr-dev am: 8c2e5cbd58 am: f2892a08fa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24559527
Change-Id: I8602d0523b147f064292dafc861b96a6ba45ab81
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-30 21:05:32 +00:00
Vadim Tryshev
0e97dff0da
Removing verifying touch events in TAPL
...
They are perceived to produce too much noise and maintenance.
Bug: 187761685
Test: presubmit
Flag: N/A
Change-Id: I062eb5670a92a2ccc7039108829b09ca9d9127ae
2023-08-30 13:57:18 -07:00
Kevin Lim
f2892a08fa
Merge "[Tiger] Remove @PlatinumTest for testUninstallFromWorkspace so that the flaky test runs and we can get a screen record." into udc-qpr-dev am: 8c2e5cbd58
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24559527
Change-Id: I6820cf27640ac5e8db77566e03f59ab952a25108
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-30 20:56:32 +00:00
Charlie Anderson
69524513db
Remove ENABLE_MATERIAL_U_POPUP flag and cleanup dead code
...
- removes a lot of dead code for the old popup design and especially around adding notifications to popups
- renames several resource files to remove the material_u specification, as it is now the only design
Test: manually run through launcher popups
Bug: 270395516
Flag: ENABLE_MATERIAL_U_POPUP
Change-Id: I462063482206578b4b896a6d405dc2383f2da510
2023-08-30 20:40:25 +00:00
Kevin Lim
8c2e5cbd58
Merge "[Tiger] Remove @PlatinumTest for testUninstallFromWorkspace so that the flaky test runs and we can get a screen record." into udc-qpr-dev
2023-08-30 19:38:50 +00:00
Brian Isganitis
d36ea362c4
Merge "Add TAPL APIs for search web suggestions." into udc-qpr-dev am: 90e2a4d2d7 am: 80dace90ab
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24407376
Change-Id: I4e1b33f01ab7ca53a0f839d25ebd6ee9ab5d7e34
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-29 23:14:54 +00:00
Sebastián Franco
5073751704
Merge "Adding wait to test if the flake is a race condition" into udc-qpr-dev am: b8ca7ae13c am: 98dfe6cf8b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24576276
Change-Id: Ib5499576c9c0eeda0a21365fede203c3dad83911
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-29 22:34:23 +00:00