Commit Graph

89 Commits

Author SHA1 Message Date
Vadim Tryshev
17ac366b1c Merge "Enabling tests in landscape mode" into ub-launcher3-qt-dev am: 074b1434ae
am: e9a50be448

Change-Id: I2f0113b38e7f90befac0e8cfda2569ab86156a69
2019-06-17 16:33:13 -07:00
vadimt
06d30e54d5 Enabling tests in landscape mode
Bug: 121280703
Change-Id: I3245ca8d0b0496035658ce2a602882a62942f3f1
2019-06-17 15:13:25 -07:00
Vadim Tryshev
548db7ed52 Merge "After switching nav mode, wait for the sysui mode to sync" into ub-launcher3-qt-dev am: 0d5bd65e6e
am: 5cb4990ffe

Change-Id: Idfaaef95e97ad9cf8b133782a66f7dda5bee908a
2019-06-13 21:14:11 -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
Sunny Goyal
7897aea5bc Merge "Optimizing some layouts in taskview" into ub-launcher3-qt-dev am: 552b3fe811
am: a97bbe2b96

Change-Id: If1bf77a7b56c96f6e6a8116fc97e911e8f7612ca
2019-06-13 12:25:45 -07:00
Sunny Goyal
5b636ebfd4 Optimizing some layouts in taskview
> Recycling DigitalWellBeingToast so that the view is not inflated everytime
> Simplifying DigitalWellBeingToast to use a single text view
> Adding support for footers in taskView without creating additional layout

Bug: 122345781
Change-Id: Ia889819b93eb8644532ea95c6767554874d5e2d1
2019-06-13 10:39:46 -07:00
Vadim Tryshev
06ab91f192 Merge "Not using settings app in tests" into ub-launcher3-qt-dev am: 643007d613
am: 387fdae45f

Change-Id: I204d788ce63c1a60474f3296f30d46ab0e479e60
2019-06-12 16:00:31 -07:00
vadimt
87fbd33a37 Not using settings app in tests
Change-Id: I7542dab07a0d5a76cc90f4b5eee0d376b5d8ca11
2019-06-12 15:26:27 -07:00
Vadim Tryshev
9ddc79deb1 Merge "Test: using RuleChain to create a correct order of rules." into ub-launcher3-qt-dev am: 8278148e41
am: 9788fbda66

Change-Id: I373623561bd386c84e11f362c922b23da71f8d23
2019-06-06 14:36:43 -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
26e8b3ef9e Temporarily not using RuleChain as it mysteriously breaks tests am: 63013c5e57
am: 77d4204544

Change-Id: I0744c3bc91c3f712640c28fc5b186488eac715a5
2019-06-05 20:33:19 -07:00
vadimt
63013c5e57 Temporarily not using RuleChain as it mysteriously breaks tests
Change-Id: I8bdd9a8ea12cfdbd92fe724181e7479cadcb26fe
2019-06-05 18:34:23 -07:00
Vadim Tryshev
d16af940f2 Merge "Taking local screenshot before navigation state is restored" into ub-launcher3-qt-dev am: e7f313dc0c
am: be8f7d2845

Change-Id: I9d24a4ef7f5f44018863ab23cc86435de1ce2f78
2019-06-05 17:10:47 -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
c03118a07a Merge "Increasing wait time after mode switch." into ub-launcher3-qt-dev am: 5a93e5d895
am: a417f95921

Change-Id: I9d4b490d0b3b046fa7dde3e274f258d36b439e2c
2019-05-29 13:51:12 -07:00
vadimt
b06f9f8c78 Increasing wait time after mode switch.
This is temporary. Apparently, it takes time for Sys UI to update after
the mode switch.

Change-Id: I434b86af15d9987a448682684c790d89acab85dc
2019-05-29 13:05:06 -07:00
Sunny Goyal
de533a182b Merge "Removing prediciton loading state" into ub-launcher3-qt-dev am: c62699fd63
am: 101544f646

Change-Id: I4095c6d99e16dc646a7e83d23b7a800fe1d47231
2019-05-24 15:30:19 -07:00
Sunny Goyal
c62699fd63 Merge "Removing prediciton loading state" into ub-launcher3-qt-dev 2019-05-24 22:01:09 +00:00
vadimt
292d20caae Merge "Adding myself as an owner of test directories" into ub-launcher3-qt-dev am: 1625bf74dd
am: 1bbb70da60

Change-Id: I7cf6ae38e7ab0378687e8fa3c4ff280f915a2aa5
2019-05-24 12:01:48 -07:00
vadimt
addaab60fa Adding myself as an owner of test directories
Change-Id: I3d6649a2b804715cebb80b8cac881ef227738088
2019-05-24 10:54:12 -07:00
vadimt
48940a6355 Merge "Quick patch for PredictionUiStateManager.applyState interrupting allapps" into ub-launcher3-qt-dev am: 571e51161c
am: 167b7da7f5

Change-Id: If170cf6bb7cb19621b04597ad91c82b89f08d599
2019-05-23 22:04:12 -07:00
Sunny Goyal
9820c05f2b Removing prediciton loading state
Also fixing test flakyness due to delayed prediction loading

Bug: 132993129
Bug: 131854153
Change-Id: I85f7afff0e3ee0ca9e40e92e91681f797a0bc2de
2019-05-23 17:01:19 -07:00
TreeHugger Robot
571e51161c Merge "Quick patch for PredictionUiStateManager.applyState interrupting allapps" into ub-launcher3-qt-dev 2019-05-23 20:53:27 +00:00
Vadim Tryshev
27587a1d26 Merge "Reducing test wait time from 60 sec to 10 sec" into ub-launcher3-qt-dev am: 789fe60dc4
am: a46e847945

Change-Id: I4ea2798cee12cb5e6250b01a135e1327ef3d1acc
2019-05-23 13:06:57 -07:00
vadimt
0c1ed7cb4c Quick patch for PredictionUiStateManager.applyState interrupting allapps
Constructor of PredictionUiStateManager posts an action in 5 sec, which
may interfere with the process of opening all apps.

Waiting until the posted action happens.

Hopefully this will fix massive flakes.

Bug: 131854153
Change-Id: I6544eae1a3b063c03e78185826c05a76add1f71b
2019-05-23 12:36:32 -07:00
vadimt
40bbfbed0f Reducing test wait time from 60 sec to 10 sec
Bug: 112282235
Bug: 121279417
Change-Id: Id88e782145b5fdae42354f6fce830aa05b78857a
2019-05-23 10:23:41 -07:00
Vadim Tryshev
1a392b1bc8 Merge "Make every UI test generate screenshots for local test runs" into ub-launcher3-qt-dev am: ef80b4b491
am: ab4dcb9725

Change-Id: Id37d0bfee478f97d634e497bf12caa860e9ed95b
2019-05-17 20:00:11 -07:00
vadimt
c328ac56cf Make every UI test generate screenshots for local test runs
Change-Id: Idb7962e62c0c95f8a50792e9342562c6d8b6ba42
2019-05-17 18:19:13 -07:00
Vadim Tryshev
0cf5f7b350 Merge "Deinitialize prediction tests" into ub-launcher3-qt-dev
am: 560eb6de60

Change-Id: I3280191f1cda4685a540894adf1f3e505649483d
2019-05-15 14:24:13 -07:00
vadimt
a68874e1cb Deinitialize prediction tests
Change-Id: Id97c509a7b609f2ba8b081c25712b24b50ec9ecf
2019-05-15 13:53:50 -07:00
Hyunyoung Song
91cca54937 Revert "Use new not-deprecated builder constructors for AppTarget"
This reverts commit 426d3650ae.

Reason for revert: the revert CL can be cp'ed to ub-launcher3-master to fix the build breakage until new sdk drop happens on master.

Change-Id: I59dcbb20fc9b700623d72ba047a471745dfac847
2019-05-11 09:31:25 +00:00
George Hodulik
426d3650ae Use new not-deprecated builder constructors for AppTarget
Bug: 132458790
Test: Builds now
Change-Id: I20109d868d2ddd4434bc7b2e812219ec853161d8
2019-05-10 17:11:15 -07:00
Tony
9aaa92672d Move InputConsumers to new inputconsumers package
Change-Id: I3318784523b8ff1b9468cbfed3a2682985274ea8
2019-05-09 14:37:37 -05:00
vadimt
f55e87c36b Fixing AppPredictionsUITests
Bug: 131772711
Bug: 131188880
Change-Id: Ic6556b26464766294ced7f85af716b0a4eb51ca1
2019-05-06 16:14:39 -07:00
Vadim Tryshev
2c99205461 Merge "Reenabling switching between nav modes in tests" into ub-launcher3-qt-dev 2019-05-03 17:42:20 +00:00
vadimt
c655d7a52d Disabling testPredictionExistsInAllApps
It fails in the lab, and locally, when being run as a part of the whole
test suite.

Bug: 131772711
Change-Id: Ida5f384eb7115303e1315928822566150e1d852c
2019-05-02 17:39:22 -07:00
Sunny Goyal
c7fefa6151 Disabling flaky test
Bug: 131772711
Change-Id: I98a20223845aa66c77e7a4b6fc1b9415ed046a86
2019-05-01 15:53:56 -07:00
vadimt
50af77bc46 Reenabling prediction tests
Bug: 131188880
Change-Id: Ie06a39a206a84cdf9384560c0d8498e51af957e5
2019-05-01 14:54:28 -07:00
vadimt
bcf0d1e082 Reenabling switching between nav modes in tests
Bug: 130558787
Bug: 131419978
Bug: 131630813
Change-Id: I8d62c7f2b33ac94bd4f899f7c8ed00c8293841e7
2019-05-01 14:35:04 -07:00
Vadim Tryshev
dffb214d0f Merge "Not using Contacts app" into ub-launcher3-qt-dev 2019-05-01 19:53:42 +00:00
vadimt
f1e0c90a3b Not using Contacts app
Bug: 131628231
Change-Id: If877cc95879263330b7bbd344ddd3a526a5e6fac
2019-05-01 12:21:56 -07:00
Sunny Goyal
27283f7ea8 Setting predition enabled/disabled state based on callbacks from the service
> If no callback is received within a timeout, it is set to disabled

Bug: 131188880
Change-Id: Ie6022b190a2504739f1569a500d6f5cc1566d373
2019-04-30 12:06:25 -07:00
Vadim Tryshev
9736474072 Merge "Disabling fallback overview tests until the bug is fixed" into ub-launcher3-qt-dev 2019-04-30 01:10:51 +00:00
vadimt
de84db9890 Disabling fallback overview tests until the bug is fixed
Please reenable once fixed.

Bug: 131630813
Change-Id: Idb6f59c5e785180c96fce10365a2b070558abcdd
2019-04-29 16:28:29 -07:00
Vadim Tryshev
203dde3999 Merge "Disabling AppPredictionsUITests" into ub-launcher3-qt-dev 2019-04-29 23:03:17 +00:00
vadimt
1d20590310 Disabling AppPredictionsUITests
Also I recommend not using TAPL here, but follow this:
https://docs.google.com/presentation/d/1jyS_AIqevT22mk3SpfFS6paW98QLoJ_Fu7DgpXIgZ2g/edit#slide=id.g3f7630d0d8_0_9
https://docs.google.com/presentation/d/1jyS_AIqevT22mk3SpfFS6paW98QLoJ_Fu7DgpXIgZ2g/edit#slide=id.g435cf3d76d_1_113

Bug: 131188880
Change-Id: Ib01197acbe3ea68e27f121b1c6d8304bbff9696f
2019-04-26 14:12:29 -07:00
vadimt
9565c2a071 Running tests only in 1 nav mode
Pixel1: 3-button
Pixel2: 2-button
Pixel3: 0-button

This is a temporary workaround for the listed bugs.

Bug: 130558787
Bug: 131419978
Change-Id: Ic57422c7ca8e9985fc0613239c803149e66d907f
2019-04-26 13:22:28 -07:00
vadimt
042f2e33fb Temporarily disabling 3-button testing mode
Bug: 131419978
Change-Id: I9a817140ee5e0fb8d40da67759399f85b0625da0
2019-04-26 11:44:52 -07:00
Vadim Tryshev
8bb8e56580 Merge "Set portrait orientation for FallbackRecentsTest" into ub-launcher3-qt-dev 2019-04-26 01:11:43 +00:00