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

fix(Android): make flakiest tests more robust #637

Merged
merged 2 commits into from
Jan 9, 2025

Conversation

boringcactus
Copy link
Member

Summary

Ticket: Fix flaky android emulator tests

I went through the 25 most recent CI failures, ignored the ones where other CI steps failed or the failing emulator tests looked related to the changes made in the PR, and added a waitUntil to give the non-Compose mocked network requests a little more time to settle. (I also added some scrolling on the one test here that was failing in Compose assertions, on the assumption that it's a scrolling issue again.)

iOS

  • [ ] If you added any user-facing strings on iOS, are they included in Localizable.xcstrings?
    • [ ] Add temporary machine translations, marked "Needs Review"

android

  • [ ] All user-facing strings added to strings resource
  • [ ] Expensive calculations are run in withContext(Dispatchers.Default) where possible

Testing

Ran the tests locally and checked that they all pass, although that only guarantees that I didn't break any of these tests, not that they'll pass more often in CI now.

@boringcactus boringcactus requested a review from a team as a code owner January 9, 2025 17:55
@boringcactus boringcactus requested a review from BrandonTR January 9, 2025 17:55
@boringcactus boringcactus merged commit 5108bc6 into main Jan 9, 2025
5 checks passed
@boringcactus boringcactus deleted the mth-flaky-android-tests branch January 9, 2025 19:39
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.

2 participants