chore(e2e): connection form tests COMPASS-5338 #2858
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For each connection we test this will:
This should do several things:
This PR doesn't perform the actual connect at the end yet. The plan is to gradually change the connection strings (and expected resulting form state) over to real connections that we can connect to. Starting with things we can test locally and against atlas, then to all the docker machines we have available and so on. We could then also easily disable the connect parts based on which environment variables are set. ie. only test against docker images on ubuntu for now, etc.
This also doesn't test warnings and errors yet. Just the known happy paths.
I tried to hit every possible form field. This is not a complete cartesian product of every possible combination of state. We can easily expand it over time if this misses anything important.