Closed kennsippell closed 1 year ago
@jkuester Any tips on getting tests to pass on this PR? I'm seeing failures in the unbranded APK but I'm not making changes there. I'll investigate but let me know if anything jumps to mind since I don't have experience with these tests.
@kennsippell sorry for the late response here! I forgot to circle back to this last week. It looks like the tests did eventually pass out here, but for what it is worth, I ran into the same issues with the tests in my PR: https://github.com/medic/cht-android/pull/320
TLDR is I was able to fix them by adding a few sleeps so the UI has time to catch up before the test moves on. (Definitly not a perfect solution, but it is consistent with the current pattern in the tests. A more complete and sophisticated refactor needs to happen in the future.)
I think you should be good to merge this PR now as it is and then when #320 lands it should sort out the testing problem.
317