diff options
| author | 2024-02-06 16:47:21 +0900 | |
|---|---|---|
| committer | 2024-02-15 20:32:51 +0900 | |
| commit | 2ff9d78abc3309eb44617b96c1a148df120fd257 (patch) | |
| tree | a06bd1a7ad80e48174f2c3cf22faed963cceb3c9 /floss/build/container-build-image.py | |
| parent | 5f95e35481177c8eed4abfae24618241b06cafbe (diff) | |
Fix BluetoothMapSettingsTest failure in some devices
In some devices, the BluetoothMapSettings activity doesn't fill the
entire screen, and also don't get focus when they pop up.
As a result, Espresso uses a wrong root view to find the desired view
in, which makes the test fail.
This CL adds a click event on the activity so that the correct
root view can be used for finding the desired view in it.
Also it adds @FlakyTest since it is flaky due to intrinsic nature
of UI tests. Among 50 runs on different devices:
- Did not fail on a phone device.
- Failed about 3% in a relatively slow device.
Bug: 322817893
Test: atest BluetoothMapSettingsTest --iteration 50
Flag: EXEMPT, test-only change
Change-Id: I7a83aeb538a2a863da01e4a4ae0688d1331e9e16
Diffstat (limited to 'floss/build/container-build-image.py')
0 files changed, 0 insertions, 0 deletions