Commit Graph

876 Commits

Author SHA1 Message Date
vadimt 5f660f40c7 Remove unused getDisplayDensity
Change-Id: I4c63f4f8c0b0d8596e6b2db9839af059961157a8
2019-09-24 18:18:35 -07:00
Vadim Tryshev ec1ae481d4 Merge "Removing temporary checks that tests are running on AVD" into ub-launcher3-qt-qpr1-dev
am: 6929199c8a

Change-Id: Iaa6200f0371a4deca630194ac8ecfcfc04313750
2019-09-24 18:18:19 -07:00
vadimt 39eb7ec877 Removing unused method isAvd
Bug: 136278866
Change-Id: I06396a60e44d25cd2b532f6ce31c2ce965263817
2019-09-24 18:13:45 -07:00
vadimt 926e29f8b6 Removing temporary checks that tests are running on AVD
Bug: 136278866
Change-Id: I2b7b63b7745936ea84b7cba599e21d954b682ba5
2019-09-24 17:19:51 -07:00
TreeHugger Robot 86634e19f0 Merge "Fixing some tests" into ub-launcher3-master 2019-09-24 22:28:37 +00:00
Sunny Goyal 599e95bdde Fixing some tests
> Adding retry to fallback recents tests
> Fixing provider test after provider name change
> Fixing AllApps icon detection when there is no more scroll available

Bug: 141390432
Bug: 141523101
Bug: 141517004
Bug: 141524555
Bug: 141522764
Change-Id: I425638d20c053206134835dabde819f16160f035
2019-09-24 15:10:06 -07:00
Pinyao Ting 30414c5699 Merge changes from topic "a11y-minus-one" into ub-launcher3-qt-future-dev
am: ff4977d42d

Change-Id: I5c565a2d67274240dcd06e41ad03564526d486ce
2019-09-24 14:58:53 -07:00
Pinyao Ting 7752023c08 fix test for a11y change in supporting -1 page
Bug: 140406263
Change-Id: I0a39db135a5e5b0fe570ace55a368a7f4b6cb453
Test: run TaplTestLauncher3 locally
2019-09-23 13:06:36 -07:00
Vadim Tryshev 52b1ff2050 Merge "Not using dropbox entries before the test start for diagnostics" into ub-launcher3-qt-qpr1-dev
am: dcb5412e1c

Change-Id: I70b2434f162f6575a88bcc0b43bdf8cce1cbc359
2019-09-20 19:48:40 -07:00
Vadim Tryshev dcb5412e1c Merge "Not using dropbox entries before the test start for diagnostics" into ub-launcher3-qt-qpr1-dev 2019-09-21 02:11:26 +00:00
vadimt 3bdba61542 Not using dropbox entries before the test start for diagnostics
Change-Id: Ieb48d969d86a855c91109f4ace0d636fa01aafc7
Merged-in: Ia060b5d2b98ea9ea3b6e61ae11d610f1a888d7a0
2019-09-21 01:37:56 +00:00
Vadim Tryshev 8a499867a6 Merge "Not using dropbox entries before the test start for diagnostics" into ub-launcher3-master 2019-09-21 01:37:32 +00:00
Vadim Tryshev b35bf23ef4 Merge "Adding recognition of R launcher builds for test stability rule" into ub-launcher3-qt-qpr1-dev am: f8a9a14aca
am: 7cb5a6e973

Change-Id: Id72382adcdeac4360c23a5671fde28dcb5aabfc9
2019-09-20 18:32:22 -07:00
Vadim Tryshev 7cb5a6e973 Merge "Adding recognition of R launcher builds for test stability rule" into ub-launcher3-qt-qpr1-dev
am: f8a9a14aca

Change-Id: I0eb777bd191da9708976431a944fc7441c1800ff
2019-09-20 18:25:52 -07:00
vadimt 6a585df8d1 Not using dropbox entries before the test start for diagnostics
Change-Id: Ia060b5d2b98ea9ea3b6e61ae11d610f1a888d7a0
2019-09-20 18:12:05 -07:00
vadimt fc041efe92 Adding recognition of R launcher builds for test stability rule
Change-Id: Icf1251c02d328e634bf4d5c951dd53f203905838
2019-09-20 17:23:11 -07:00
Sunny Goyal 8f90d5da8a Adding test to check view inflation during swipe up
Bug: 137851409
Change-Id: Ic8e6f0b3c667051b921d1d4fad03c94122ee92e9
2019-09-20 15:36:02 -07:00
Sunny Goyal 3d56046ff8 Fixing some tests for 2-button mode
Bug: 141315387
Change-Id: I66db3e790f5fbe6bc30999ed599cce03874509be
2019-09-20 10:40:14 -07:00
Winson Chung 075da3d352 Merge "Adding binder tracking support in tests" into ub-launcher3-master 2019-09-19 06:09:35 +00:00
Vadim Tryshev 493ea23bfd Merge "Experimenting with detecting whether a test runs in presubmit" into ub-launcher3-qt-qpr1-dev
am: 37cc797fd0

Change-Id: I0ab81659ea9aaf6b75cd1106bbbaf9c75c679a41
2019-09-18 19:33:40 -07:00
vadimt fead086f2d Experimenting with detecting whether a test runs in presubmit
Change-Id: I386c6ad29182170326c557252fe6e20a8d2af34a
Merged-in: I386c6ad29182170326c557252fe6e20a8d2af34a
2019-09-19 01:18:46 +00:00
vadimt 6d88752eeb Experimenting with detecting whether a test runs in presubmit
Change-Id: I386c6ad29182170326c557252fe6e20a8d2af34a
2019-09-19 00:59:32 +00:00
Winson Chung a879f9c481 Adding binder tracking support in tests
- Whitelist specific binder calls when handling touch during swipe up
  gestures
- Only track binding for touch handling and certain launcher lifecycle
  changes for now

Bug: 140246642
Change-Id: I6ba30280dd17da358662870f8719ae851536ad8b
2019-09-18 17:08:05 -07:00
TreeHugger Robot 1cd69ab250 Merge "Adding recents test for 3P Launcher" into ub-launcher3-master 2019-09-17 21:18:19 +00:00
Sunny Goyal ed83cf6df0 Adding recents test for 3P Launcher
Bug: 140749967
Change-Id: I3644822accfd229d1e46ca5e43ad827aef776787
2019-09-17 13:41:10 -07:00
vadimt c708384087 resolve merge conflicts of a24ed7267c to ub-launcher3-qt-future-dev
Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I89f3bcf309b10a359b12167474fcb3f93640787f
2019-09-17 13:03:18 -07:00
Vadim Tryshev a24ed7267c Merge "Support for tests that a leak is detected" into ub-launcher3-qt-qpr1-dev 2019-09-17 19:16:00 +00:00
Jon Miranda 935cfb8633 Key by both package and user for list of active install sessions. am: c1322b6ac8
am: bf7371e510

Change-Id: I7b18a068f88ec3aef84d04d80b54f6252230bbc8
2019-09-17 12:06:21 -07:00
Jon Miranda bf7371e510 Key by both package and user for list of active install sessions.
am: c1322b6ac8

Change-Id: I112298649de8f9abd0898fdf4feda02395b7a31c
2019-09-17 12:00:03 -07:00
vadimt 8c2ae545cf Support for tests that a leak is detected
Bug: 139137636
Change-Id: Ib4f02d6b3798e3fdf3d8e5758c09d2b642404af5
Merged-in: Ib4f02d6b3798e3fdf3d8e5758c09d2b642404af5
2019-09-17 18:49:42 +00:00
Jon Miranda c1322b6ac8 Key by both package and user for list of active install sessions.
This fixes the bug where items are left on the home screen for the wrong
user.

Bug: 139281702
Change-Id: I03c31bb308fc496b9fc633c2fde23ae4568f8c44
2019-09-17 11:20:35 -07:00
vadimt 4e4e4da66a Support for tests that a leak is detected
Bug: 139137636
Change-Id: Ib4f02d6b3798e3fdf3d8e5758c09d2b642404af5
2019-09-17 18:17:10 +00:00
vadimt 25f9eb1e64 Fully qualifying @Ignore am: b1ccbd9def
am: c563ec22ef

Change-Id: I2c6fb106418f1d7fc1f2641dca497282855402fd
2019-09-16 20:49:58 -07:00
Vadim Tryshev 764bb788b6 Merge "Disable failing widget tests" into ub-launcher3-qt-qpr1-dev am: 90f4536ae3
am: a8a23bd745

Change-Id: I204ce821f8e10dcc95e71f0228965ca40fc4989c
2019-09-16 20:49:41 -07:00
Vadim Tryshev 667e8cb74a Merge "Fixing widget tests" into ub-launcher3-qt-qpr1-dev am: de5e5afae5
am: 91261e38d9

Change-Id: I5f034b7f3664ded275394561bb20a666d40e1681
2019-09-16 20:49:02 -07:00
vadimt 1a5df3f1ef Adding testing for opening a widget am: 5e742772d0
am: 87b871eaee

Change-Id: I8554d43fc23b81bf06df09bedc7a0a26d757d7b9
2019-09-16 17:37:03 -07:00
vadimt c563ec22ef Fully qualifying @Ignore
am: b1ccbd9def

Change-Id: Ia4aee260bf57fde304e1e54364b15c6880899c7c
2019-09-13 14:31:12 -07:00
Vadim Tryshev a8a23bd745 Merge "Disable failing widget tests" into ub-launcher3-qt-qpr1-dev
am: 90f4536ae3

Change-Id: If045b86ee809fd4b727d82bd4926ccd40aa01e27
2019-09-13 14:30:54 -07:00
Vadim Tryshev 91261e38d9 Merge "Fixing widget tests" into ub-launcher3-qt-qpr1-dev
am: de5e5afae5

Change-Id: I11eb799cce35de602243ba1c46706f2d03178ce9
2019-09-13 14:30:10 -07:00
vadimt b1ccbd9def Fully qualifying @Ignore
Strangely, @Ignore-s won't be recognized in ub-launcher-master

Bug: 140837771
Change-Id: Ie5e4911d4812d396826b50024943c14c6bfe3376
2019-09-12 17:46:17 -07:00
vadimt a39d671d0b Reenabling some widget tests am: 599b1fc4d3
am: 9c524db4c8

Change-Id: I51e3f50bb7f923894250a8fd0643e630b60e1380
2019-09-12 17:15:22 -07:00
vadimt cc903dac63 Disable currently failing widget tests am: d81f60f324
am: 627e0aefb6

Change-Id: I091f174dbde07b4d1a871eaf551f4b737bbf09ce
2019-09-12 17:15:07 -07:00
Vadim Tryshev 90f4536ae3 Merge "Disable failing widget tests" into ub-launcher3-qt-qpr1-dev 2019-09-13 00:06:56 +00:00
vadimt b59f65d2d8 Disable failing widget tests
Bug: 140837771
Change-Id: Ibba7769543e682315ea23640f68416defa85f365
2019-09-12 17:05:39 -07:00
vadimt 87b871eaee Adding testing for opening a widget
am: 5e742772d0

Change-Id: I0109fa62c88714584ec84c4c03a85a7924d4c9d5
2019-09-12 15:05:33 -07:00
vadimt 9c524db4c8 Reenabling some widget tests
am: 599b1fc4d3

Change-Id: I9d00e745ea026a796a0edd1c3c65d057349098ad
2019-09-12 15:05:04 -07:00
vadimt 627e0aefb6 Disable currently failing widget tests
am: d81f60f324

Change-Id: I496d02f2b9f23a7f91ae7627ea08f22576d8bf90
2019-09-12 15:04:50 -07:00
Vadim Tryshev de5e5afae5 Merge "Fixing widget tests" into ub-launcher3-qt-qpr1-dev 2019-09-12 20:32:00 +00:00
vadimt 6b3cbf116d Fixing widget tests
Bug: 140837771
Change-Id: If5dcf455b1a87b06c883dd1f0d46c6748e6d1a94
2019-09-12 12:49:59 -07:00
TreeHugger Robot f3fd35d5f2 Merge "Adding flickerlib test" into ub-launcher3-master 2019-09-11 20:33:01 +00:00
vadimt 5e742772d0 Adding testing for opening a widget
Bug: 140252951
Change-Id: Ic1c867db602f1890b74e7b539b44b2a440267384
2019-09-11 12:36:46 -07:00
vadimt 599b1fc4d3 Reenabling some widget tests
Bug: 140837771
Change-Id: I437f39b4a7f4b518551a157858c9b1a4812ee65d
2019-09-10 18:37:28 -07:00
vadimt d81f60f324 Disable currently failing widget tests
Change-Id: I2009b9c6f11a698bcf12a0b5ba97f98262fcee54
2019-09-10 13:58:22 -07:00
Jon Miranda 36e3953538 [DO NOT MERGE] Merge commit '735d1fe124812fd11feabc644c9a4f8482039f57' into manual_merge_735d1fe124812fd11feabc644c9a4f8482039f57
The ub-launcher3-qt-future-dev branch cut missed the CLs that went into
ub-launcher3-master, so the merge failed

Change-Id: I4f6f5ca8323350af3bc84c72d61d935b36f8064f
2019-09-09 22:29:49 +00:00
Jonathan Miranda 735d1fe124 Merge "Add tests for play promise icons." into ub-launcher3-qt-qpr1-dev 2019-09-09 21:44:15 +00:00
vadimt fe42dc3ac5 Merge "Support for getting Launcher Pss by tests" into ub-launcher3-qt-qpr1-dev am: 01f8fb9132
am: a6650287b7

Change-Id: Ie1edad2925040d46a1d38e937bd9e73c70f5ede0
2019-09-09 14:24:20 -07:00
vadimt d9144ef07e Add one null check to tests am: f083b7741a
am: 83775e28f6

Change-Id: I93c7d0dd0cc2bf0c41824a090e1cf50375453acb
2019-09-09 14:24:05 -07:00
Vadim Tryshev 6308c71a98 Merge "Adding a test method to get a Launcher object when it becomes non-null" into ub-launcher3-qt-qpr1-dev am: b34f951e7e
am: c698c0cdbb

Change-Id: I0b62ddc7a7bc9fb31020a87750d3093d5d83ebb7
2019-09-09 14:23:17 -07:00
vadimt c9592c4b28 Enabling some tests in landscape mode am: 8c2efd0de0
am: 84fa5893e7

Change-Id: I534f6edffe79e1e7f396fa5cba5fd85e0df19d09
2019-09-09 14:23:06 -07:00
vadimt 917af15bb0 Merge "Removing flinging via UI Automator" into ub-launcher3-qt-qpr1-dev am: e1335c2359
am: fb10f07e56

Change-Id: I395a70e247f5d9182b54f91577f0e802b90554a0
2019-09-09 14:22:47 -07:00
vadimt a6650287b7 Merge "Support for getting Launcher Pss by tests" into ub-launcher3-qt-qpr1-dev
am: 01f8fb9132

Change-Id: I36a1309b24a94dafe5203287e07595d60622c158
2019-09-09 14:18:14 -07:00
vadimt 83775e28f6 Add one null check to tests
am: f083b7741a

Change-Id: Id2e678bfb216302ef93e593a210edefe5092772a
2019-09-09 14:17:56 -07:00
Vadim Tryshev c698c0cdbb Merge "Adding a test method to get a Launcher object when it becomes non-null" into ub-launcher3-qt-qpr1-dev
am: b34f951e7e

Change-Id: Id63a1df1aef2f35b0f6cdb0f8ab851163c8140c9
2019-09-09 14:17:20 -07:00
vadimt 84fa5893e7 Enabling some tests in landscape mode
am: 8c2efd0de0

Change-Id: If74fe6cec774787f73f43aae43863cd71887b81f
2019-09-09 14:17:08 -07:00
vadimt fb10f07e56 Merge "Removing flinging via UI Automator" into ub-launcher3-qt-qpr1-dev
am: e1335c2359

Change-Id: Iad5c6c0bf74ac223cc60b64fa7a15dae544d500f
2019-09-09 14:16:47 -07:00
TreeHugger Robot 01f8fb9132 Merge "Support for getting Launcher Pss by tests" into ub-launcher3-qt-qpr1-dev 2019-09-09 17:02:15 +00:00
vadimt f083b7741a Add one null check to tests
Change-Id: Ib4b50ac06d44b1811e0388bc373fe420fa5570fd
2019-09-06 18:08:22 -07:00
vadimt 2bad570b40 Support for getting Launcher Pss by tests
Bug: 139137636
Change-Id: I8cad7dec07ce400cf927e3fc2ba9904fef942d9a
2019-09-06 16:50:51 -07:00
Jon Miranda 4b9edfbbe5 Add tests for play promise icons.
Bug: 139021165
Change-Id: Ie1a049b283b70f6bd22b43c09aef263282cb0f56
Merged-In: I45469b7523d8aea12c34d460c7b69c571a415675
2019-09-06 21:57:04 +00:00
Jon Miranda a7eea562fb Fix test bug where launcher throws NPE because it isnt loaded yet.
Bug: 140635319
Change-Id: Iea90c6816c670d58acf79114fc725602ddc9d0b1
2019-09-06 12:55:43 -07:00
Winson Chung 11ae8642dc Adding flickerlib test
Bug: 140244969
Change-Id: I45edfbbfb85fa371435ad0940cd939ed3d28c374
2019-09-05 17:14:09 -07:00
Jon Miranda f5197fce3d Add tests for play promise icons.
Bug: 139021165
Change-Id: I45469b7523d8aea12c34d460c7b69c571a415675
2019-09-05 15:45:51 -07:00
Vadim Tryshev b34f951e7e Merge "Adding a test method to get a Launcher object when it becomes non-null" into ub-launcher3-qt-qpr1-dev 2019-09-05 18:49:10 +00:00
vadimt cf61e16a2c Adding a test method to get a Launcher object when it becomes non-null
Change-Id: I1c56777c87827b5edf1c7f55ad9639321e598311
2019-09-04 19:02:54 -07:00
vadimt 8c2efd0de0 Enabling some tests in landscape mode
Bug: 121280703
Change-Id: I285638d832594d5fed26ee812737a4356b110899
2019-09-04 17:33:52 -07:00
TreeHugger Robot e1335c2359 Merge "Removing flinging via UI Automator" into ub-launcher3-qt-qpr1-dev 2019-09-05 00:13:30 +00:00
vadimt 758a1d983d Removing flinging via UI Automator
UI Automator loses events. Switching to the homemade scrolling.

Bug: 138729157
Change-Id: Ib09bd5714e83eadfc65b54202867bf375e6b47c5
2019-09-04 16:35:19 -07:00
Vadim Tryshev 72fddba837 Merge "Enabling debug tracing for all UI tests" into ub-launcher3-qt-qpr1-dev
am: 846656f138

Change-Id: Ie40cc1d55d40ffefe6c1b2d3588b03ff92d2cb38
2019-09-04 12:37:40 -07:00
Vadim Tryshev 846656f138 Merge "Enabling debug tracing for all UI tests" into ub-launcher3-qt-qpr1-dev 2019-09-04 17:52:11 +00:00
Vadim Tryshev c6c63706fa Merge "Removing numbers from error message" into ub-launcher3-qt-qpr1-dev
am: 5e893727f8

Change-Id: Ie5bfb48d233abc7c21c8ff6df97affb4c9339f8e
2019-09-03 18:11:10 -07:00
vadimt 0ce38af957 Enabling debug tracing for all UI tests
Change-Id: I434ee378baf35de955c8a589b8380e1751e4107a
2019-09-03 17:16:34 -07:00
vadimt 849cdc803d Removing numbers from error message
They interfere with flake clustering

Change-Id: I845b6e080824e00b9442070d53a0a3b448670d67
2019-09-03 17:01:27 -07:00
vadimt 0d6f41bef2 Saving screenshots for failures in NavigationModeSwitchRule
am: f13eaa0242

Change-Id: I9a3b4e93491a02263fd90640b3cc9d55aeb41703
2019-08-23 20:56:08 -07:00
vadimt f13eaa0242 Saving screenshots for failures in NavigationModeSwitchRule
Change-Id: I732076a5eb14b181f560024e2780e2012a81fd95
2019-08-23 14:18:32 -07:00
Sunny Goyal 6fe3eec95c Moving various common executors to a single location
Change-Id: I44bca49b8adb6fa22c3b48d10f674e42c28d792c
2019-08-20 14:36:17 -07:00
Vadim Tryshev f24ae74cd2 Merge "Extending the list of test owners" into ub-launcher3-qt-qpr1-dev
am: 1cbdcb2961

Change-Id: I5f01dc9b50cc33499bd9cb88913157802656cd52
2019-08-16 10:56:32 -07:00
Vadim Tryshev 1cbdcb2961 Merge "Extending the list of test owners" into ub-launcher3-qt-qpr1-dev 2019-08-16 17:36:54 +00:00
Vadim Tryshev 30cd83ef2d Merge "Logging to catch INJECT PERMISSION problem" into ub-launcher3-qt-qpr1-dev
am: 96a066ab52

Change-Id: I736858db69b4b4fb396890ca2f27804c37479efb
2019-08-15 17:35:18 -07:00
vadimt 47144ca73c Logging to catch INJECT PERMISSION problem
Bug: 139498375
Change-Id: Ib7b8e1997bae9d4ff9cce7cf8690e42b6fdaaf38
2019-08-15 16:06:58 -07:00
vadimt a81be5003c Extending the list of test owners
Otherwise, changes in tests would require my-only approval.

Change-Id: Ia957a28a5a8e55dc2ee4efdf9a46c91511d3e611
2019-08-14 17:18:45 -07:00
Vadim Tryshev aec2d5afca Merge "Temporary workaround for UIAutomator not recognizing a new window" into ub-launcher3-qt-qpr1-dev
am: 68f5d6bf76

Change-Id: I1708938ae4db969398a9718e50127d1d22ed427d
2019-08-14 16:51:03 -07:00
Vadim Tryshev 68f5d6bf76 Merge "Temporary workaround for UIAutomator not recognizing a new window" into ub-launcher3-qt-qpr1-dev 2019-08-14 23:34:22 +00:00
vadimt 849b201de0 Temporary workaround for UIAutomator not recognizing a new window
Bug: 112282235
Change-Id: I145bb88d72689f8c6d61ba3481f25d8978933ab2
2019-08-14 15:38:34 -07:00
Vadim Tryshev 3cc153813a Merge "Improving screenshot path" into ub-launcher3-qt-qpr1-dev
am: b13fdc8d6f

Change-Id: I13b492655978c173cd2944c81a7d4753f2655494
2019-08-14 10:33:43 -07:00
Vadim Tryshev b13fdc8d6f Merge "Improving screenshot path" into ub-launcher3-qt-qpr1-dev 2019-08-14 17:25:22 +00:00
vadimt cc5b17b351 Improving screenshot path
Change-Id: If61bbf0bbc8ace31142bc0e2d598d72ce48de360
2019-08-13 17:49:15 -07:00
TreeHugger Robot 10ed86af1d Merge "Build rule cleanup" into ub-launcher3-master 2019-08-13 00:57:42 +00:00
vadimt 3c523040cb Support for memory tests
am: c1a2764a6e

Change-Id: Ife853a32fa9e52f8993d25167af61dabc7fd64b8
2019-08-09 10:40:20 -07:00
vadimt c1a2764a6e Support for memory tests
Change-Id: I867a232a293f7bddbc630f563f18c0db94ac4b6e
2019-08-08 12:03:09 -07:00
Hyunyoung Song a68fba3abf Build rule cleanup
Bug: 122333437
Change-Id: Iabb6dcc4e6615112fdf730f41fe39d34fdac8737
2019-08-08 02:02:20 -07:00
Vadim Tryshev 1c7b8267d9 Merge "Adding system health permissions to Launcher3 tests" into ub-launcher3-qt-qpr1-dev
am: aea3d051c4

Change-Id: Id5695b29f108646cf846fe74d5c2abaef055c9b7
2019-08-05 19:06:37 -07:00
Vadim Tryshev aea3d051c4 Merge "Adding system health permissions to Launcher3 tests" into ub-launcher3-qt-qpr1-dev 2019-08-06 01:41:01 +00:00
vadimt 9473421755 Adding system health permissions to Launcher3 tests
Change-Id: Id4ae4731274bef243801e3a15bc87e9c3fa9e0c4
2019-08-05 17:31:53 -07:00
Vadim Tryshev 347ce4529b Merge "Adding debug tracing to catch non-dragging to workspace" into ub-launcher3-qt-qpr1-dev
am: f4a1814c3f

Change-Id: I2bb035bf176cb0fb3e16456f52153de065855740
2019-08-05 17:06:36 -07:00
vadimt f1726290d4 Adding debug tracing to catch non-dragging to workspace
Bug: 138729456
Change-Id: I28f1eaeb17a75cbc6f52b259d0226deaff42e0bb
2019-08-05 13:52:36 -07:00
Vadim Tryshev b647d79e45 Merge "More tracing for wellbeing tests" into ub-launcher3-qt-qpr1-dev
am: d33894c771

Change-Id: Iad90464ad3864fda2c1811d87923dfd8fbfd81db
2019-07-31 18:02:51 -07:00
Vadim Tryshev d33894c771 Merge "More tracing for wellbeing tests" into ub-launcher3-qt-qpr1-dev 2019-08-01 00:36:31 +00:00
vadimt b90e363b22 More tracing for wellbeing tests
Bug: 138743758
Change-Id: I49765cf94575dd7ce251b36094dd82d55d8410d1
2019-07-31 16:41:46 -07:00
vadimt ee96d75065 Improvements in getting workspace app icon
am: 6b466783b7

Change-Id: I47cd2161e5c3b9dd2d2350bcb4606f346d79adf8
2019-07-31 15:18:36 -07:00
Vadim Tryshev e5f95bd2c1 Merge "Improving getWorkspaceAppIcon()" into ub-launcher3-qt-qpr1-dev
am: bfff1c80df

Change-Id: I1fb1774ba85d3ef51abb29347ca8621f1f95d8b2
2019-07-31 15:08:53 -07:00
vadimt 6b466783b7 Improvements in getting workspace app icon
Bug: 138743792

Change-Id: I11981774397b82bdad0352343a52341c2e3a5099
2019-07-31 21:48:04 +00:00
Vadim Tryshev bfff1c80df Merge "Improving getWorkspaceAppIcon()" into ub-launcher3-qt-qpr1-dev 2019-07-31 21:13:13 +00:00
vadimt 49a28a725a Improving getWorkspaceAppIcon()
Change-Id: I71093b6c03b96ef608be9c8b847a372834b79d64
2019-07-31 13:48:39 -07:00
Vadim Tryshev 474a35ce3f Merge "Improving system health diags" into ub-launcher3-qt-qpr1-dev
am: c86a6ebbc5

Change-Id: I79a0dbe3012f2d9cdf39851420b8f45da712af40
2019-07-31 12:39:25 -07:00
vadimt 8a35c5cf94 Improving system health diags
Change-Id: Id3de46c48421051bc5680e05bcf77492aa793000
2019-07-31 11:37:00 -07:00
vadimt 086fa7a7ab Tests: Use FLAG_ACTIVITY_CLEAR_TASK
am: a8726dc93b

Change-Id: I4f512d5e2edde4e5973289299ec4dc4cb7f1a295
2019-07-31 11:29:15 -07:00
vadimt a8726dc93b Tests: Use FLAG_ACTIVITY_CLEAR_TASK
Change-Id: I58053db6f942737976afcaed26e449a1f9b98f6f
2019-07-31 10:45:57 -07:00
Vadim Tryshev 22a982da8f Merge "Not throwing NPE when can't resolve test provider" into ub-launcher3-qt-qpr1-dev
am: 2c129d3d84

Change-Id: I9fa1006c6b8ffa4a80305309ef7df4976c725c39
2019-07-30 13:10:55 -07:00
vadimt 7d2795e185 Not throwing NPE when can't resolve test provider
Change-Id: I22fa6dc5de94ffa02e0121b4f929adffcb9c1ce9
2019-07-30 12:33:20 -07:00
vadimt 8ed634a1e0 Moving enabling rotation for test
am: 003c94f10f

Change-Id: I24de80b311e3607731e8f33e151f6ff8bbddf792
2019-07-26 14:17:42 -07:00
vadimt 003c94f10f Moving enabling rotation for test
We needed to press home to wait until the launcher starts, now we simply
enable rotation once the Launcher gets created.

Change-Id: Ie99e5073c06f8da181262d32823116061c81d6f7
2019-07-26 20:31:35 +00:00
Vadim Tryshev fa524725cf Merge "Tuning system health diags" into ub-launcher3-qt-r1-dev
am: 1b0445dfa4

Change-Id: I4b6c3c04f1ce7c48d114457c986d115a38bcad94
2019-07-25 17:38:20 -07:00
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 a4b35696c9 Merge "Revert "Reenabling testPressHomeOnAllAppsContextMenu"" into ub-launcher3-qt-r1-dev
am: a864511293

Change-Id: I6bccaa2e07d1f5603cd07837f9e59c7f5cba37a0
2019-07-25 15:14:07 -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
Vadim Tryshev 176eee3cb7 Merge "Reenabling testPressHomeOnAllAppsContextMenu" into ub-launcher3-qt-r1-dev
am: f0cc40f8b0

Change-Id: I6201cf3b3f145535cab88269c8408dc01c113852
2019-07-25 12:46:37 -07:00
vadimt 86f5da2d8f Reenabling testPressHomeOnAllAppsContextMenu
Bug: 134074554
Change-Id: Icd23e2dcafab091e5406e84bb827bfc7177832ff
2019-07-25 12:06:32 -07:00
Vadim Tryshev a1db23c0a7 Merge "Checking Launcher internal integrity from tests" into ub-launcher3-qt-r1-dev
am: 7b0520afe4

Change-Id: Iffeb718669a22e99c7fe90989dee51b4d229dd51
2019-07-23 18:49:16 -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
vadimt 443f05052c Merge "Adding debug tracing" into ub-launcher3-qt-r1-dev
am: 8578309f1b

Change-Id: If2f3b4d4a849e94449c4b06a567c12610547fc61
2019-07-23 17:28:32 -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 1fa0955aeb Merge "TAPL: adding 1 to gesture margins to avoid accidentally triggering back" into ub-launcher3-qt-r1-dev
am: 068f4bde88

Change-Id: Ib3fa2054098fbfdc72189ebd78fe312c587bb9ca
2019-07-23 16:40:22 -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 e22e067435 Improving "Add automatically" recognition
am: 34828b1942

Change-Id: I413cc1a05bac3e3ad6ce9eded75fe1d2ca32cd2b
2019-07-23 14:50:58 -07:00
vadimt 34828b1942 Improving "Add automatically" recognition
Bug: 138152531
Change-Id: I204233f06a80d2d17b24dd9622c7a2152b1303a0
2019-07-23 13:54:05 -07:00
vadimt beb70a5aa4 Allowing both normal-case and uppercase versions of widget prompt
am: 44515f42c0

Change-Id: If4b2d7e4b9e8649a175e60cfee6520f2cb28d108
2019-07-23 13:40:44 -07:00
Vadim Tryshev e8252595ae Merge "Logging start and end of linear gesture" into ub-launcher3-qt-r1-dev
am: 2f0fdd6a7f

Change-Id: I51e9e694317c6b95392c5bd9118a3f8d6b51e0ba
2019-07-23 13:09:39 -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 2adbee9a91 Merge "Logging original exception in PortraitLandscapeRunner" into ub-launcher3-qt-r1-dev
am: 3ab3c768f5

Change-Id: I9ce76715ff9970f031a326a81b167d0d9de2e740
2019-07-19 12:45:45 -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 690f98603b Merge "Improving system health diags" into ub-launcher3-qt-r1-dev
am: a7b3de9e45

Change-Id: I1e178abac0518f801932c8e23529a0d5a8e95d84
2019-07-19 11:33:34 -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 d3c2a6cecf Fix waiting for launcher initialization
am: c8d496fe00

Change-Id: I7d764152d5d9da8c9df8db479dd01683d9e6148a
2019-07-18 19:10:06 -07:00
vadimt c8d496fe00 Fix waiting for launcher initialization
Bug: 137836033

Change-Id: Ifc8ce867abd85eaeacd09a2b39636ecc4109c046
2019-07-18 18:31:49 -07:00
Vadim Tryshev 0a973fee1b Merge "Improving TAPL code around fallback recents" into ub-launcher3-qt-r1-dev
am: 4c557438bc

Change-Id: I877f1efaacbb200487b4d1952b3de208fe690a5d
2019-07-18 16:02:19 -07:00
vadimt c0a1b7046d Improving TAPL code around fallback recents
Change-Id: I9cd1caa2725f1d3967447130f4e34c4cf878514b
2019-07-18 15:12:24 -07:00
vadimt cfc025c10e Fixing starting scrolls outside of view
am: 04ca73b590

Change-Id: I5f67d83a0c10e503de70c0a2dc16dc3c7d0b4feb
2019-07-17 19:42:41 -07:00
vadimt 04ca73b590 Fixing starting scrolls outside of view
Change-Id: I0237603d25edc60522c41a3d20615391d5b4f3b6
2019-07-17 18:55:53 -07:00
TreeHugger Robot 37d8437c60 Merge "Moving some utilities methods to separate class" into ub-launcher3-master 2019-07-18 00:27:53 +00:00
vadimt 2f7d1fa4a8 Using correct gesture margins in overview
Change-Id: I0108858279559e10633825f7de22211515f0e9b7
2019-07-17 15:18:21 -07:00
Sunny Goyal 9dbb27c09c Moving some utilities methods to separate class
Change-Id: I5094b22ddc77c45590cea1a5f5dead0dc7580abf
2019-07-17 15:15:07 -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
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