Commit Graph

2553 Commits

Author SHA1 Message Date
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
vadimt
2d4b05f295 Converting more tests to TAPL
Bug: 131116002
Bug: 115582915
Change-Id: I3346f96ddba3224eb4b92b15344d71b8ed6e32e0
2019-06-26 11:23:23 -07:00
vadimt
3a6eedc61b Converting some widget tests to TAPL
Bug: 115582915
Change-Id: I07c6ca5ef712cf1a85d81e7d4b4bda3604777ac8
2019-06-25 18:34:48 -07:00
vadimt
26cfff41ba Taking screenshots for local tests for FallbackRecentsTest
Change-Id: I604e7e90f2146069827b520d44db1854edc7aa77
2019-06-25 16:26:33 -07:00
vadimt
b8cb393f62 TAPL: swiping up from workspace always starts at the screen bottom
This avoids accidentally dragging an icon from hotseat on ultra-slow
devices.

Change-Id: Id2378a25972bc17dd227e7c227bf963fd1c0e4b2
2019-06-24 17:05:12 -07:00
Vadim Tryshev
e72363456e Merge "Workaround for b/135766310" into ub-launcher3-qt-dev 2019-06-21 21:33:16 +00:00
vadimt
1ce213888e Workaround for b/135766310
Bug: 135766310
Change-Id: I8ef40158d5b7f832be46ee2c2fe98a91a095ee82
2019-06-21 14:23:15 -07:00
vadimt
6346451bd6 Tests: fixing expected package name for AOSP tests
Change-Id: Id7a57d4bfcbed23ba20ca11846680fa1341e8a99
2019-06-21 10:58:03 -07:00
vadimt
d11b604e19 Converting some tests to TAPL
Change-Id: I1b67f80d9d61792d5795f9638bf9d19919f36d39
2019-06-20 17:53:05 -07:00
vadimt
715de78e94 Tests: removing workaround for Overview crashing on rotation
Bug: 135287203
Change-Id: I9766f385be5331f56638438822f321ccd1efc920
2019-06-20 16:20:36 -07:00
Vadim Tryshev
b4ff312181 Merge "Tests: waiting for nav bar to match nav mode" into ub-launcher3-qt-dev 2019-06-20 21:39:32 +00:00
vadimt
e244a5802d Tests: waiting for nav bar to match nav mode
Change-Id: Ib17fce4577e1e2c585108f0e95a98fad710e5eb2
2019-06-20 14:26:19 -07:00
vadimt
f806125f99 TAPL: switching dismissing tasks to a model-time gesture
Change-Id: I4068c4102cd881b89b680c61699ba78832499a3d
2019-06-20 12:31:01 -07:00
Vadim Tryshev
074b1434ae Merge "Enabling tests in landscape mode" into ub-launcher3-qt-dev 2019-06-17 22:53:27 +00:00
vadimt
06d30e54d5 Enabling tests in landscape mode
Bug: 121280703
Change-Id: I3245ca8d0b0496035658ce2a602882a62942f3f1
2019-06-17 15:13:25 -07:00
vadimt
921163a3e8 Restoring wait time 1 min
Apparently, some tests fail with 10 sec

Bug: 133765434
Change-Id: I13fc39c42c665675d15a66da99454e05387c11f4
2019-06-17 13:24:40 -07:00
vadimt
ce04131f1a Improving TAPL diags
Change-Id: Iee84b64618eebf80f755575c2d27660c12e9d7c2
2019-06-14 11:46:12 -07:00
Vadim Tryshev
0d5bd65e6e Merge "After switching nav mode, wait for the sysui mode to sync" into ub-launcher3-qt-dev 2019-06-14 01:53:26 +00:00
vadimt
5ad52ec092 After switching nav mode, wait for the sysui mode to sync
Bug: 133867119
Change-Id: I0290753aa295bc3167e1d396cedd410c77413579
2019-06-13 18:42:25 -07:00
Vadim Tryshev
c0893bc33e Merge "Switched scrolling in all apps to the model-time scrolling" into ub-launcher3-qt-dev 2019-06-13 20:56:55 +00:00
vadimt
91cd0b78e6 Switched scrolling in all apps to the model-time scrolling
Plus, removed unnecessary code.

Bug: 132900132
Change-Id: Ia6ebca15e4e8730787bfe782dbdd83bbe9186ee6
2019-06-13 13:35:01 -07:00
Vadim Tryshev
643007d613 Merge "Not using settings app in tests" into ub-launcher3-qt-dev 2019-06-12 22:40:26 +00:00
vadimt
87fbd33a37 Not using settings app in tests
Change-Id: I7542dab07a0d5a76cc90f4b5eee0d376b5d8ca11
2019-06-12 15:26:27 -07:00
Vadim Tryshev
a9e45099c4 Merge "Making sure that we drag icon far enough to cross the threshold" into ub-launcher3-qt-dev
am: 5d8283a87d

Change-Id: Ie54994f1f1851d277cb79a25223b844f20a8082e
2019-06-10 17:51:03 -07:00
vadimt
c026bf2f95 Making sure that we drag icon far enough to cross the threshold
Tests dragged icon from all apps to workspace by dragging it to the
center of the screen.

If the icon is close enough to the center, this may not trigger the
dragging condition.

Fixing by dragging far enough.

Bug: 133009122
Change-Id: I68127714ab3694f2639b4acf530e2736ca4dbdf3
2019-06-10 15:36:30 -07:00
Vadim Tryshev
9d14e5520e Merge "Freezing all apps updates during certain tests" into ub-launcher3-qt-r1-dev 2019-06-07 01:34:30 +00:00
TreeHugger Robot
bfe171f9cb Merge "Add tracing for b/134532571" into ub-launcher3-qt-dev 2019-06-07 00:10:30 +00:00
vadimt
0f08db5eeb Add tracing for b/134532571
Bug: 134172603
Bug: 134532571
Change-Id: I75c8e0212a9b35d33842d5380fbe733b486be932
2019-06-06 17:00:57 -07:00
vadimt
44e9a873fc Test: using RuleChain to create a correct order of rules.
Change-Id: I2eeb933eab8e5f19b1f80d47566a511ddbdeb28b
2019-06-06 14:02:33 -07:00
vadimt
d4c90e12e9 Freezing all apps updates during certain tests
This CL adds a very low risk because most (but not all) changes affect
only Launcher behavior during the test.

This should fix a lab-only flake when all apps keeps changing while
the test is working with it.

Example: test figures out which icon to click, by the moment it clicks
there, there is another icon there, or the icon is under the search box,
and clicking opens IME.

Switching test devices to airplane mode didn't help. The earlier change
that prevents popup menu cancellation is not general enough.

Now the tests are given an API to explicitly freeze and unfreeze
all-apps, which should be a final solution.

Bug: 132900132
Bug: 133765434
Change-Id: I8b81cc9be004482beb6cdcdd05406e2d9b4c7629
2019-06-06 11:10:56 -07:00
vadimt
63013c5e57 Temporarily not using RuleChain as it mysteriously breaks tests
Change-Id: I8bdd9a8ea12cfdbd92fe724181e7479cadcb26fe
2019-06-05 18:34:23 -07:00
vadimt
7a38854284 Taking local screenshot before navigation state is restored
Change-Id: Id8003b17c68af5b4882bdbf5e14a142875791cbc
2019-06-05 16:18:55 -07:00
Vadim Tryshev
43522d25f2 Merge "Annotating hierarchy dump for the error description" into ub-launcher3-qt-dev 2019-05-31 18:54:02 +00:00
vadimt
8fcf7059ed Annotating hierarchy dump for the error description
Change-Id: I10285d451f4816b4988ce0645669b9ec9cceac81
2019-05-31 11:32:09 -07:00
Vadim Tryshev
5d7dbd914a Merge "Waiting for the recycler to populate when opening all apps" into ub-launcher3-qt-dev 2019-05-30 22:20:49 +00:00
vadimt
55da87181c Waiting for the recycler to populate when opening all apps
Change-Id: Ia6d452f9b02f02c1414eaaa9eaee9a70a4664a4a
2019-05-30 14:55:26 -07:00
Vadim Tryshev
5f642bf783 Merge "Adding debug tracing for a lab-only issue" into ub-launcher3-qt-dev 2019-05-30 17:58:04 +00:00