Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e0892e66 authored by Daniel Norman's avatar Daniel Norman
Browse files

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
parent 35b770f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment