Skip to content

Conversation

utzcoz
Copy link
Member

@utzcoz utzcoz commented Oct 22, 2022

When animation enabled, Espresso tests will become flaky because complicated animation will affect views' focus state. If views are not focused, some view actions like click will be affected and it causes flaky tests.

Fix #7588.

It can help reduce flaky when running instrumentation tests.

Signed-off-by: utzcoz <utzcoz@outlook.com>
@utzcoz utzcoz force-pushed the disable-animation branch from 78ddf3a to 7391d40 Compare October 22, 2022 14:59
@utzcoz utzcoz requested review from hoisie and brettchabot October 22, 2022 15:22
@utzcoz utzcoz merged commit c56d779 into robolectric:master Oct 22, 2022
@utzcoz utzcoz deleted the disable-animation branch October 22, 2022 15:48
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.

EspressoTest#clickButton_after_swipeUp failed on Nexus One device with API 32
2 participants