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

WIP: Run instrumentation tests in Firebase Test Lab #407

Open
wants to merge 9 commits into
base: dev
Choose a base branch
from

Conversation

schuyler
Copy link
Member

Add support in CircleCI for running instrumentation tests in Firebase Test Lab.

The tests can be run manually as follows:

gcloud auth login <email>
./gradlew runInstrumentationTestsOnTestLab

Right now only @zestyping and I have access to the Firebase project; please contact me if you also need access.

Because running in Firebase Test Lab costs the Buendia project money, the instrumentation tests are only run in CircleCI on the dev branch or any branch with firebase in the name.

This code depends on environment variable settings in CircleCI using a GCloud service account key prepared according to Google's documentation.

STILL TO-DO BEFORE MERGE

This PR depends on #406.

@zestyping
Copy link
Contributor

It doesn't surprise me that the tests don't pass. (Sorry!) There were a lot of UX changes and improvements for the MSF mock-up, and in particular I changed a bunch of settings to make the app use server as the default server hostname so it would work on the local Wi-Fi network. To make the tests pass consistently we need an integration testing server that we can put into a known state (e.g. with a fixed profile and wiped clean of patient data) for test runs.

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.

None yet

2 participants