hunk.code_window: import { DataTree } from "entities/DataTree/dataTreeFactory";
   import { EvalContext } from "workers/Evaluation/evaluate";
   import { EvaluationVersion } from "api/ApplicationApi";
   import { addFn } from "workers/Evaluation/fns/utils/fnGuard";
   import { set } from "lodash";
   import { entityFns, platformFns } from "workers/Evaluation/fns";
   declare global {
     /** All identifiers added to the worker global scope should also
      * be included in the DEDICATED_WORKER_GLOBAL_SCOPE_IDENTIFIERS in
      * app/client/src/constants/WidgetValidation.ts
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep
hunk.after_edit: import { entityFns, platformFns } from "@appsmith/workers/Evaluation/fns";
  
hunk.file_path: app/client/src/ce/workers/Evaluation/Actions.ts
hunk.type: replace
file: import { ObjectsRegistry } from "../../../../../support/Objects/Registry"
  
  let dataSet: any, dsl: any;
  let agHelper = ObjectsRegistry.AggregateHelper,
      ee = ObjectsRegistry.EntityExplorer,
      propPane = ObjectsRegistry.PropertyPane,
      locator = ObjectsRegistry.CommonLocators,
      deployMode = ObjectsRegistry.DeployMode;
  
  describe("Input widget test with default value from chart datapoint", () => {
  
      //beforeEach - becasuse to enable re-attempt passing!
      beforeEach(() => {
          cy.fixture('ChartDsl').then((val: any) => {
              agHelper.AddDsl(val)
              dsl = val;
          });
          cy.fixture("testdata").then(function (data: any) {
              dataSet = data;
          });
      });
  
      it("1. Chart widget - Input widget test with default value from another Input widget", () => {
          ee.SelectEntityByName("Input1", 'Widgets')
          propPane.UpdatePropertyFieldValue("Default Value", dataSet.bindChartData + "}}");
          agHelper.ValidateNetworkStatus('@updateLayout')
          ee.SelectEntityByName("Chart1")
          propPane.SelectPropertiesDropDown("ondatapointclick", "Show message")
          agHelper.EnterActionValue("Message", dataSet.bindingDataPoint)
          ee.SelectEntityByName("Input2")
          propPane.UpdatePropertyFieldValue("Default Value", dataSet.bindingSeriesTitle + "}}");
          deployMode.DeployApp()
          agHelper.Sleep(1500)//waiting for chart to load!
          agHelper.GetNClick("//*[local-name()='rect']", 13)
          cy.get(locator._widgetInputSelector("inputwidgetv2")).first().invoke('val').then($value => {
              let inputVal = ($value as string).replace(/\s/g, "")//removing space here
              //cy.get(locator._toastMsg).invoke('text').then(toastTxt => expect(toastTxt.trim()).to.eq(inputVal))
              cy.get(locator._toastMsg).should('have.text', inputVal)
          })
          cy.get(locator._widgetInputSelector("inputwidgetv2")).last().should("have.value", dsl.dsl.children[0].chartData[0].seriesName);
      });
  
      afterEach(() => {
          //this is to enable re-attempt passing!
          deployMode.NavigateBacktoEditor()
      })
  
  });