The CHT Core Framework makes it faster to build responsive, offline-first digital health apps that equip health workers to provide better care in their communities. It is a central resource of the Community Health Toolkit.
Describe the performance issue
Our build process takes around 35 minutes to execute. Majority of which is running e2e tests.
Describe the improvement you'd like
A quick win would be to split the tests files up and run them across more runners. This could be done by using the matrix and the fromJSON() option within github actions. I think this would also be a good opportunity to clean up the e2e and group them based on functionality. There are a few that just sit in the root of e2e.
Describe alternatives you've considered
Protractor allows you to shard and run multiple instances on one runner. I believe this effort to make our tests run against the same CHT instance would be higher because of the number of settings changes, resetting databases.
To Reproduce
Steps to record the performance metrics:
Go to '...'
Click on '....'
Measurements
Looking at the Successful runs the quick average is around 35 minutes.
Environment
Instance: (eg: alpha.dev.medicmobile.org, etc)
Browser: (eg: Firefox, Chrome, incognito mode, etc, which worked, which didn't)
Describe the performance issue Our build process takes around 35 minutes to execute. Majority of which is running e2e tests.
Describe the improvement you'd like A quick win would be to split the tests files up and run them across more runners. This could be done by using the matrix and the
fromJSON()
option within github actions. I think this would also be a good opportunity to clean up the e2e and group them based on functionality. There are a few that just sit in the root of e2e.Describe alternatives you've considered Protractor allows you to shard and run multiple instances on one runner. I believe this effort to make our tests run against the same CHT instance would be higher because of the number of settings changes, resetting databases.
To Reproduce Steps to record the performance metrics:
Measurements Looking at the Successful runs the quick average is around 35 minutes.
Environment
Additional context Add any other context or screenshots about the feature request here.