Closed jkuester closed 7 months ago
For the record, I now believe that the main issue that was causing these tests to break was the WebView version being used in the emulated Android devices for the GH actions. The tests were originally running with Android 10. When I spin up an emulated version of Android 10 locally, it loads with webview 74.0.3729.185
which is below our minimum version for the CHT of 90
. When I try to connect to a CHT instance with an emulated Android 10, I get the same infinite spinner of death as seems to be occurring on the GH actions.
So, I expect the upgrade to run with a newer version of Android was all that was needed for these tests, but I will retain the other changes here too since they are good to have as well!
Closes https://github.com/medic/cht-android/issues/337
Upgrade our way out of the CI test failures. Uplifts all our
androidTestImplementation
dependencies to the latest versions. Also updates our GitHub actions jobs for running the tests to use Ubuntu and build against Android 33. This has the added benefit of making the tests run quite a bit faster for some reason...