medic / cht-android

A native Android container for Community Health Toolkit (CHT) applications
GNU Affero General Public License v3.0
25 stars 49 forks source link

Login Test Broken #337

Closed jkuester closed 6 months ago

jkuester commented 10 months ago

Describe the issue Our e2e test for loading the Gamma login page is broken. The tests run fine for me locally, but they fail on CI.

The spinner page from the webapp is loaded into the webview. What should happen is that page loads, the JS downloads, and then the JS executes, which detects there's no session, and redirects to the login page. However, when running on CI, it never makes it to the login page. Any one of these steps could be failing.

More details/discussion on: https://github.com/medic/cht-android/pull/334

Describe the improvement you'd like The test shalt pass.