diff --git a/cypress/e2e/Regression/ClientSide/ActionExecution/Bug33601_spec.ts b/cypress/e2e/Regression/ClientSide/ActionExecution/Bug33601_spec.ts new file mode 100644 index 000000000000..38932ca6e136 --- /dev/null +++ b/cypress/e2e/Regression/ClientSide/ActionExecution/Bug33601_spec.ts @@ -0,0 +1,74 @@ +import { + agHelper, + appSettings, + assertHelper, + deployMode, + homePage, + locators, +} from "../../../../support/Objects/ObjectsCore"; +import EditorNavigation, { + EntityType, + PageLeftPane, +} from "../../../../support/Pages/EditorNavigation"; + +describe( + "Bug:33601: resetWidget function causes the next async method to be undefined", + { tags: ["@tag.JS"] }, + () => { + it("1. Bug 33601", () => { + homePage.NavigateToHome(); + homePage.ImportApp("resetWidgetBug33601.json"); + EditorNavigation.SelectEntityByName("List1", EntityType.Widget); + PageLeftPane.expandCollapseItem("List1"); + PageLeftPane.expandCollapseItem("Container1"); + EditorNavigation.SelectEntityByName("Input1", EntityType.Widget); + + agHelper.EnterInputText("Label", "Widget Input2"); + EditorNavigation.SelectEntityByName("Button1", EntityType.Widget); + cy.get(locators._widgetInputSelector("inputwidgetv2")) + .first() + .invoke("attr", "value") + .should("contain", "Widget Input2"); + agHelper + .GetAttribute(locators._imgWidgetInsideList, "src") + .then((labelValue) => { + expect(labelValue).not.to.contain("data:image/png;base64"); + }); + + agHelper.ClickButton("Submit"); + cy.get(locators._widgetInputSelector("inputwidgetv2")) + .first() + .invoke("attr", "value") + .should("be.empty"); + assertHelper.WaitForNetworkCall("@postExecute"); + agHelper + .GetAttribute(locators._imgWidgetInsideList, "src") + .then((labelValue) => { + expect(labelValue).to.contain("data:image/png;base64"); + }); + + deployMode.DeployApp(); + agHelper.AssertElementVisibility(appSettings.locators._header); + agHelper.EnterInputText("Label", "Widget Input2"); + cy.get(locators._widgetInputSelector("inputwidgetv2")) + .first() + .invoke("attr", "value") + .should("contain", "Widget Input2"); + agHelper + .GetAttribute(locators._imgWidgetInsideList, "src") + .then((labelValue) => { + expect(labelValue).not.to.contain("data:image/png;base64"); + }); + agHelper.ClickButton("Submit"); + cy.get(locators._widgetInputSelector("inputwidgetv2")) + .first() + .invoke("attr", "value") + .should("be.empty"); + agHelper + .GetAttribute(locators._imgWidgetInsideList, "src") + .then((labelValue) => { + expect(labelValue).to.contain("data:image/png;base64"); + }); + }); + }, +); diff --git a/cypress/fixtures/resetWidgetBug33601.json b/cypress/fixtures/resetWidgetBug33601.json new file mode 100644 index 000000000000..44ae3ae0e7dc --- /dev/null +++ b/cypress/fixtures/resetWidgetBug33601.json @@ -0,0 +1 @@ +{"artifactJsonType":"APPLICATION","clientSchemaVersion":1.0,"serverSchemaVersion":11.0,"exportedApplication":{"name":"Untitled application 1 (1)","isPublic":false,"pages":[{"id":"Page1","isDefault":true}],"publishedPages":[{"id":"Page1","isDefault":true}],"viewMode":false,"appIsExample":false,"unreadCommentThreads":0.0,"unpublishedApplicationDetail":{"appPositioning":{"type":"FIXED"},"navigationSetting":{},"themeSetting":{"sizing":1.0,"density":1.0,"appMaxWidth":"LARGE"}},"publishedApplicationDetail":{"appPositioning":{"type":"FIXED"},"navigationSetting":{},"themeSetting":{"sizing":1.0,"density":1.0,"appMaxWidth":"LARGE"}},"color":"#C2DAF0","icon":"smartphone","slug":"untitled-application-1-1","unpublishedCustomJSLibs":[],"publishedCustomJSLibs":[],"evaluationVersion":2.0,"applicationVersion":2.0,"collapseInvisibleWidgets":true,"isManualUpdate":false,"deleted":false},"datasourceList":[],"customJSLibList":[],"pageList":[{"unpublishedPage":{"name":"Page1","slug":"page1","layouts":[{"viewMode":false,"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":4896.0,"snapColumns":64.0,"detachFromLayout":true,"widgetId":"0","topRow":0.0,"bottomRow":620.0,"containerStyle":"none","snapRows":124.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"version":90.0,"minHeight":1292.0,"dynamicTriggerPathList":[],"parentColumnSpace":1.0,"dynamicBindingPathList":[],"leftColumn":0.0,"children":[{"needsErrorInfo":false,"boxShadow":"none","mobileBottomRow":12.0,"widgetName":"Image1","topRow":0.0,"bottomRow":12.0,"parentRowSpace":10.0,"type":"IMAGE_WIDGET","mobileRightColumn":37.0,"animateLoading":true,"parentColumnSpace":13.0625,"dynamicTriggerPathList":[],"imageShape":"RECTANGLE","leftColumn":25.0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"image"}],"defaultImage":"https://assets.appsmith.com/widgets/default.png","flexVerticalAlignment":"start","key":"lq388zxydc","image":"{{Api1.data}}","rightColumn":37.0,"objectFit":"cover","widgetId":"471dll4hnd","isVisible":true,"version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"maxZoomLevel":1.0,"enableDownload":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":25.0,"enableRotation":false},{"needsErrorInfo":false,"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","mobileBottomRow":54.0,"currentItemsView":"{{[]}}","triggeredItemView":"{{{}}}","widgetName":"List1","requiresFlatWidgetChildren":true,"listData":"[\n {\n \"id\": \"001\",\n \"name\": \"Blue\",\n \"img\": \"https://assets.appsmith.com/widgets/default.png\"\n }\n]","isCanvas":true,"templateHeight":160.0,"topRow":14.0,"bottomRow":54.0,"pageSize":3.0,"parentRowSpace":10.0,"type":"LIST_WIDGET_V2","itemSpacing":8.0,"mobileRightColumn":36.0,"mainContainerId":"pi6w1ubhgt","animateLoading":true,"primaryKeys":"{{List1.listData.map((currentItem, currentIndex) => currentItem[\"id\"] )}}","parentColumnSpace":13.0625,"dynamicTriggerPathList":[],"dynamicBindingPathList":[{"key":"currentItemsView"},{"key":"selectedItemView"},{"key":"triggeredItemView"},{"key":"primaryKeys"},{"key":"accentColor"},{"key":"borderRadius"},{"key":"boxShadow"}],"leftColumn":12.0,"gridType":"vertical","enhancements":true,"children":[{"needsErrorInfo":false,"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","mobileBottomRow":400.0,"widgetName":"Canvas1","topRow":0.0,"bottomRow":400.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":false,"dropDisabled":true,"openParentPropertyPane":true,"minHeight":400.0,"mobileRightColumn":313.5,"noPad":true,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"boxShadow"}],"children":[{"needsErrorInfo":false,"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","mobileBottomRow":12.0,"widgetName":"Container1","borderColor":"#E0DEDE","disallowCopy":true,"isCanvas":true,"topRow":0.0,"bottomRow":12.0,"dragDisabled":true,"type":"CONTAINER_WIDGET","shouldScrollContents":false,"isDeletable":false,"mobileRightColumn":64.0,"animateLoading":true,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"boxShadow"}],"children":[{"needsErrorInfo":false,"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Canvas2","topRow":0.0,"bottomRow":120.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":false,"useAutoLayout":false,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"boxShadow"}],"children":[{"needsErrorInfo":false,"boxShadow":"none","mobileBottomRow":8.0,"widgetName":"Image2","topRow":0.0,"bottomRow":8.0,"type":"IMAGE_WIDGET","mobileRightColumn":16.0,"animateLoading":true,"dynamicTriggerPathList":[],"imageShape":"RECTANGLE","dynamicBindingPathList":[{"key":"image"},{"key":"borderRadius"}],"leftColumn":0.0,"defaultImage":"https://assets.appsmith.com/widgets/default.png","flexVerticalAlignment":"start","key":"lq388zxydc","image":"{{currentItem.img}}","rightColumn":16.0,"objectFit":"cover","widgetId":"wzykiwm9ed","isVisible":true,"version":1.0,"parentId":"m26fb9ulyh","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"maxZoomLevel":1.0,"enableDownload":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":0.0,"enableRotation":false},{"needsErrorInfo":false,"boxShadow":"none","mobileBottomRow":4.0,"widgetName":"Text1","topRow":0.0,"bottomRow":4.0,"type":"TEXT_WIDGET","mobileRightColumn":28.0,"animateLoading":true,"overflow":"NONE","dynamicTriggerPathList":[],"fontFamily":"{{appsmith.theme.fontFamily.appFont}}","dynamicBindingPathList":[{"key":"text"},{"key":"truncateButtonColor"},{"key":"fontFamily"},{"key":"borderRadius"},{"key":"text"}],"leftColumn":16.0,"shouldTruncate":false,"truncateButtonColor":"{{appsmith.theme.colors.primaryColor}}","text":"{{currentItem.name}}","key":"i3zhkfk0fg","rightColumn":28.0,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"yetf883xrd","minWidth":450.0,"isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1.0,"parentId":"m26fb9ulyh","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":16.0,"maxDynamicHeight":9000.0,"fontSize":"1rem","textStyle":"HEADING","minDynamicHeight":4.0},{"needsErrorInfo":false,"boxShadow":"none","mobileBottomRow":7.0,"widgetName":"Input1","topRow":0.0,"bottomRow":7.0,"parentRowSpace":10.0,"labelWidth":5.0,"autoFocus":false,"type":"INPUT_WIDGET_V2","mobileRightColumn":50.0,"animateLoading":true,"parentColumnSpace":8.7470703125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":30.0,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelPosition":"Top","labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"eqcv4yaupf","labelTextSize":"0.875rem","isRequired":false,"rightColumn":64.0,"dynamicHeight":"FIXED","widgetId":"xtwlw8syfk","accentColor":"{{appsmith.theme.colors.primaryColor}}","showStepArrows":false,"minWidth":450.0,"isVisible":true,"label":"Label","version":2.0,"parentId":"m26fb9ulyh","labelAlignment":"left","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":30.0,"maxDynamicHeight":9000.0,"iconAlign":"left","defaultText":"","minDynamicHeight":4.0}],"key":"on2pxsbe1l","detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"m26fb9ulyh","containerStyle":"none","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"pi6w1ubhgt","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0,"flexLayers":[]}],"borderWidth":"1","positioning":"fixed","flexVerticalAlignment":"stretch","key":"bpyab5sr79","backgroundColor":"white","rightColumn":64.0,"dynamicHeight":"FIXED","widgetId":"pi6w1ubhgt","containerStyle":"card","minWidth":450.0,"isVisible":true,"version":1.0,"isListItemContainer":true,"parentId":"0ch5o045ug","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","noContainerOffset":true,"disabledWidgetFeatures":["dynamicHeight"],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":10.0}],"key":"on2pxsbe1l","rightColumn":313.5,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"0ch5o045ug","containerStyle":"none","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"q6p9tdm2il","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0,"flexLayers":[]}],"flexVerticalAlignment":"start","key":"qh3v2nmy9z","backgroundColor":"transparent","rightColumn":57.0,"itemBackgroundColor":"#FFFFFF","widgetId":"q6p9tdm2il","accentColor":"{{appsmith.theme.colors.primaryColor}}","minWidth":450.0,"isVisible":true,"parentId":"0","hasMetaWidgets":true,"renderMode":"CANVAS","isLoading":false,"mobileTopRow":14.0,"responsiveBehavior":"fill","mainCanvasId":"0ch5o045ug","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":12.0,"additionalStaticProps":["level","levelData","prefixMetaWidgetId","metaWidgetId"],"selectedItemView":"{{{}}}"},{"resetFormOnClick":false,"needsErrorInfo":false,"boxShadow":"none","mobileBottomRow":62.0,"widgetName":"Button1","onClick":"{{JSObject1.myFun1();}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","dynamicPropertyPathList":[],"topRow":58.0,"bottomRow":62.0,"parentRowSpace":10.0,"type":"BUTTON_WIDGET","mobileRightColumn":44.0,"animateLoading":true,"parentColumnSpace":13.0625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":28.0,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"text":"Submit","isDisabled":false,"key":"negmx3xdl3","rightColumn":44.0,"isDefaultClickDisabled":true,"widgetId":"3jmu654b63","minWidth":120.0,"isVisible":true,"recaptchaType":"V3","version":1.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":58.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":28.0,"buttonVariant":"PRIMARY","placement":"CENTER"},{"needsErrorInfo":false,"boxShadow":"none","mobileBottomRow":35.0,"widgetName":"Modal1","isCanvas":true,"topRow":11.0,"bottomRow":251.0,"parentRowSpace":10.0,"type":"MODAL_WIDGET","shouldScrollContents":true,"mobileRightColumn":47.0,"animateLoading":true,"parentColumnSpace":13.0625,"leftColumn":23.0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"needsErrorInfo":false,"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","mobileBottomRow":240.0,"widgetName":"Canvas3","topRow":0.0,"bottomRow":240.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"shouldScrollContents":false,"minHeight":240.0,"mobileRightColumn":313.5,"parentColumnSpace":1.0,"leftColumn":0.0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"boxShadow"}],"children":[{"needsErrorInfo":false,"boxShadow":"none","mobileBottomRow":4.0,"widgetName":"IconButton1","onClick":"{{closeModal(Modal1.name);}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","topRow":0.0,"bottomRow":4.0,"type":"ICON_BUTTON_WIDGET","mobileRightColumn":64.0,"animateLoading":true,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":58.0,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"iconSize":24.0,"isDisabled":false,"key":"u0zauctxb6","rightColumn":64.0,"iconName":"cross","widgetId":"bcvgad922z","minWidth":50.0,"isVisible":true,"version":1.0,"parentId":"v57uk8d79e","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"hug","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":58.0,"buttonVariant":"TERTIARY"},{"needsErrorInfo":false,"mobileBottomRow":5.0,"widgetName":"Text3","topRow":1.0,"bottomRow":5.0,"type":"TEXT_WIDGET","mobileRightColumn":41.0,"animateLoading":true,"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","leftColumn":1.0,"dynamicBindingPathList":[{"key":"truncateButtonColor"},{"key":"fontFamily"},{"key":"borderRadius"}],"shouldTruncate":false,"truncateButtonColor":"{{appsmith.theme.colors.primaryColor}}","text":"Modal Title","key":"i3zhkfk0fg","rightColumn":41.0,"textAlign":"LEFT","dynamicHeight":"AUTO_HEIGHT","widgetId":"fm3m0glkp9","minWidth":450.0,"isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1.0,"parentId":"v57uk8d79e","renderMode":"CANVAS","isLoading":false,"mobileTopRow":1.0,"responsiveBehavior":"fill","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":1.0,"maxDynamicHeight":9000.0,"fontSize":"1.25rem","minDynamicHeight":4.0},{"resetFormOnClick":false,"needsErrorInfo":false,"boxShadow":"none","mobileBottomRow":22.0,"widgetName":"Button2","onClick":"{{closeModal(Modal1.name);}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","topRow":18.0,"bottomRow":22.0,"type":"BUTTON_WIDGET","mobileRightColumn":47.0,"animateLoading":true,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":31.0,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"text":"Close","isDisabled":false,"key":"negmx3xdl3","rightColumn":47.0,"isDefaultClickDisabled":true,"widgetId":"4t0w7edckc","buttonStyle":"PRIMARY","minWidth":120.0,"isVisible":true,"recaptchaType":"V3","version":1.0,"parentId":"v57uk8d79e","renderMode":"CANVAS","isLoading":false,"mobileTopRow":18.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":31.0,"buttonVariant":"SECONDARY","placement":"CENTER"},{"resetFormOnClick":false,"needsErrorInfo":false,"boxShadow":"none","mobileBottomRow":22.0,"widgetName":"Button3","buttonColor":"{{appsmith.theme.colors.primaryColor}}","topRow":18.0,"bottomRow":22.0,"type":"BUTTON_WIDGET","mobileRightColumn":63.0,"animateLoading":true,"leftColumn":47.0,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"text":"Confirm","isDisabled":false,"key":"negmx3xdl3","rightColumn":63.0,"isDefaultClickDisabled":true,"widgetId":"6boclz1k1j","buttonStyle":"PRIMARY_BUTTON","minWidth":120.0,"isVisible":true,"recaptchaType":"V3","version":1.0,"parentId":"v57uk8d79e","renderMode":"CANVAS","isLoading":false,"mobileTopRow":18.0,"responsiveBehavior":"hug","disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":47.0,"buttonVariant":"PRIMARY","placement":"CENTER"}],"isDisabled":false,"key":"on2pxsbe1l","rightColumn":313.5,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"v57uk8d79e","minWidth":450.0,"isVisible":true,"version":1.0,"parentId":"sva4y7d01n","renderMode":"CANVAS","isLoading":false,"mobileTopRow":0.0,"responsiveBehavior":"fill","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":0.0,"maxDynamicHeight":9000.0,"minDynamicHeight":4.0,"flexLayers":[]}],"key":"5oj4iyqf4p","height":240.0,"rightColumn":47.0,"detachFromLayout":true,"dynamicHeight":"AUTO_HEIGHT","widgetId":"sva4y7d01n","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2.0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"mobileTopRow":11.0,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","mobileLeftColumn":23.0,"maxDynamicHeight":9000.0,"width":456.0,"minDynamicHeight":24.0}]},"layoutOnLoadActions":[],"layoutOnLoadActionErrors":[],"validOnPageLoadActions":true,"id":"Page1","deleted":false,"policies":[],"userPermissions":[]}],"userPermissions":[],"policyMap":{}},"publishedPage":{"name":"Page1","slug":"page1","layouts":[{"viewMode":false,"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1224.0,"snapColumns":16.0,"detachFromLayout":true,"widgetId":"0","topRow":0.0,"bottomRow":1250.0,"containerStyle":"none","snapRows":33.0,"parentRowSpace":1.0,"type":"CANVAS_WIDGET","canExtend":true,"version":4.0,"minHeight":1292.0,"dynamicTriggerPathList":[],"parentColumnSpace":1.0,"dynamicBindingPathList":[],"leftColumn":0.0,"children":[]},"validOnPageLoadActions":true,"id":"Page1","deleted":false,"policies":[],"userPermissions":[]}],"userPermissions":[],"policyMap":{}},"gitSyncId":"676259a5536a20188545cfb3_1920cf1a-a5b3-450d-bb47-b304ac11f065","deleted":false}],"actionList":[{"pluginType":"JS","pluginId":"js-plugin","unpublishedAction":{"name":"myFun1","fullyQualifiedName":"JSObject1.myFun1","datasource":{"name":"UNUSED_DATASOURCE","pluginId":"js-plugin","messages":[],"isAutoGenerated":false,"deleted":false,"policyMap":{},"policies":[],"userPermissions":[]},"pageId":"Page1","collectionId":"Page1_JSObject1","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","encodeParamsToggle":true,"body":"function () {\n resetWidget(\"List1\", true);\n closeModal(Modal1.name);\n Api1.run();\n}","selfReferencingDataPaths":[],"jsArguments":[]},"executeOnLoad":false,"clientSideExecution":true,"dynamicBindingPathList":[{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["function () {\n resetWidget(\"List1\", true);\n closeModal(Modal1.name);\n Api1.run();\n}"],"userSetOnLoad":false,"confirmBeforeExecute":false,"policyMap":{},"userPermissions":[],"createdAt":"2024-12-18T05:12:19Z"},"publishedAction":{"datasource":{"messages":[],"isAutoGenerated":false,"deleted":false,"policyMap":{},"policies":[],"userPermissions":[]},"messages":[],"userSetOnLoad":false,"confirmBeforeExecute":false,"policyMap":{},"userPermissions":[],"createdAt":"2024-12-18T05:12:19Z"},"gitSyncId":"676259a5536a20188545cfb3_3fdf8419-0d1d-4125-bc66-cc9d2b9eea85","id":"Page1_JSObject1.myFun1","deleted":false},{"pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Api1","datasource":{"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":"https://docs.appsmith.com"},"invalids":[],"messages":[],"isAutoGenerated":false,"deleted":false,"policyMap":{},"policies":[],"userPermissions":[]},"pageId":"Page1","actionConfiguration":{"timeoutInMillisecond":10000.0,"paginationType":"NONE","path":"/img/replyto-logo_6yaZHFIeU.jpeg","headers":[],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[],"body":"","bodyFormData":[],"httpMethod":"GET","httpVersion":"HTTP11","selfReferencingDataPaths":[],"pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":false,"dynamicBindingPathList":[],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":[],"userSetOnLoad":true,"confirmBeforeExecute":false,"policyMap":{},"userPermissions":[],"createdAt":"2024-12-18T05:12:38Z"},"publishedAction":{"datasource":{"messages":[],"isAutoGenerated":false,"deleted":false,"policyMap":{},"policies":[],"userPermissions":[]},"messages":[],"userSetOnLoad":false,"confirmBeforeExecute":false,"policyMap":{},"userPermissions":[],"createdAt":"2024-12-18T05:12:38Z"},"gitSyncId":"676259a5536a20188545cfb3_3ef30bd9-ef2c-4a18-a874-96cde5f40cc5","id":"Page1_Api1","deleted":false}],"actionCollectionList":[{"unpublishedCollection":{"name":"JSObject1","pageId":"Page1","pluginId":"js-plugin","pluginType":"JS","actions":[],"archivedActions":[],"body":"export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tmyFun1 () {\n\t\tresetWidget(\"List1\", true);\n\t\tcloseModal(Modal1.name);\n\t\tApi1.run()\n\t},\n}","variables":[{"name":"myVar1","value":"[]"},{"name":"myVar2","value":"{}"}],"userPermissions":[]},"gitSyncId":"676259a5536a20188545cfb3_200b3630-e762-4bc5-bac5-0b371a18d4b4","id":"Page1_JSObject1","deleted":false}],"editModeTheme":{"name":"Default-New","displayName":"Modern","isSystemTheme":true,"deleted":false},"publishedTheme":{"name":"Default-New","displayName":"Modern","isSystemTheme":true,"deleted":false}} \ No newline at end of file