See PatientChartActivityTest for reference.
Both of our tests that create multiple observations for a single patient in quick succession are flaky, and only pass about half of the time. The cause of the test failures appears to be that the chart fails to update after observations are made sometimes.
The failure mode for testCombinesNonOverlappingObservationsForSameEncounter is that sometimes, all of the observations from a single encounter are missing.
For testEncounter_latestEncounterIsAlwaysShown, sometimes the observations update to the new values, and sometimes they don't.