Skip to content

Expresso: Instant timeout with multi-process + multi rotation setup #2349

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

Open
Mathias-Boulay opened this issue Feb 28, 2025 · 0 comments
Open

Comments

@Mathias-Boulay
Copy link

Steps to reproduce the issue

1 - Clone the main branch of this sample repository: https://github.com/Mathias-Boulay/expresso-issue
2 - Execute the landscapeHandling instrumentation test under androidTest

Describe the issue

Basically, there is an issue where if both multi process and each of the activities have a different rotation (landscape/portrait) where it instantly times out trying to interact with the UI.

The only relevant part of the error I think is here:

androidx.test.espresso.remote.RemoteEspressoException: The following remote Espresso exception with error code [0] occurred:
androidx.test.espresso.NoActivityResumedException: Timed out waiting for Activity's orientation to update.
[...]

Note: tested on an emulator API 29

Video demonstration

Screencast.From.2025-02-28.05-35-21.mp4
Mathias-Boulay added a commit to Mathias-Boulay/android-test that referenced this issue Mar 17, 2025
Mathias-Boulay added a commit to Mathias-Boulay/android-test that referenced this issue Mar 17, 2025
Mathias-Boulay added a commit to Mathias-Boulay/android-test that referenced this issue Mar 19, 2025
Mathias-Boulay added a commit to Mathias-Boulay/android-test that referenced this issue Apr 25, 2025
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

No branches or pull requests

1 participant