Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Direct dispatch clicks implementation #81

Merged
merged 1 commit into from
Jul 2, 2023

Conversation

dsvoronin
Copy link
Contributor

implement custom "white-box" clicks with direct dispatch of events to view

Espresso clicks sometimes can be interpreted as long clicks InProcessClickAction implementation uses "white-box" approach: dispatches click events directly to View instead of espresso "black-box" way of making RPC calls to Android system server

See: https://stackoverflow.com/questions/32330671/android-espresso-performs-longclick-instead-of-click
See: comment in [androidx.test.espresso.action.GeneralClickAction.perform]

Visualization of clicks enabled by default.
Added double click tests

… view

Espresso clicks sometimes can be interpreted as long clicks
InProcessClickAction implementation uses "white-box" approach: dispatches click events directly to View instead of espresso "black-box" way of making RPC calls to Android system server

See: https://stackoverflow.com/questions/32330671/android-espresso-performs-longclick-instead-of-click
See: comment in [androidx.test.espresso.action.GeneralClickAction.perform]

Visualization of clicks enabled by default.
Added double click tests
@Vacxe Vacxe merged commit 24cccf2 into clicks-improvements Jul 2, 2023
1 of 11 checks passed
@Vacxe Vacxe deleted the clicks-improvements-impl branch July 2, 2023 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants