hunk.code_window:         return queryOne(List.of(nameCriteria), aclPermission);
       }
       @Override
       public Flux<Organization> findByIdsIn(Set<String> orgIds, AclPermission aclPermission) {
           Criteria orgIdsCriteria = where(fieldName(QOrganization.organization.id)).in(orgIds);
  
hunk.labels: keep keep keep keep keep replace keep
hunk.after_edit:     public Flux<Organization> findByIdsIn(Set<String> orgIds, AclPermission aclPermission, Sort sort) {
  
hunk.file_path: app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/CustomOrganizationRepositoryImpl.java
hunk.type: replace
file: const ApiEditor = require("../../../locators/ApiEditor.json");
  const apiwidget = require("../../../locators/apiWidgetslocator.json");
  
  describe("Test curl import flow", function() {
    it("Test curl import flow Run and Delete", function() {
      localStorage.setItem("ApiPaneV2", "ApiPaneV2");
      cy.NavigateToApiEditor();
      cy.get(ApiEditor.curlImage).click({ force: true });
      cy.get("textarea").type("curl -X GET https://mock-api.appsmith.com/users");
      cy.importCurl();
      cy.get("@curlImport").then(response => {
        cy.expect(response.response.body.responseMeta.success).to.eq(true);
        cy.get(apiwidget.ApiName)
          .invoke("text")
          .then(text => {
            const someText = text;
            expect(someText).to.equal(response.response.body.data.name);
          });
      });
      //cy.WaitAutoSave();
      cy.RunAPI();
      cy.ResponseStatusCheck("200 OK");
      cy.get(ApiEditor.formActionButtons).should("be.visible");
      cy.get(ApiEditor.ApiDeleteBtn).click();
      cy.wait("@deleteAction");
      cy.get("@deleteAction").then(response => {
        cy.expect(response.response.body.responseMeta.success).to.eq(true);
      });
      cy.get(ApiEditor.ApiHomePage).should("be.visible");
      cy.get(ApiEditor.formActionButtons).should("not.be.visible");
    });
  });
  