Commit Graph

1515 Commits

Author SHA1 Message Date
Vadim Tryshev 2cd2e2dade Merge "Removing verifying motion events in TAPL" into udc-qpr-dev 2023-09-06 22:53:58 +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 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
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 4c735b9b94 Merge "Removing unused screen records" into udc-qpr-dev 2023-08-31 22:15:26 +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
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
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
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
Sebastián Franco b8ca7ae13c Merge "Adding wait to test if the flake is a race condition" into udc-qpr-dev 2023-08-29 17:46:40 +00:00
Kevin Lim f55c911367 [Tiger] Remove @PlatinumTest for testUninstallFromWorkspace so that the
flaky test runs and we can get a screen record.

Apologies. I didn't realize how @PlatinumTest runs. Apparently demotion
from platinum test list as of Aug 7th cl/554505521 makes them not run.

Bug: b/293944634
Flag: No flag needed. Test only change.
Test: No test needed. Purposefully turning on known flaky test for tracking.
Change-Id: I3aee2d135bcaf64c35c242b580a92ce538b95896
2023-08-28 22:03:00 +00:00
Sebastian Franco 563c4384bb Adding wait to test if the flake is a race condition
Test: atest getIconsPosition_afterIconRemoved_notContained
Test: postsubmit flake percentage
Bug: 288944469
Change-Id: I51253c066159fbc4d347bceff0f4017c03b01e74
2023-08-28 14:07:39 -07:00
Treehugger Robot 1dcfdc3b3f Merge "Implementing detector of view position jumps" into udc-qpr-dev 2023-08-28 18:51:42 +00:00
Pat Manning 0ff8103c66 Merge "Scale Launcher folders on hover." into udc-qpr-dev 2023-08-25 22:23:20 +00:00
Pat Manning cc0d8919ee Scale Launcher folders on hover.
Bug: 243191650
Test: PreviewBackgroundTest
Flag: ENABLE_CURSOR_HOVER_STATES
Change-Id: I8035501203af5c2d97b62cc79e576303e57f8b99
2023-08-25 20:02:23 +01:00
Vadim Tryshev e338f8a695 Ignoring WidgetsListHeader in WidgetsTwoPaneSheet
Bug: 297079300
Test: presubmit
Flag: N/A
Change-Id: I09172070a3f2274857458cd9504d4b425b1efef2
2023-08-24 11:04:26 -07:00
Helen Cheuk f209443be9 Merge "Add test to long press icon on home screen" into udc-qpr-dev 2023-08-24 15:55:30 +00:00
Treehugger Robot 72a101c1cc Merge "Ignoring WidgetsListHeader" into udc-qpr-dev 2023-08-24 01:26:26 +00:00
Pat Manning 77dce5f27a Merge "Do not clip scaled Launcher icons on hover." into udc-qpr-dev 2023-08-23 22:24:40 +00:00
Treehugger Robot 05776a707d Merge "Re-enable ALL_APPS_GONE_VISIBILITY and ENABLE_ALL_APPS_RV_PREINFLATION" into udc-qpr-dev 2023-08-23 19:26:40 +00:00
Vadim Tryshev 250b3c3ea3 Ignoring WidgetsListHeader
Bug: 297079300
Test: presubmit
Flag: N/A
Change-Id: I7e4fb9452bfc3df26c9121bd52557d53aa7d4bb6
2023-08-23 12:00:52 -07:00
Jordan Silva c6b6a4f3d5 Merge "Fix hotseat border space crash GSI" into udc-qpr-dev 2023-08-23 18:11:03 +00:00
Treehugger Robot 7e1c5d0b74 Merge "Correctly ignoring apps_view" into udc-qpr-dev 2023-08-23 17:41:19 +00:00
Treehugger Robot bed2e59967 Merge "Ignoring FloatingTaskThumbnailView:id/thumbnail" into udc-qpr-dev 2023-08-23 17:41:01 +00:00
Pat Manning d0f729d13c Do not clip scaled Launcher icons on hover.
Include change for setting the hover state flag programatically, as FastBitmapDrawable does not currently support DeviceConfig flags.

Fix: 243191650
Test: FastBitmapDrawableTest. Screenshot tests in another cl.
Flag: ENABLE_CURSOR_HOVER_STATES
Change-Id: I0eb796ae62e571a3287132bfcb99c4fca1e2fbe4
2023-08-23 08:45:43 +00:00
Fengjiang Li d18fcad565 Re-enable ALL_APPS_GONE_VISIBILITY and ENABLE_ALL_APPS_RV_PREINFLATION
Re-submit ag/24499161 with ag/24517009 to ensure tests are still passing

Flags: ENABLE_ALL_APPS_RV_PREINFLATION ALL_APPS_GONE_VISIBILITY
Test: Tested in bug bash
Bug: 288161355 291651514
Change-Id: I562d39f5edef46240700669b26d6e8fb27cbb77a
2023-08-22 18:20:52 -07:00
Vadim Tryshev bb3e61f313 Ignoring FloatingTaskThumbnailView:id/thumbnail
Bug: 286251603
Test: presubmit
Flag: N/A
Change-Id: I7e1f31c24e6b3f7cfc996d2117a8cd4e3482c01b
2023-08-22 17:44:22 -07:00
Sebastián Franco 2c9a2f2353 Merge "Remove odd screen ids when isTwoPanels is true" into udc-qpr-dev 2023-08-22 20:02:29 +00:00
Treehugger Robot a7eed17af3 Merge "Revert "Prevent some leaks from leaking to the next test"" into udc-qpr-dev 2023-08-22 20:00:54 +00:00
Vadim Tryshev 84f51ec03e Revert "Prevent some leaks from leaking to the next test"
This reverts commit d17a270b31.

Reason for revert: Perhaps, caused failures like: Launcher internal state didn't switch to Home, https://android-build.corp.google.com/test_investigate/?invocationId=I32700010190010056&testResultId=TR70828881289196802

Change-Id: I1c7afb75785aac6b02f451b9d5b74de7833abfed
2023-08-22 18:30:48 +00:00
Vadim Tryshev 798e892051 Correctly ignoring apps_view
Note already existing DRAG_LAYER + "SearchContainerView:id/apps_view",

Bug: 296927267
Test: presubmit
Flag: N/A
Change-Id: Ib65dab08a4dd25db4297390cc796405a0c7e148b
2023-08-22 17:37:29 +00:00
Randy Pfohl f18305ac08 Merge changes I3394267d,Idf9ef20e into udc-qpr-dev
* changes:
  Adding some logging to track test failure in post submit
  enable testWidgets for postsubmit for long term debugging
2023-08-22 17:14:40 +00:00
helencheuk a66a121bec Add test to long press icon on home screen
Fix: 292083404
Test: TaplTestsLauncher3#testLaunchHomeScreenMenuItem
Change-Id: I301ac719aeda744e8b8dca9a405208625eff89e7
2023-08-22 16:33:06 +00:00
Treehugger Robot 1e709c2a95 Merge "Prevent some leaks from leaking to the next test" into udc-qpr-dev 2023-08-21 22:23:21 +00:00
randypfohl ecffb20ba8 Adding some logging to track test failure in post submit
Test: not needed

Bug: 295069071

Change-Id: I3394267dbbd808544e2759737c7d139c5ba4121f
2023-08-21 14:49:25 -07:00
Stefan Andonian 0487d8ee9b Merge "Move WallpaperColorHints RPC calls to a background thread." into udc-qpr-dev 2023-08-21 21:47:58 +00:00
Kevin Lim c7aeced342 Merge "[Tiger] Add screen record to debug flaky test" into udc-qpr-dev 2023-08-21 21:27:20 +00:00
Stefan Andonian 24a963b268 Move WallpaperColorHints RPC calls to a background thread.
Bug: 251502424
Test: Theme behavior still works fine. Compilation worked well.
Change-Id: I18d0b2094f3ba841846ff98567acc7327a7bd220
2023-08-21 20:10:41 +00:00
Kevin Lim 9028f583a6 [Tiger] Add screen record to debug flaky test
Bug: b/293944634
Test: No test needed. Simply adding screen record for flakiness
debugging
Change-Id: If8ca3a7088778fd229d66697b9197969e3803486
2023-08-21 18:49:17 +00:00
randypfohl 7900abdab7 enable testWidgets for postsubmit for long term debugging
Test: no need here.

Bug: 295069071

Change-Id: Idf9ef20e15518802dbe89b49489149fe76d31b03
2023-08-21 11:42:49 -07:00
Vadim Tryshev d17a270b31 Prevent some leaks from leaking to the next test
Now when exiting the test, we finish Launcher activity and force the leak check.
I've seen this helping one of the leaks to stay within the test that caused it instead of failing the next test.

Bug: 187761685
Flag: N/A
Test: presubmit, local
Change-Id: I7eac26f749433c37a6880a2f035ab1ba9c5fef6e
2023-08-18 18:55:11 -07:00
Sebastian Franco ddd0450f6b Remove odd screen ids when isTwoPanels is true
We where adding more CellLayouts but they where later
removed by removeExtraEmptyScreenDelayed but when rotated
the pagination animation is created before they are removed.

With this change the extra CellLayouts won't be added in the first
place.

Fix: 291822492
Test: RoerderWidgets
Test: FoldableItemsIntegrity
Change-Id: I561d2ce961a7ecc50f7a8c99c4acc44262b2e211
2023-08-18 12:51:00 -07:00
Pat Manning bbf481b6b9 Merge "Add test to dismiss AllApps by swipe up to home gesture." into udc-qpr-dev 2023-08-17 21:09:12 +00:00
Vadim Tryshev 9e1fbcbe52 Implementing detector of view position jumps
I.e. when a view's top, right, left or bottom jumps too far between frames.

Flag: N/A
Test: presubmit, local runs
Bug: 286251603
Change-Id: I8f75a5b9ebb213d56db9f9ba1cc31d398fe7e88f
2023-08-17 10:55:40 -07:00
Jordan Silva d92271849c Fix hotseat border space crash GSI
Fix the calculation of the space between the icons for hotseat when the number of spaces needed is 0 or less.

Fix: 285834082
Flag: N/A
Test: HotseatWidthCalculationTest
Change-Id: I73bc1950277c01ac0ae7202c1e08bf45266b59b8
2023-08-17 16:02:01 +01:00
Pat Manning 39521ce7a5 Add test to dismiss AllApps by swipe up to home gesture.
Fix: 292080259
Test: TaplTestsLauncher3
Change-Id: I6053078cbfaf37d26c11376aecd21ba4edcbba44
2023-08-17 12:25:41 +01:00
Vadim Tryshev b36143551c Suppressing more view capture anomalies
Test: presubmit
Flag: N/A
Bug: 295904861, 295910059, 294891222, 295909454
Change-Id: I6abc34844d0dbfa53d402d4983a71655b256e091
2023-08-15 11:19:46 -07:00
Treehugger Robot 184fa593ed Merge "Improving diagnostics for tests ignored due to @Stability annotation Now they will be shown as ignored, not as passed." into udc-qpr-dev 2023-08-14 22:10:52 +00:00
Treehugger Robot 57065929ee Merge "Skipping view capture analyzer in presubmit" into udc-qpr-dev 2023-08-14 20:51:36 +00:00
Vadim Tryshev 74eddc5490 Improving diagnostics for tests ignored due to @Stability annotation
Now they will be shown as ignored, not as passed.

Bug: 187761685
Flag: N/A
Test: presubmit
Change-Id: I0913577230441c6bd60165138455ea16a759b39b
2023-08-14 20:44:05 +00:00