summaryrefslogtreecommitdiff
path: root/tests/permission/src
diff options
context:
space:
mode:
author Daniel Norman <danielnorman@google.com> 2023-12-12 23:45:54 +0000
committer Daniel Norman <danielnorman@google.com> 2023-12-13 22:44:48 +0000
commite0892e667a7fcb933986f55ef3679424d7b0289c (patch)
tree14adf478b0179230dc36cf6a3a619b0c1464b127 /tests/permission/src
parent35b770f3a14b64fc0579d027feb10d6a33351638 (diff)
Fix AccessibilityShortcutChooserActivityTest for small screens.
This test used to use UiAutomation to find and click the floating dialog buttons because UiDevice is unable to find system windows. This didn't work on small screens that had to scroll first to show a specific button. Rather than adding in scrolling, which itself is flaky and requires waiting, it's much simpler to just directly grab and invoke the dialog button click actions because the dialog is available to the test activity. Also adds a note warning the developer about how this test intercepts and creates a custom A11yManager, which can cause confusing UI inspection behavior. Bug: 315929374 Test: AccessibilityShortcutChooserActivityTest 50 iterations Change-Id: I15437c91bf4e17de466fe34bd45ffcae5478baab
Diffstat (limited to 'tests/permission/src')
0 files changed, 0 insertions, 0 deletions