Commit Graph

589 Commits

Author SHA1 Message Date
Vadim Tryshev 1b0445dfa4 Merge "Tuning system health diags" into ub-launcher3-qt-r1-dev 2019-07-25 22:30:23 +00:00
vadimt 98193241c3 Tuning system health diags
Change-Id: Ib437c07e7e6e766621af435f75198b55dafd13c4
2019-07-25 15:15:30 -07:00
Vadim Tryshev 004a5fe6c5 Revert "Reenabling testPressHomeOnAllAppsContextMenu"
This reverts commit 86f5da2d8f.

Reason for revert: Test fails in 2-button mode

Change-Id: I20163a658f731cf6ef27ce84f5f7c06919b7b9cd
2019-07-25 21:51:10 +00:00
vadimt 86f5da2d8f Reenabling testPressHomeOnAllAppsContextMenu
Bug: 134074554
Change-Id: Icd23e2dcafab091e5406e84bb827bfc7177832ff
2019-07-25 12:06:32 -07:00
Vadim Tryshev 7b0520afe4 Merge "Checking Launcher internal integrity from tests" into ub-launcher3-qt-r1-dev 2019-07-24 01:30:06 +00:00
vadimt 0dd1c782f0 Checking Launcher internal integrity from tests
In particular, we check that the stable Launcher state equals its
current state. This can help detect Launcher being in a corrupted state
as in b/133867119.

The check gets called by tests when the Launcher is not transitioning
from state to state.

Bug: 137307838
Change-Id: I3d36edff35e42d14be6b9a52351bd6f709be75e8
2019-07-23 18:07:25 -07:00
TreeHugger Robot 8578309f1b Merge "Adding debug tracing" into ub-launcher3-qt-r1-dev 2019-07-24 00:01:25 +00:00
vadimt cd7b00853b Adding debug tracing
Bug: 138251824
Change-Id: Ibe3de964aeacbf83fd46cc53fda7d15c9401fe4d
2019-07-23 16:49:48 -07:00
Vadim Tryshev 068f4bde88 Merge "TAPL: adding 1 to gesture margins to avoid accidentally triggering back" into ub-launcher3-qt-r1-dev 2019-07-23 23:17:08 +00:00
vadimt a505381980 TAPL: adding 1 to gesture margins to avoid accidentally triggering back
Change-Id: I7152d60dffc2085313dc1466693b599e4efe0394
2019-07-23 15:48:02 -07:00
vadimt 34828b1942 Improving "Add automatically" recognition
Bug: 138152531
Change-Id: I204233f06a80d2d17b24dd9622c7a2152b1303a0
2019-07-23 13:54:05 -07:00
vadimt 44515f42c0 Allowing both normal-case and uppercase versions of widget prompt
The prompt is "Add automatically"

Bug: 138152531
Change-Id: I5f1a15563e1e11768579711108a28070b72b4454
2019-07-23 12:41:13 -07:00
vadimt 20aa2e4f51 Logging start and end of linear gesture
Change-Id: Ie0756c89e3871b3f4e12849ef52c44f84a5ceeee
2019-07-22 16:54:29 -07:00
Vadim Tryshev 3ab3c768f5 Merge "Logging original exception in PortraitLandscapeRunner" into ub-launcher3-qt-r1-dev 2019-07-19 19:25:46 +00:00
vadimt 21cd128141 Logging original exception in PortraitLandscapeRunner
Change-Id: I672e563df45f1f0dcdda5b1f863919f0150e73e6
2019-07-19 12:12:49 -07:00
Vadim Tryshev a7b3de9e45 Merge "Improving system health diags" into ub-launcher3-qt-r1-dev 2019-07-19 17:59:14 +00:00
vadimt 76d2a6fcc3 Improving system health diags
Change-Id: I207c5b9c9ad9e99646419b7a4bd77b59a067f26d
2019-07-19 10:40:25 -07:00
vadimt c8d496fe00 Fix waiting for launcher initialization
Bug: 137836033

Change-Id: Ifc8ce867abd85eaeacd09a2b39636ecc4109c046
2019-07-18 18:31:49 -07:00
vadimt c0a1b7046d Improving TAPL code around fallback recents
Change-Id: I9cd1caa2725f1d3967447130f4e34c4cf878514b
2019-07-18 15:12:24 -07:00
vadimt 04ca73b590 Fixing starting scrolls outside of view
Change-Id: I0237603d25edc60522c41a3d20615391d5b4f3b6
2019-07-17 18:55:53 -07:00
vadimt 2f7d1fa4a8 Using correct gesture margins in overview
Change-Id: I0108858279559e10633825f7de22211515f0e9b7
2019-07-17 15:18:21 -07:00
Winson Chung 9cbd961ec9 Merge "Use non-android package name for context creation" into ub-launcher3-qt-r1-dev 2019-07-17 20:23:49 +00:00
Winson Chung 20d6a27608 Use non-android package name for context creation
- Speculative fix for mismatch between navigation mode reported to the
  tests vs. what mode the device is in based on the bug report. Original
  change to the package name was in ag/6866716

Bug: 136033787
Change-Id: I51f964daa8c42b671733cf3fab19d086e19a9063
2019-07-17 19:59:37 +00:00
vadimt bf0042107c Temporarily disabling checking TouchInteractionService
Change-Id: I953f251373f7bfb471eb203ee4ceda4375f17703
2019-07-16 19:05:57 -07:00
TreeHugger Robot 401583f9b6 Merge "Getting starting point of swipe from overview to all apps via protocol" into ub-launcher3-qt-r1-dev 2019-07-17 00:24:55 +00:00
vadimt 6a75e52f85 Getting starting point of swipe from overview to all apps via protocol
Change-Id: Idf04579b67011dac45b081a81367cde2d1274117
2019-07-16 16:46:53 -07:00
TreeHugger Robot f2de54b275 Merge "Removing tracing for fixed bugs" into ub-launcher3-qt-r1-dev 2019-07-16 23:15:07 +00:00
vadimt 726cccf54a Adding message popups to anomaly diagnoser
Change-Id: I6bf125ad5c311062c8f2f6953c0a4d6155203672
2019-07-16 11:19:01 -07:00
vadimt 7a4ed2f258 Removing tracing for fixed bugs
Bug: 133009122
Bug: 133765434
Bug: 134532571
Change-Id: I37aa1851a1bc0874c0b9acf561bde28966e9b523
2019-07-15 18:48:06 -07:00
vadimt 8820399e57 Waiting for launcher to start in workTabExists()
Change-Id: I08c5385b188dda81ee0dfc1bfd639a0892bd6584
2019-07-15 13:30:48 -07:00
vadimt 092b6f8cbf Adding system health diags for inporoc tests
Bug: 133891845
Change-Id: I90161bfc9db5983a45dfb89728a82ec1e3d81f19
2019-07-15 12:29:13 -07:00
Vadim Tryshev 08159a5b08 Merge "Simplifying switching to home for some tests" into ub-launcher3-qt-r1-dev 2019-07-12 20:15:12 +00:00
vadimt d91cec72fe Simplifying switching to home for some tests
Change-Id: I696d0267a2c36a18080396657bed07f7b1654a7d
2019-07-12 12:26:08 -07:00
TreeHugger Robot acc2b33574 Merge "Switching flinging gestures injection to model time" into ub-launcher3-qt-r1-dev 2019-07-12 18:12:59 +00:00
vadimt 853852351f Correctly restarting Launcher from OOP tests
Waiting for touch interaction service; waiting for package-restart
events.

Bug: 136215685
Change-Id: I0c31c09fe3a58b898168dfdb4e4d23757b94a47c
2019-07-11 14:17:06 -07:00
vadimt 4d93df51a3 Switching flinging gestures injection to model time
This is a right thing to do in any case.

Change-Id: I34eeecac6d9eb13130eb1015f9a9a5e2a32974ec
2019-07-10 17:38:26 -07:00
vadimt e7a786ee96 Tests: Waiting for package-restart events when restarting Launcher
Bug: 136215685
Change-Id: Ia947994399220544c90bfc077437fc639e635a33
2019-06-28 17:14:37 -07:00
Vadim Tryshev 026914e190 Merge "Diagnosing launcher visible state in TAPL" into ub-launcher3-qt-r1-dev 2019-06-28 21:56:10 +00:00
Vadim Tryshev b63693ba3e Merge "Enable debug tracing for AllApps.flingBackward" into ub-launcher3-qt-r1-dev 2019-06-28 21:28:13 +00:00
vadimt 881a31560d Diagnosing launcher visible state in TAPL
Bug: 133891845
Change-Id: Ibdd959f50668fd6eeb5e48dacc370a054057b7fc
2019-06-28 14:21:00 -07:00
vadimt 615b823c94 Enable debug tracing for AllApps.flingBackward
Bug: 136280872
Change-Id: I128ee7b0f9c131fd102fce9d81d29fdcb4e8727d
2019-06-28 13:57:12 -07:00
vadimt 83d5eef5a5 Temporary workarounds to make tests pass on a virtual device
Bug: 136278866
Change-Id: I198cb4cdf94c2b1151b4b7249ae10dbcaa99a4fd
2019-06-28 13:12:58 -07:00
vadimt bd31868ea7 Adding system health diags for OOP tests
Bug: 133891845
Change-Id: I24aa2b1408b3ffe4105cd4a7892c8b5fec8740e1
2019-06-27 17:31:03 -07:00
Vadim Tryshev 059657068b Merge "Tapl: diagnosing anomalies" into ub-launcher3-qt-r1-dev 2019-06-27 20:38:58 +00:00
vadimt e8a7268116 Tapl: diagnosing anomalies
Bug: 133891845
Change-Id: I7e5afbdec580c6659917aa3e9586930d5f55ea51
2019-06-27 13:24:12 -07:00
vadimt 0b20a11d66 Converting even more tests to TAPL
Bug: 131116002
Bug: 115582915
Change-Id: Id36fca232b5aff5f6692142ce4a0c937d0531f4e
2019-06-27 18:38:09 +00:00
Vadim Tryshev 1703eb8b88 Merge "Revert "Converting even more tests to TAPL"" into ub-launcher3-qt-dev 2019-06-27 00:20:51 +00:00
Vadim Tryshev 007e7e94b3 Revert "Converting even more tests to TAPL"
This reverts commit 406d49bdd7.

Reason for revert: Breaks tests on Crosshatch

Change-Id: I95ff541dfe8f6f1d7e1913d209b53abfbebe5336
2019-06-27 00:03:14 +00:00
vadimt f45509ec8e Reenabling tests in OOP
Bug: 124524897
Change-Id: I8bdaa0d129c7366616359a3505f3d6b2d397e18f
2019-06-26 15:16:26 -07:00
vadimt 406d49bdd7 Converting even more tests to TAPL
Bug: 131116002
Bug: 115582915
Change-Id: I08587e7a50420e57970ed8feec4524111145dc31
2019-06-26 13:58:33 -07:00