PromucFlow_constructor/app/client/cypress/fixtures/promisesBtnListDsl.json
Sagar Khalasi 73169d13b0
chore: Replacing ted api call for resources (#36472)
## Description
Remove third party url. 

Fixes `https://github.com/appsmithorg/appsmith/issues/36535`

## Automation

/ok-to-test tags="@tag.All"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/11031926377>
> Commit: bf5f2950598b16f4eadda81c1076d0c504e90be1
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=11031926377&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Wed, 25 Sep 2024 12:37:04 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Summary by CodeRabbit

- **New Features**
- Updated various image and URL references in test configurations to
point to local resources instead of external links, improving
consistency and performance during testing.

- **Bug Fixes**
- Corrected image source URLs in multiple test files to ensure proper
loading of images in the application.

- **Chores**
- Replaced outdated URLs with local Docker host URLs across numerous
test files and configurations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-09-25 19:41:00 +05:30

488 lines
19 KiB
JSON

{
"dsl": {
"widgetName": "MainContainer",
"backgroundColor": "none",
"rightColumn": 528,
"snapColumns": 64,
"detachFromLayout": true,
"widgetId": "0",
"topRow": 0,
"bottomRow": 770,
"containerStyle": "none",
"snapRows": 80,
"parentRowSpace": 1,
"type": "CANVAS_WIDGET",
"canExtend": true,
"version": 49,
"minHeight": 240,
"parentColumnSpace": 1,
"dynamicTriggerPathList": [],
"dynamicBindingPathList": [],
"leftColumn": 0,
"children": [
{
"widgetName": "Button1",
"onClick": "",
"buttonColor": "#03B365",
"dynamicPropertyPathList": [],
"displayName": "Button",
"iconSVG": "/static/media/icon.cca02633.svg",
"topRow": 6,
"bottomRow": 10,
"parentRowSpace": 10,
"type": "BUTTON_WIDGET",
"hideCard": false,
"animateLoading": true,
"parentColumnSpace": 8.0625,
"dynamicTriggerPathList": [
{
"key": "onClick"
}
],
"leftColumn": 29,
"dynamicBindingPathList": [],
"text": "Submit",
"isDisabled": false,
"key": "24mm844wc6",
"rightColumn": 45,
"isDefaultClickDisabled": true,
"widgetId": "ibkh7yx66l",
"isVisible": true,
"recaptchaType": "V3",
"version": 1,
"parentId": "0",
"renderMode": "CANVAS",
"isLoading": false,
"buttonVariant": "PRIMARY",
"placement": "CENTER"
},
{
"template": {
"Image2": {
"isVisible": true,
"defaultImage": "http://host.docker.internal:4200/clouddefaultImage.png",
"imageShape": "RECTANGLE",
"maxZoomLevel": 1,
"enableRotation": false,
"enableDownload": false,
"objectFit": "contain",
"image": "{{List1.listData.map((currentItem) => currentItem.img)}}",
"widgetName": "Image2",
"version": 1,
"animateLoading": true,
"type": "IMAGE_WIDGET",
"hideCard": false,
"displayName": "Image",
"key": "egbqwm9hx0",
"iconSVG": "/static/media/icon.52d8fb96.svg",
"dynamicBindingPathList": [
{
"key": "image"
}
],
"dynamicTriggerPathList": [],
"widgetId": "g7uap8160l",
"renderMode": "CANVAS",
"isLoading": false,
"leftColumn": 0,
"rightColumn": 16,
"topRow": 0,
"bottomRow": 8.4,
"parentId": "flhdxlstrq"
},
"Text1": {
"isVisible": true,
"text": "{{List1.listData.map((currentItem) => currentItem.name)}}",
"fontSize": "PARAGRAPH",
"fontStyle": "BOLD",
"textAlign": "LEFT",
"textColor": "#231F20",
"truncateButtonColor": "#FFC13D",
"widgetName": "Text1",
"shouldScroll": false,
"shouldTruncate": false,
"version": 1,
"animateLoading": true,
"type": "TEXT_WIDGET",
"hideCard": false,
"displayName": "Text",
"key": "4cjjk6m65f",
"iconSVG": "/static/media/icon.97c59b52.svg",
"textStyle": "HEADING",
"dynamicBindingPathList": [
{
"key": "text"
}
],
"dynamicTriggerPathList": [],
"widgetId": "ahtuluaip9",
"renderMode": "CANVAS",
"isLoading": false,
"leftColumn": 16,
"rightColumn": 28,
"topRow": 0,
"bottomRow": 4,
"parentId": "flhdxlstrq"
},
"Text2": {
"isVisible": true,
"text": "{{List1.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.synopsis;\n })();\n })}}",
"fontSize": "PARAGRAPH",
"fontStyle": "BOLD",
"textAlign": "LEFT",
"textColor": "#231F20",
"truncateButtonColor": "#FFC13D",
"widgetName": "Text2",
"shouldScroll": false,
"shouldTruncate": false,
"version": 1,
"animateLoading": true,
"type": "TEXT_WIDGET",
"hideCard": false,
"displayName": "Text",
"key": "4cjjk6m65f",
"iconSVG": "/static/media/icon.97c59b52.svg",
"textStyle": "BODY",
"dynamicBindingPathList": [
{
"key": "text"
}
],
"dynamicTriggerPathList": [],
"widgetId": "th1ori4kgk",
"renderMode": "CANVAS",
"isLoading": false,
"leftColumn": 16,
"rightColumn": 24,
"topRow": 4,
"bottomRow": 8,
"parentId": "flhdxlstrq"
}
},
"widgetName": "List1",
"listData": "",
"isCanvas": true,
"displayName": "List",
"iconSVG": "/static/media/icon.9925ee17.svg",
"topRow": 12,
"bottomRow": 75,
"parentRowSpace": 10,
"type": "LIST_WIDGET",
"hideCard": false,
"gridGap": 0,
"animateLoading": true,
"parentColumnSpace": 16.796875,
"dynamicTriggerPathList": [],
"leftColumn": 29,
"dynamicBindingPathList": [
{
"key": "template.Image2.image"
},
{
"key": "template.Text1.text"
},
{
"key": "template.Text2.text"
}
],
"gridType": "vertical",
"enhancements": true,
"children": [
{
"widgetName": "Canvas1",
"displayName": "Canvas",
"topRow": 0,
"bottomRow": 390,
"parentRowSpace": 1,
"type": "CANVAS_WIDGET",
"canExtend": false,
"hideCard": true,
"dropDisabled": true,
"openParentPropertyPane": true,
"minHeight": 400,
"noPad": true,
"parentColumnSpace": 1,
"leftColumn": 0,
"children": [
{
"boxShadow": "NONE",
"widgetName": "Container1",
"borderColor": "transparent",
"disallowCopy": true,
"isCanvas": true,
"displayName": "Container",
"iconSVG": "/static/media/icon.1977dca3.svg",
"topRow": 0,
"bottomRow": 21,
"dragDisabled": true,
"type": "CONTAINER_WIDGET",
"hideCard": false,
"openParentPropertyPane": true,
"isDeletable": false,
"animateLoading": true,
"leftColumn": 0,
"children": [
{
"widgetName": "Canvas2",
"detachFromLayout": true,
"displayName": "Canvas",
"widgetId": "flhdxlstrq",
"containerStyle": "none",
"topRow": 0,
"bottomRow": 200,
"parentRowSpace": 1,
"isVisible": true,
"type": "CANVAS_WIDGET",
"canExtend": false,
"version": 1,
"hideCard": true,
"parentId": "0cgvn02dl4",
"renderMode": "CANVAS",
"isLoading": false,
"parentColumnSpace": 1,
"leftColumn": 0,
"children": [
{
"widgetName": "Image2",
"displayName": "Image",
"iconSVG": "/static/media/icon.52d8fb96.svg",
"topRow": 0,
"bottomRow": 8,
"type": "IMAGE_WIDGET",
"hideCard": false,
"animateLoading": true,
"dynamicTriggerPathList": [],
"imageShape": "RECTANGLE",
"dynamicBindingPathList": [
{
"key": "image"
}
],
"leftColumn": 0,
"defaultImage": "http://host.docker.internal:4200/clouddefaultImage.png",
"key": "egbqwm9hx0",
"image": "{{currentItem.img}}",
"rightColumn": 16,
"objectFit": "contain",
"widgetId": "g7uap8160l",
"logBlackList": {
"isVisible": true,
"defaultImage": true,
"imageShape": true,
"maxZoomLevel": true,
"enableRotation": true,
"enableDownload": true,
"objectFit": true,
"image": true,
"widgetName": true,
"version": true,
"animateLoading": true,
"type": true,
"hideCard": true,
"displayName": true,
"key": true,
"iconSVG": true,
"isCanvas": true,
"dynamicBindingPathList": true,
"dynamicTriggerPathList": true,
"minHeight": true,
"widgetId": true,
"renderMode": true,
"isLoading": true,
"parentColumnSpace": true,
"parentRowSpace": true,
"leftColumn": true,
"rightColumn": true,
"topRow": true,
"bottomRow": true,
"parentId": true
},
"isVisible": true,
"version": 1,
"parentId": "flhdxlstrq",
"renderMode": "CANVAS",
"isLoading": false,
"maxZoomLevel": 1,
"enableDownload": false,
"enableRotation": false
},
{
"widgetName": "Text1",
"displayName": "Text",
"iconSVG": "/static/media/icon.97c59b52.svg",
"topRow": 0,
"bottomRow": 4,
"type": "TEXT_WIDGET",
"hideCard": false,
"animateLoading": true,
"dynamicTriggerPathList": [],
"dynamicBindingPathList": [
{
"key": "text"
}
],
"leftColumn": 16,
"shouldTruncate": false,
"truncateButtonColor": "#FFC13D",
"text": "{{currentItem.name}}",
"key": "4cjjk6m65f",
"rightColumn": 59,
"textAlign": "LEFT",
"widgetId": "ahtuluaip9",
"logBlackList": {
"isVisible": true,
"text": true,
"fontSize": true,
"fontStyle": true,
"textAlign": true,
"textColor": true,
"truncateButtonColor": true,
"widgetName": true,
"shouldScroll": true,
"shouldTruncate": true,
"version": true,
"animateLoading": true,
"type": true,
"hideCard": true,
"displayName": true,
"key": true,
"iconSVG": true,
"isCanvas": true,
"textStyle": true,
"dynamicBindingPathList": true,
"dynamicTriggerPathList": true,
"minHeight": true,
"widgetId": true,
"renderMode": true,
"isLoading": true,
"parentColumnSpace": true,
"parentRowSpace": true,
"leftColumn": true,
"rightColumn": true,
"topRow": true,
"bottomRow": true,
"parentId": true
},
"isVisible": true,
"fontStyle": "BOLD",
"textColor": "#231F20",
"shouldScroll": false,
"version": 1,
"parentId": "flhdxlstrq",
"renderMode": "CANVAS",
"isLoading": false,
"fontSize": "PARAGRAPH",
"textStyle": "HEADING"
},
{
"widgetName": "Text2",
"displayName": "Text",
"iconSVG": "/static/media/icon.97c59b52.svg",
"topRow": 4,
"bottomRow": 18,
"type": "TEXT_WIDGET",
"hideCard": false,
"animateLoading": true,
"dynamicTriggerPathList": [],
"dynamicBindingPathList": [
{
"key": "text"
}
],
"leftColumn": 16,
"shouldTruncate": false,
"truncateButtonColor": "#FFC13D",
"text": "{{currentItem.synopsis}}",
"key": "4cjjk6m65f",
"rightColumn": 64,
"textAlign": "LEFT",
"widgetId": "th1ori4kgk",
"logBlackList": {
"isVisible": true,
"text": true,
"fontSize": true,
"fontStyle": true,
"textAlign": true,
"textColor": true,
"truncateButtonColor": true,
"widgetName": true,
"shouldScroll": true,
"shouldTruncate": true,
"version": true,
"animateLoading": true,
"type": true,
"hideCard": true,
"displayName": true,
"key": true,
"iconSVG": true,
"isCanvas": true,
"textStyle": true,
"dynamicBindingPathList": true,
"dynamicTriggerPathList": true,
"minHeight": true,
"widgetId": true,
"renderMode": true,
"isLoading": true,
"parentColumnSpace": true,
"parentRowSpace": true,
"leftColumn": true,
"rightColumn": true,
"topRow": true,
"bottomRow": true,
"parentId": true
},
"isVisible": true,
"fontStyle": "BOLD",
"textColor": "#231F20",
"shouldScroll": false,
"version": 1,
"parentId": "flhdxlstrq",
"renderMode": "CANVAS",
"isLoading": false,
"fontSize": "PARAGRAPH",
"textStyle": "BODY"
}
],
"key": "4mfz64ift9"
}
],
"borderWidth": "0",
"key": "hvkjxr137n",
"disablePropertyPane": true,
"backgroundColor": "white",
"rightColumn": 64,
"widgetId": "0cgvn02dl4",
"containerStyle": "card",
"isVisible": true,
"version": 1,
"parentId": "x0xz2cj6gu",
"renderMode": "CANVAS",
"isLoading": false,
"borderRadius": "0"
}
],
"key": "4mfz64ift9",
"rightColumn": 403.125,
"detachFromLayout": true,
"widgetId": "x0xz2cj6gu",
"containerStyle": "none",
"isVisible": true,
"version": 1,
"parentId": "n699cb1agh",
"renderMode": "CANVAS",
"isLoading": false
}
],
"key": "c7lfsjujp8",
"backgroundColor": "transparent",
"rightColumn": 57,
"itemBackgroundColor": "#FFFFFF",
"widgetId": "n699cb1agh",
"isVisible": true,
"parentId": "0",
"renderMode": "CANVAS",
"isLoading": false
}
]
}
}