vadimt
06d30e54d5
Enabling tests in landscape mode
...
Bug: 121280703
Change-Id: I3245ca8d0b0496035658ce2a602882a62942f3f1
2019-06-17 15:13:25 -07:00
vadimt
87fbd33a37
Not using settings app in tests
...
Change-Id: I7542dab07a0d5a76cc90f4b5eee0d376b5d8ca11
2019-06-12 15:26:27 -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
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
vadimt
1b902a3128
Printing TouchInteractionService state on test failures
...
Change-Id: I41078238c8f49c929ccb026ca329e730ab96822c
2019-05-29 14:44:47 -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
1b9afd4f73
Merge "Reading navigation_bar_gesture_height for bottom swipe region" into ub-launcher3-qt-dev
2019-05-23 17:53:24 +00:00
Sunny Goyal
f5d02b069a
Reading navigation_bar_gesture_height for bottom swipe region
...
Bug: 132917885
Change-Id: I39d266fc34a69c3ba50246b5a66350942a85becb
2019-05-23 10:42:24 -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
Sunny Goyal
1b40b731b2
Using different resource size for touch region in landscape
...
Bug: 132917885
Change-Id: Ib702fd17fecff980db2e1d00f05cd055bcc3185a
2019-05-20 10:09:26 -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
vadimt
1b383af652
Not using magic constants for navbar height
...
Change-Id: I6783b8a2ebb059ce35748d8c3e818cbe732ff40d
2019-05-08 17:20:34 -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
vadimt
f1e0c90a3b
Not using Contacts app
...
Bug: 131628231
Change-Id: If877cc95879263330b7bbd344ddd3a526a5e6fac
2019-05-01 12:21:56 -07:00
vadimt
8dca8a7328
Not switching nav mode on a virtual device for now
...
Change-Id: Ie089638b6252073e5e495e87c7bc0d252a58e95f
2019-04-29 16:01:47 -07:00
vadimt
3be3f03e90
Attempt to fix broken tests by having different nav models
...
Change-Id: I1adae9f5897269bda9019b1cce0479b6d4af1c72
Pixel1: 3 button
Pixel2: 0 button
Pixel3: 2 button
2019-04-26 18:29:07 -07:00
vadimt
b3a934d984
Quick for for broken OOP tests
...
Change-Id: I1009381a58ca28b3ef922f1c6bb872f811f88716
2019-04-26 17:28:25 -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
TreeHugger Robot
b31b38c942
Merge "Adding support for showing predicted apps as a floating row in all-apps and overview" into ub-launcher3-qt-dev
2019-04-23 21:47:38 +00:00
Sunny Goyal
77b3419ad5
Adding support for showing predicted apps as a floating row in all-apps
...
and overview
Bug: 130053407
Change-Id: Idb93a0ba6cfea8406f75ab86d9e0acde2fc04b3a
2019-04-23 14:26:44 -07:00
vadimt
d518364d53
Add tracing for non-loading model
...
Bug: 131170582
Change-Id: Iffc3f5f38ce896c4cfd2df55bedcf43e2018a58f
2019-04-23 12:10:44 -07:00
vadimt
736adde1c7
Adding wellbeing toast test
...
Bug: 130914022
Change-Id: I777440884c122ec040e5e00bfbed41f2eb86b5b0
2019-04-19 19:15:37 -07:00
vadimt
a42dc530ee
More improvements for wellbeing tests
...
Change-Id: I3c5866660bfb96378cdc80c1afc70ec438fc9add
2019-04-15 16:50:12 -07:00
vadimt
c255c8b357
Unlock the phone before each test
...
We were trying to do so from the test config, but this didn't work
Change-Id: I098eb392c76572bc43443adac130fa8700b49bde
2019-04-12 14:00:40 -07:00
vadimt
e924eb93ae
Not deleting assistant from sources
...
Now it's done via test config files
Change-Id: Ia31f6de8a44ce29b1ccc01fdb509b6d1e8f2d49d
2019-04-05 17:00:30 -07:00
vadimt
19f996d7d7
Exiting tests after a test fails to deinitialize
...
This avoid confusion when following tests get affected by failures in
earlier tests.
Change-Id: I44abcb38d5de222e48b0c33f062044280305750e
2019-04-03 17:16:27 -07:00
vadimt
28b1988289
Attempt to disable assistant and seeing if this helps with lab tests
...
Change-Id: I4950eeee06555ca199208f678f670c3406b38d5a
2019-03-06 16:22:47 -08:00
TreeHugger Robot
3663b314fa
Merge "Removing diagnostics" into ub-launcher3-master
2019-01-30 18:43:08 +00:00
vadimt
dc2f2dc639
Splitting TaplTests into a pure AOSP and QS parts
...
This will allow running as many as possible automatic checks on AOSP
launcher and moving most AOSP tests that use TAPL to where they belong
to: Tapl Tests.
Bug: 110103162
Test: Running the test suites
Change-Id: I9192354e6097698d4b942c5682b79664ecc2336d
2019-01-29 10:53:34 -08:00
vadimt
3f8591f003
Removing diagnostics
...
Now that b/117332845 is fixed
Bug: 117332845
Change-Id: If8c137b9c7cc386dfc5b5af4b81a3efbfa33f770
Tests: None
2019-01-25 10:35:53 -08:00
vadimt
579c8c200d
Switching from mDevice.pressHome() to mLauncher.pressHome()
...
Using mDevice.pressHome() was a workaround for the shifted-search bug.
Change-Id: I740db2109af531c55f8ab59a42998bdc329fb72e
Tests: affected tests
2019-01-11 17:32:05 -08:00
vadimt
943b28464d
Test swiping up from a killed launcher
...
Bug: 121164587
Test: StartLauncherViaGestureTests
Change-Id: I01c5bfc0aa23418bad7d44b8d9cf8b95cbe0b320
2018-12-17 18:09:07 -08:00
vadimt
00d4255272
Adding tests that would reliably reproduce shifted search.
...
This would guaranteed to repro b/118441555 before it was fixed.
The test doesn't use the most powerful feature of race condition
reproducer, which is enumerating all possible event sequences.
Instead, it uses explicit repro sequences, which makes the test much
faster.
Bug: 120628042
Test: The added test
Change-Id: I89a7a9964f160a8a20ba3d9dda2f248237713014
2018-12-17 14:41:20 -08:00
Vadim Tryshev
ba8957b3c2
Converting ShortcutsLaunchTest gesture-stable
...
By converting to TAPL.
Bug: 110103162
Test; TaplTests
Change-Id: I788405f2e52cc0e29ebf69e58feda46b408e9eb9
2018-11-01 17:45:59 -07:00
Vadim Tryshev
f908a2e50e
Adding test methods
...
Bug: 117888000
Test: Running new Nexus tests
Change-Id: I52a1f89add36dd38bbae8db262dd2e82280db130
2018-10-25 11:43:59 -07:00
Vadim Tryshev
34b6f9f106
Supporting OOP tests
...
AbstractLauncherUiTest was modified to compile and work both in- and
out- of proc.
Bug: 113056917
Test: was in Nexus branch
2018-10-13 01:13:45 +00:00
Vadim Tryshev
14c6c8cee4
Improving tests to fix testBindNormalWidget_withoutConfig, and beyond
...
1. Make waitXXX methods fail if the condition diesn’t turn true.
2. Waiting for loading to complete in tearDown instead of reloading the
model
3. Avoiding waiting for load-complete where loading didn’t start
4. Disabling last test in AddConfigWidgetTest
5. Waiting for loading to complete inside setupAndVerifyContents(), not
outside
6. Unifying how we wait for loader to complete
7. Adding more logging
Bug: 117332845
Test: running all Nexus tests
Change-Id: I3070e1ac2b9161179cc3e0800b0cd8162807389a
2018-10-09 18:47:42 -07:00
Sunny Goyal
4ed58d6c03
Adding tests for fallback recents when a 3rd party launcher is installed
...
Change-Id: I1d4da13cc779f49832008b12b9628d01631faffe
2018-10-09 14:25:01 -07:00
Vadim Tryshev
a7da86e14a
More temporary logging to diagnose testPendingWidget_autoRestored
...
And waiting to loader to finish to improve determinism.
Bug: 117332845
Test: running Launcher
Change-Id: Icdfce969b61f8ceb952a2715037783458da4d4c4
2018-10-05 20:05:34 -07:00
Vadim Tryshev
4ada2d2cde
Resetting loader state after each UI test run
...
This is to prevent tests from affecting tests running after them.
Bug: 117332845
Test: Ran all tests; will see on TAP
Change-Id: Ie93ef30477eb069c6b4df48c6fceaceb968edaf4
2018-10-05 12:03:17 -07:00
Vadim Tryshev
c295098e18
Enabling "in test harness" flag with a direct call
...
This allows running in-proc tests without enabling test harness on
Android and restarting Launcher.
Bug: 110103162
Test: TaplTests
Change-Id: Ife44eff4760eb1349a10847efe2c1f27643bf146
2018-10-04 16:33:45 -07:00
Vadim Tryshev
6ffb2c8faa
Make @QuickstepOnOff and @PortraitLandscape available to all UI tests.
...
Also, fix rotation as Portrait as starting poin for all tests, to avoid
tests running in unexpected configuration.
Bug: 115645301
Test: run all Nexus tests
Change-Id: I3ab0e91db111eeefda77af2960c43962a119de0c
2018-10-02 17:32:01 -07:00
Vadim Tryshev
43524d0daa
Attempting to fix flakes in AllAppsIconToHomeTest
...
Pressing an icon in AllApps doesn't show a context menu.
The flake doesn't repro locally, the suspects are:
1. Too short wait time
2. App being partially covered by navbar.
Hence the fixes.
This patch is temporary, and will be replaced with a permanent one when
this will be converted to TAPL.
Test: AllAppsIconToHomeTest
Change-Id: I0a03ff8827a5bc7940af3ec956d4b62330a16c66
2018-09-26 18:15:42 -07:00
Vadim Tryshev
47d66ad879
Support for running tests out of Launcher process
...
This CL doesn't turn it on yet.
Bug: 113056917
Test: TaplTests
Change-Id: I01007cb9ab330166cbb8a4c1fcd0cee0c60aeba5
2018-09-25 10:32:30 -07:00
Vadim Tryshev
802a28946c
Add support for testing in portrait mode
...
Bug: 110103162
Test: TaplTests
Change-Id: I7f633405c04984ea8f04acdc6dd4ad21019d3409
2018-09-21 14:53:11 -07:00
Vadim Tryshev
c59465efe0
Disabling heads-up notifications in launcher tests.
...
This prevents the tests from interacting with this popup.
Bug: 110103162
Test: TaplTests
Change-Id: I0215ddab634611d20a63ed728de11d4138456f96
2018-09-18 14:02:33 -07:00
Vadim Tryshev
98afc96461
Increasing wait time to populate suggested apps
...
Bug: 110103162
Test: ReflectionBasicUiTest
Change-Id: Iee5d4f328bdde93e6d9c2db9869314aa3a8eb00f
2018-08-23 15:06:37 -07:00
Vadim Tryshev
d819b8f743
Comment fix
...
Bug: 110103162
Test: ReflectionBasicUiTest
Change-Id: Ic9cfe925bb396e3fa0257009d5d9f53db728f9f0
2018-08-23 18:48:06 +00:00
Vadim Tryshev
9aca88cbf9
Fixing tests on a larger device
...
See atp for failed tests.
Widget container may return objects outside of screen, hence the test
failures.
Test: AddConfigWidgetTest.com.android.launcher3.ui.widget.AddConfigWidgetTest etc
Change-Id: Ia402dae0c9bc8f0585e57ac5f562a59e8ff4ed53
2018-08-22 17:35:18 -07:00