CDCgov / dibbs-query-connector

A FHIR client allowing public health agencies to query health care organizations directly or via a TEFCA QHIN
Creative Commons Zero v1.0 Universal
4 stars 0 forks source link

Fix all the e2e stuff #64

Closed bamader closed 3 weeks ago

bamader commented 3 weeks ago

Reducing e2e Flakiness

Summary

This PR attempts to cleanup, refactor, and optimize the settings of our end to end tests to minimized flakiness and errors, both locally and on github. Particular attention is paid to reducing the odds that a dev needs to "rerun" the tests in order to force a github pass, as well as to make sure the tests simply work on run when executing locally. With the browser switch already in place, I used the video/trace logs produced by the e2e's (which are absolutely fantastic and get captured for any end to end test that fails at least once) to create a grid-search optimization table to find the best combination of parameters with which to run the tests. This PR introduces the following changes:

Related Issue

No issue was created for this, but this is my final attempt at cleaning up local e2e development troubles once and for all

Additional Information

I ran the tests on this github page four separate times after my latest commit and all four passed with no retries or breaks in between, so this configuration seems like something github can handle.