hunk.code_window:             // Fetch unpublished pages because GET actions is only called during edit mode. For view mode, different
               // function call is made which takes care of returning only the essential fields of an action
               return applicationService
                       .findById(params.getFirst(FieldName.APPLICATION_ID), READ_APPLICATIONS)
                       .flatMapMany(application -> repository.findByApplicationIdAndViewMode(application.getId(), false, READ_ACTIONS))
                       .filter(newAction -> !PluginType.JS.equals(newAction.getPluginType()))
                       .flatMap(this::setTransientFieldsInUnpublishedAction);
           }
           return repository.findAllActionsByNameAndPageIdsAndViewMode(name, pageIds, false, READ_ACTIONS, sort)
  
hunk.labels: keep keep keep keep keep replace keep keep keep
hunk.file_path: app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/NewActionServiceCEImpl.java
hunk.type: replace
file: const dsl = require("../../../../fixtures/TextTabledsl.json");
  
  describe("Property pane connections error state", function() {
    before(() => {
      cy.addDsl(dsl);
    });
  
    it("Check if the connection shows an error state when a connection has an error", function() {
      cy.openPropertyPane("tablewidget");
  
      cy.testJsontext("tabledata", "{{error}}");
  
      cy.openPropertyPane("textwidget");
      cy.testJsontext("text", "{{Table1.searchText}}");
  
      // Find class which indicates an error
      cy.get(".t--connection-error");
    });
  });
  