hunk.code_window:                                 baseUrl + "/api/v1/releases?instanceId=" + instanceId +
                                           // isCloudHosted should be true only for our cloud instance,
                                           // For docker images that burn the segment key with the image, the CE key will be present
                                           "&isSourceInstall=" + (commonConfig.isCloudHosted() || StringUtils.isEmpty(segmentConfig.getCeKey())) +
                                           (StringUtils.isEmpty(commonConfig.getRepo()) ? "" : ("&repo=" + commonConfig.getRepo()))
                           )
                           .get()
                           .exchange()
                   )
  
hunk.labels: keep keep keep replace keep keep keep keep keep
hunk.after_edit:                                         "&isSourceInstall=" + (commonConfig.isCloudHosting() || StringUtils.isEmpty(segmentConfig.getCeKey())) +
  
hunk.file_path: app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ReleaseNotesService.java
hunk.type: replace
file: const queryLocators = require("../../../../locators/QueryEditor.json");
  const queryEditor = require("../../../../locators/QueryEditor.json");
  
  let datasourceName;
  
  describe("Add widget", function() {
    beforeEach(() => {
      cy.startRoutesForDatasource();
      cy.createPostgresDatasource();
      cy.get("@createDatasource").then((httpResponse) => {
        datasourceName = httpResponse.response.body.data.name;
      });
    });
  
    it("Add widget", () => {
      cy.NavigateToQueryEditor();
      cy.contains(".t--datasource-name", datasourceName)
        .find(queryLocators.createQuery)
        .click();
  
      cy.get(queryLocators.templateMenu).click();
      cy.get(".CodeMirror textarea")
        .first()
        .focus()
        .type("select * from configs");
      // eslint-disable-next-line cypress/no-unnecessary-waiting
      cy.WaitAutoSave();
      cy.get(queryEditor.runQuery).click();
      cy.wait("@postExecute").should(
        "have.nested.property",
        "response.body.responseMeta.status",
        200,
      );
      cy.get(queryEditor.suggestedTableWidget).click();
      cy.SearchEntityandOpen("Table1");
      cy.isSelectRow(1);
      cy.readTabledataPublish("1", "0").then((tabData) => {
        const tabValue = tabData;
        expect(tabValue).to.be.equal("5");
        cy.log("the value is " + tabValue);
      });
    });
  });
  