PromucFlow_constructor/app/client/cypress/fixtures/tableV2ResizedColumnsDsl.json
Shrikant Sharat Kandula cd22fc1087
test: Some cleanup for Git Cypress tests (#32836)
1. Change usage of ports bound to 3000, 5000 and 8000 to 4200, which
will be the canonical port for TED in the future.
2. Switch to using TED's native git repo management APIs, instead of the
Gitea compatibility layer.
3. Remove code from GitHub ages.


/ok-to-test tags="@tag.Sanity, @tag.Git"<!-- This is an auto-generated
comment: Cypress test results -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/8785291879>
> Commit: b38f4eb388716f7fcfc2a032d788c2ebb951568b
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=8785291879&attempt=2"
target="_blank">Click here!</a>

<!-- end of auto-generated comment: Cypress test results  -->





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

## Summary by CodeRabbit

- **Refactor**
- Enhanced Git integration by shifting from GitHub to Gitea for
repository operations in test environments.
- Updated URLs and endpoints across various test scripts and data
fixtures to align with new configurations.
- **Tests**
- Modified test scenarios to reflect changes in Git operations and URL
configurations.
- **Chores**
- Updated CI workflows by replacing old secrets with new ones for better
configuration management.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-04-23 10:01:14 +05:30

549 lines
22 KiB
JSON

{
"dsl": {
"widgetName": "MainContainer",
"backgroundColor": "none",
"rightColumn": 1280,
"snapColumns": 64,
"detachFromLayout": true,
"widgetId": "0",
"topRow": 0,
"bottomRow": 1310,
"containerStyle": "none",
"snapRows": 125,
"parentRowSpace": 1,
"type": "CANVAS_WIDGET",
"canExtend": true,
"version": 23,
"minHeight": 1320,
"parentColumnSpace": 1,
"dynamicTriggerPathList": [],
"dynamicBindingPathList": [],
"leftColumn": 0,
"children": [
{
"backgroundColor": "#ffffff",
"widgetName": "Container1",
"rightColumn": 64,
"widgetId": "sc2tsag5jw",
"containerStyle": "card",
"topRow": 0,
"bottomRow": 6,
"parentRowSpace": 10,
"isVisible": true,
"type": "CONTAINER_WIDGET",
"version": 1,
"parentId": "0",
"isLoading": false,
"parentColumnSpace": 16.432031249999998,
"dynamicTriggerPathList": [],
"leftColumn": 0,
"dynamicBindingPathList": [],
"children": [
{
"widgetName": "Canvas1",
"rightColumn": 525.8249999999999,
"detachFromLayout": true,
"widgetId": "v615d41hf1",
"containerStyle": "none",
"topRow": 0,
"bottomRow": 400,
"parentRowSpace": 1,
"isVisible": true,
"canExtend": false,
"type": "CANVAS_WIDGET",
"version": 1,
"parentId": "sc2tsag5jw",
"minHeight": 400,
"isLoading": false,
"parentColumnSpace": 1,
"leftColumn": 0,
"children": []
}
]
},
{
"image": "http://host.docker.internal:4200/photo-1503469432756-4aae2e18d881.jpeg",
"widgetName": "Image1",
"rightColumn": 64,
"widgetId": "ah4cbb9o2e",
"topRow": 6,
"bottomRow": 39,
"parentRowSpace": 10,
"isVisible": true,
"type": "IMAGE_WIDGET",
"version": 1,
"parentId": "0",
"isLoading": false,
"maxZoomLevel": 1,
"parentColumnSpace": 16.432031249999998,
"dynamicTriggerPathList": [],
"imageShape": "RECTANGLE",
"leftColumn": 0,
"dynamicBindingPathList": [],
"defaultImage": "https://res.cloudinary.com/drako999/image/upload/v1589196259/default.png"
},
{
"backgroundColor": "#FFFFFF",
"widgetName": "Container2",
"rightColumn": 64,
"widgetId": "0oh55q30ji",
"containerStyle": "card",
"topRow": 39,
"bottomRow": 85,
"parentRowSpace": 10,
"isVisible": true,
"type": "CONTAINER_WIDGET",
"version": 1,
"parentId": "0",
"isLoading": false,
"shouldScrollContents": false,
"parentColumnSpace": 16.432031249999998,
"dynamicTriggerPathList": [],
"leftColumn": 0,
"dynamicBindingPathList": [],
"children": [
{
"widgetName": "Canvas2",
"rightColumn": 525.8249999999999,
"detachFromLayout": true,
"widgetId": "9kax26wjp6",
"containerStyle": "none",
"topRow": 0,
"bottomRow": 460,
"parentRowSpace": 1,
"isVisible": true,
"canExtend": false,
"type": "CANVAS_WIDGET",
"version": 1,
"parentId": "0oh55q30ji",
"minHeight": 400,
"isLoading": false,
"parentColumnSpace": 1,
"dynamicTriggerPathList": [],
"leftColumn": 0,
"dynamicBindingPathList": [],
"children": [
{
"widgetName": "Table2",
"columnOrder": [
"data",
"customColumn3",
"customColumn4",
"customColumn5",
"customColumn6",
"page_id",
"customColumn2",
"customColumn7",
"customColumn8"
],
"aliasMap": {
"data": "data",
"customColumn3": "customColumn3",
"customColumn4": "customColumn4",
"customColumn5": "customColumn5",
"customColumn6": "customColumn6",
"page_id": "page_id",
"customColumn2": "customColumn2",
"customColumn7": "customColumn7",
"customColumn8": "customColumn8"
},
"dynamicPropertyPathList": [{"key": "tableData"}],
"topRow": 4,
"bottomRow": 44,
"parentRowSpace": 10,
"type": "TABLE_WIDGET_V2",
"parentColumnSpace": 16.182031249999998,
"dynamicTriggerPathList": [
{
"key": "primaryColumns.customColumn2.onClick"
}
],
"dynamicBindingPathList": [
{
"key": "tableData"
},
{
"key": "primaryColumns.data.computedValue"
},
{
"key": "primaryColumns.page_id.computedValue"
},
{
"key": "primaryColumns.customColumn3.computedValue"
},
{
"key": "primaryColumns.customColumn4.computedValue"
},
{
"key": "primaryColumns.customColumn5.computedValue"
},
{
"key": "primaryColumns.customColumn6.computedValue"
},
{
"key": "primaryColumns.customColumn7.computedValue"
},
{
"key": "primaryColumns.customColumn8.computedValue"
},
{
"key": "primaryColumns.customColumn2.buttonLabel"
}
],
"leftColumn": 0,
"primaryColumns": {
"customColumn7": {
"isDerived": true,
"computedValue": "{{Table2.processedTableData.map((currentRow, currentIndex) => { return currentRow.data.author?.email})}}",
"textSize": "PARAGRAPH2",
"buttonStyle": "rgb(3, 179, 101)",
"index": 8,
"isVisible": true,
"label": "Author",
"columnType": "text",
"horizontalAlignment": "LEFT",
"width": 150,
"enableFilter": true,
"enableSort": true,
"id": "customColumn7",
"alias": "customColumn7",
"originalId": "customColumn7",
"buttonLabelColor": "#FFFFFF",
"verticalAlignment": "CENTER"
},
"page_id": {
"isDerived": false,
"computedValue": "{{Table2.processedTableData.map((currentRow, currentIndex) => { return currentRow.page_id})}}",
"textSize": "PARAGRAPH2",
"index": 1,
"isVisible": false,
"label": "page_id",
"columnType": "text",
"horizontalAlignment": "LEFT",
"width": 150,
"enableFilter": true,
"enableSort": true,
"id": "page_id",
"alias": "page_id",
"originalId": "page_id",
"verticalAlignment": "CENTER"
},
"customColumn8": {
"isDerived": true,
"computedValue": "{{Table2.processedTableData.map((currentRow, currentIndex) => { return currentRow.data.updated_at?.date.start})}}",
"textSize": "PARAGRAPH2",
"buttonStyle": "rgb(3, 179, 101)",
"index": 9,
"isVisible": true,
"label": "Last Updated",
"inputFormat": "YYYY-MM-DD",
"columnType": "date",
"horizontalAlignment": "LEFT",
"width": 150,
"enableFilter": true,
"enableSort": true,
"id": "customColumn8",
"alias": "customColumn8",
"originalId": "customColumn8",
"buttonLabelColor": "#FFFFFF",
"outputFormat": "LL",
"verticalAlignment": "CENTER"
},
"data": {
"isDerived": false,
"computedValue": "{{Table2.processedTableData.map((currentRow, currentIndex) => { return '#' + currentRow.data.id?.number})}}",
"textSize": "PARAGRAPH2",
"index": 0,
"isVisible": true,
"label": "ID",
"fontStyle": "BOLD",
"columnType": "text",
"horizontalAlignment": "RIGHT",
"width": 150,
"enableFilter": true,
"enableSort": true,
"id": "data",
"alias": "data",
"originalId": "data",
"verticalAlignment": "CENTER"
},
"customColumn2": {
"isDerived": true,
"computedValue": "",
"onClick": "{{showModal('Modal2')}}",
"textSize": "PARAGRAPH2",
"buttonStyle": "#38AFF4",
"index": 9,
"isVisible": true,
"label": "Re-Estimate",
"buttonLabel": "{{Table2.processedTableData.map((currentRow, currentIndex) => { return 'Update'})}}",
"columnType": "button",
"horizontalAlignment": "LEFT",
"width": 150,
"enableFilter": true,
"enableSort": true,
"id": "customColumn2",
"alias": "customColumn2",
"originalId": "customColumn2",
"buttonLabelColor": "#F6F7F8",
"verticalAlignment": "CENTER"
},
"customColumn3": {
"isDerived": true,
"computedValue": "{{Table2.processedTableData.map((currentRow, currentIndex) => { return currentRow.data.estimate?.number})}}",
"textSize": "PARAGRAPH2",
"buttonStyle": "rgb(3, 179, 101)",
"index": 4,
"isVisible": true,
"label": "Estimate(SP)",
"columnType": "number",
"horizontalAlignment": "RIGHT",
"width": 150,
"enableFilter": true,
"enableSort": true,
"id": "customColumn3",
"alias": "customColumn3",
"originalId": "customColumn3",
"buttonLabelColor": "#FFFFFF",
"verticalAlignment": "CENTER"
},
"customColumn4": {
"isDerived": true,
"computedValue": "{{Table2.processedTableData.map((currentRow, currentIndex) => { return currentRow.data.issue_type?.select.name})}}",
"textSize": "PARAGRAPH2",
"buttonStyle": "rgb(3, 179, 101)",
"index": 5,
"isVisible": true,
"label": "Issue Type",
"columnType": "text",
"horizontalAlignment": "LEFT",
"width": 150,
"enableFilter": true,
"enableSort": true,
"id": "customColumn4",
"alias": "customColumn4",
"originalId": "customColumn4",
"buttonLabelColor": "#FFFFFF",
"verticalAlignment": "CENTER"
},
"customColumn5": {
"isDerived": true,
"computedValue": "{{Table2.processedTableData.map((currentRow, currentIndex) => { return currentRow.data.issue_url?.url})}}",
"textSize": "PARAGRAPH2",
"buttonStyle": "rgb(3, 179, 101)",
"index": 6,
"isVisible": true,
"label": "Issue URL",
"columnType": "url",
"horizontalAlignment": "LEFT",
"width": 150,
"enableFilter": true,
"enableSort": true,
"id": "customColumn5",
"alias": "customColumn5",
"originalId": "customColumn5",
"buttonLabelColor": "#FFFFFF",
"verticalAlignment": "CENTER"
},
"customColumn6": {
"isDerived": true,
"computedValue": "{{Table2.processedTableData.map((currentRow, currentIndex) => { return currentRow.data.created_at?.date.start})}}",
"textSize": "PARAGRAPH2",
"buttonStyle": "rgb(3, 179, 101)",
"index": 7,
"isVisible": true,
"label": "Created At",
"inputFormat": "YYYY-MM-DD",
"columnType": "date",
"horizontalAlignment": "LEFT",
"width": 150,
"enableFilter": true,
"enableSort": true,
"id": "customColumn6",
"alias": "customColumn6",
"originalId": "customColumn6",
"buttonLabelColor": "#FFFFFF",
"outputFormat": "LL",
"verticalAlignment": "CENTER"
}
},
"derivedColumns": {
"customColumn7": {
"isDerived": true,
"computedValue": "{{Table2.processedTableData.map((currentRow, currentIndex) => { return currentRow.data.author?.email})}}",
"textSize": "PARAGRAPH2",
"buttonStyle": "rgb(3, 179, 101)",
"index": 8,
"isVisible": true,
"label": "Author",
"columnType": "text",
"horizontalAlignment": "LEFT",
"width": 150,
"enableFilter": true,
"enableSort": true,
"id": "customColumn7",
"alias": "customColumn7",
"originalId": "customColumn7",
"buttonLabelColor": "#FFFFFF",
"verticalAlignment": "CENTER"
},
"customColumn8": {
"isDerived": true,
"computedValue": "{{Table2.processedTableData.map((currentRow, currentIndex) => { return currentRow.data.updated_at?.date.start})}}",
"textSize": "PARAGRAPH2",
"buttonStyle": "rgb(3, 179, 101)",
"index": 9,
"isVisible": true,
"label": "Last Updated",
"inputFormat": "YYYY-MM-DD",
"columnType": "date",
"horizontalAlignment": "LEFT",
"width": 150,
"enableFilter": true,
"enableSort": true,
"id": "customColumn8",
"alias": "customColumn8",
"originalId": "customColumn8",
"buttonLabelColor": "#FFFFFF",
"outputFormat": "LL",
"verticalAlignment": "CENTER"
},
"customColumn2": {
"isDerived": true,
"computedValue": "",
"onClick": "{{showModal('Modal2')}}",
"textSize": "PARAGRAPH2",
"buttonStyle": "#38AFF4",
"index": 9,
"isVisible": true,
"label": "Re-Estimate",
"buttonLabel": "{{Table1.processedTableData.map((currentRow, currentIndex) => { return 'Update'})}}",
"columnType": "button",
"horizontalAlignment": "LEFT",
"width": 150,
"enableFilter": true,
"enableSort": true,
"id": "customColumn2",
"alias": "customColumn2",
"originalId": "customColumn2",
"buttonLabelColor": "#F6F7F8",
"verticalAlignment": "CENTER"
},
"customColumn3": {
"isDerived": true,
"computedValue": "{{Table2.processedTableData.map((currentRow, currentIndex) => { return currentRow.data.estimate?.number})}}",
"textSize": "PARAGRAPH2",
"buttonStyle": "rgb(3, 179, 101)",
"index": 4,
"isVisible": true,
"label": "Estimate(SP)",
"columnType": "number",
"horizontalAlignment": "RIGHT",
"width": 150,
"enableFilter": true,
"enableSort": true,
"id": "customColumn3",
"alias": "customColumn3",
"originalId": "customColumn3",
"buttonLabelColor": "#FFFFFF",
"verticalAlignment": "CENTER"
},
"customColumn4": {
"isDerived": true,
"computedValue": "{{Table2.processedTableData.map((currentRow, currentIndex) => { return currentRow.data.issue_type?.select.name})}}",
"textSize": "PARAGRAPH2",
"buttonStyle": "rgb(3, 179, 101)",
"index": 5,
"isVisible": true,
"label": "Issue Type",
"columnType": "text",
"horizontalAlignment": "LEFT",
"width": 150,
"enableFilter": true,
"enableSort": true,
"id": "customColumn4",
"alias": "customColumn4",
"originalId": "customColumn4",
"buttonLabelColor": "#FFFFFF",
"verticalAlignment": "CENTER"
},
"customColumn5": {
"isDerived": true,
"computedValue": "{{Table2.processedTableData.map((currentRow, currentIndex) => { return currentRow.data.issue_url?.url})}}",
"textSize": "PARAGRAPH2",
"buttonStyle": "rgb(3, 179, 101)",
"index": 6,
"isVisible": true,
"label": "Issue URL",
"columnType": "url",
"horizontalAlignment": "LEFT",
"width": 150,
"enableFilter": true,
"enableSort": true,
"id": "customColumn5",
"alias": "customColumn5",
"originalId": "customColumn5",
"buttonLabelColor": "#FFFFFF",
"verticalAlignment": "CENTER"
},
"customColumn6": {
"isDerived": true,
"computedValue": "{{Table2.processedTableData.map((currentRow, currentIndex) => { return currentRow.data.created_at?.date.start})}}",
"textSize": "PARAGRAPH2",
"buttonStyle": "rgb(3, 179, 101)",
"index": 7,
"isVisible": true,
"label": "Created At",
"inputFormat": "YYYY-MM-DD",
"columnType": "date",
"horizontalAlignment": "LEFT",
"width": 150,
"enableFilter": true,
"enableSort": true,
"id": "customColumn6",
"alias": "customColumn6",
"originalId": "customColumn6",
"buttonLabelColor": "#FFFFFF",
"outputFormat": "LL",
"verticalAlignment": "CENTER"
}
},
"rightColumn": 64,
"textSize": "PARAGRAPH2",
"widgetId": "efhhtr442b",
"tableData": "{{[]}}",
"isVisible": true,
"label": "Data",
"searchKey": "",
"version": 1,
"parentId": "9kax26wjp6",
"isLoading": false,
"horizontalAlignment": "LEFT",
"verticalAlignment": "CENTER",
"columnSizeMap": {
"parent": 136,
"issue_url": 174,
"data": 72,
"author": 174,
"issue_type": 109,
"created_at": 117,
"customColumn1": 122,
"customColumn2": 110,
"customColumn3": 110,
"customColumn4": 112,
"customColumn5": 320,
"task": 245,
"estimate": 109,
"step": 62,
"id": 60,
"status": 75
}
}
]
}
]
}
]
}
}