hunk.code_window:   cy.get(datasourceEditor["authenticationAuthtype"]).click();
     cy.contains(datasourceFormData["mongo-authenticationAuthtype"]).click({
       force: true,
     });
     cy.get(datasourceEditor["sslAuthtype"]).click();
     cy.contains(datasourceFormData["mongo-sslAuthtype"]).click({
       force: true,
     });
   });
   Cypress.Commands.add("fillPostgresDatasourceForm", () => {
  
hunk.labels: keep keep keep keep replace replace replace replace replace keep keep keep
hunk.file_path: app/client/cypress/support/commands.js
hunk.type: replace
file: import React from "react";
  import PropertyControlFactory from "./PropertyControlFactory";
  import {
    PropertyControls,
    PropertyControlPropsType,
  } from "components/propertyControls";
  import BaseControl from "components/propertyControls/BaseControl";
  class PropertyControlRegistry {
    static registerPropertyControlBuilders() {
      Object.values(PropertyControls).forEach(
        (Control: typeof BaseControl & { getControlType: () => string }) => {
          const controlType = Control.getControlType();
          PropertyControlFactory.registerControlBuilder(controlType, {
            buildPropertyControl(
              controlProps: PropertyControlPropsType,
            ): JSX.Element {
              return <Control {...controlProps} />;
            },
          });
        },
      );
    }
  }
  
  export default PropertyControlRegistry;
  