FluidFramework
FluidFramework copied to clipboard
improvement(test-version-utils): Automatically set minVersionForCollab in e2e test generation
Description
This PR leverages minVersionForCollab in e2e test generations by doing the following:
- Allows test authors to set
minVersionForCollabfrom theITestContainerConfigobject. - If no
minVersionForCollabis provided inITestContainerConfig, then it will be set automatically. We will use the lesser of the container runtime version for creating/loading. (Note: If it's not a cross-client test, then the loading version will be undefined and we will use the creating version).
These changes allow us to remove the filterRuntimeOptionsForVersion() function. filterRuntimeOptionsForVersion was used to set runtime options based on the container runtime verison, which is no longer necessary since that logic is automatically taken care of by minVersionForCollab.