## Description - This PR fixes the flaky spec - ImportExportForkApplication_spec in CI runs #### Type of change - Script fix ## Testing #### How Has This Been Tested? - [X] Cypress ## Checklist: #### QA activity: - [X] Added `Test Plan Approved` label after Cypress tests were reviewed
688 lines
22 KiB
JSON
688 lines
22 KiB
JSON
{
|
|
"clientSchemaVersion": 1,
|
|
"serverSchemaVersion": 1,
|
|
"exportedApplication": {
|
|
"name": "app",
|
|
"isPublic": false,
|
|
"appIsExample": false,
|
|
"unreadCommentThreads": 0,
|
|
"color": "#F4FFDE",
|
|
"icon": "single-person",
|
|
"slug": "app",
|
|
"evaluationVersion": 2,
|
|
"applicationVersion": 2,
|
|
"new": true
|
|
},
|
|
"datasourceList": [
|
|
{
|
|
"userPermissions": [
|
|
"execute:datasources",
|
|
"manage:datasources",
|
|
"read:datasources"
|
|
],
|
|
"gitSyncId": "61c2d94747cda83965fe72b5_61c5822385c0bd4ccf7d171c",
|
|
"name": "mockdata",
|
|
"pluginId": "postgres-plugin",
|
|
"datasourceConfiguration": {
|
|
"connection": {
|
|
"mode": "READ_WRITE",
|
|
"ssl": {
|
|
"authType": "DEFAULT"
|
|
}
|
|
},
|
|
"endpoints": [
|
|
{
|
|
"host": "localhost",
|
|
"port": 5432
|
|
}
|
|
],
|
|
"sshProxyEnabled": false
|
|
},
|
|
"invalids": [],
|
|
"messages": [],
|
|
"isValid": true,
|
|
"new": true
|
|
}
|
|
],
|
|
"pageList": [
|
|
{
|
|
"userPermissions": [
|
|
"read:pages",
|
|
"manage:pages"
|
|
],
|
|
"gitSyncId": "61c580d685c0bd4ccf7d1716_61c580d685c0bd4ccf7d1718",
|
|
"unpublishedPage": {
|
|
"name": "Page1",
|
|
"slug": "page1",
|
|
"layouts": [
|
|
{
|
|
"id": "Page1",
|
|
"userPermissions": [],
|
|
"dsl": {
|
|
"widgetName": "MainContainer",
|
|
"backgroundColor": "none",
|
|
"rightColumn": 816,
|
|
"snapColumns": 64,
|
|
"detachFromLayout": true,
|
|
"widgetId": "0",
|
|
"topRow": 0,
|
|
"bottomRow": 590,
|
|
"containerStyle": "none",
|
|
"snapRows": 125,
|
|
"parentRowSpace": 1,
|
|
"type": "CANVAS_WIDGET",
|
|
"canExtend": true,
|
|
"version": 52,
|
|
"minHeight": 600,
|
|
"parentColumnSpace": 1,
|
|
"dynamicBindingPathList": [],
|
|
"leftColumn": 0,
|
|
"children": [
|
|
{
|
|
"widgetName": "Table1",
|
|
"defaultPageSize": 0,
|
|
"columnOrder": [
|
|
"schema_name"
|
|
],
|
|
"isVisibleDownload": true,
|
|
"dynamicPropertyPathList": [],
|
|
"displayName": "Table",
|
|
"iconSVG": "/static/media/icon.db8a9cbd.svg",
|
|
"topRow": 14,
|
|
"bottomRow": 38,
|
|
"isSortable": true,
|
|
"parentRowSpace": 10,
|
|
"type": "TABLE_WIDGET",
|
|
"defaultSelectedRow": "0",
|
|
"hideCard": false,
|
|
"animateLoading": true,
|
|
"parentColumnSpace": 12.5625,
|
|
"dynamicTriggerPathList": [],
|
|
"dynamicBindingPathList": [
|
|
{
|
|
"key": "tableData"
|
|
},
|
|
{
|
|
"key": "primaryColumns.schema_name.computedValue"
|
|
}
|
|
],
|
|
"leftColumn": 4,
|
|
"primaryColumns": {
|
|
"schema_name": {
|
|
"index": 0,
|
|
"width": 150,
|
|
"id": "schema_name",
|
|
"horizontalAlignment": "LEFT",
|
|
"verticalAlignment": "CENTER",
|
|
"columnType": "text",
|
|
"textSize": "PARAGRAPH",
|
|
"enableFilter": true,
|
|
"enableSort": true,
|
|
"isVisible": true,
|
|
"isDisabled": false,
|
|
"isCellVisible": true,
|
|
"isDerived": false,
|
|
"label": "schema_name",
|
|
"computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.schema_name))}}"
|
|
}
|
|
},
|
|
"delimiter": ",",
|
|
"key": "5ejs55im17",
|
|
"derivedColumns": {},
|
|
"rightColumn": 25,
|
|
"textSize": "PARAGRAPH",
|
|
"widgetId": "uyyp0qxfdq",
|
|
"isVisibleFilters": true,
|
|
"tableData": "{{get_schema.data}}",
|
|
"isVisible": true,
|
|
"label": "Data",
|
|
"searchKey": "",
|
|
"enableClientSideSearch": true,
|
|
"version": 3,
|
|
"totalRecordsCount": 0,
|
|
"parentId": "0",
|
|
"renderMode": "CANVAS",
|
|
"isLoading": false,
|
|
"horizontalAlignment": "LEFT",
|
|
"isVisibleSearch": true,
|
|
"isVisiblePagination": true,
|
|
"verticalAlignment": "CENTER",
|
|
"columnSizeMap": {
|
|
"task": 245,
|
|
"step": 62,
|
|
"status": 75
|
|
}
|
|
},
|
|
{
|
|
"widgetName": "Table2",
|
|
"defaultPageSize": 0,
|
|
"columnOrder": [
|
|
"id",
|
|
"title",
|
|
"due",
|
|
"assignee"
|
|
],
|
|
"isVisibleDownload": true,
|
|
"dynamicPropertyPathList": [],
|
|
"displayName": "Table",
|
|
"iconSVG": "/static/media/icon.db8a9cbd.svg",
|
|
"topRow": 14,
|
|
"bottomRow": 38,
|
|
"isSortable": true,
|
|
"parentRowSpace": 10,
|
|
"type": "TABLE_WIDGET",
|
|
"defaultSelectedRow": "0",
|
|
"hideCard": false,
|
|
"animateLoading": true,
|
|
"parentColumnSpace": 12.5625,
|
|
"dynamicTriggerPathList": [],
|
|
"dynamicBindingPathList": [
|
|
{
|
|
"key": "tableData"
|
|
},
|
|
{
|
|
"key": "primaryColumns.due.computedValue"
|
|
},
|
|
{
|
|
"key": "primaryColumns.assignee.computedValue"
|
|
},
|
|
{
|
|
"key": "primaryColumns.title.computedValue"
|
|
},
|
|
{
|
|
"key": "primaryColumns.id.computedValue"
|
|
}
|
|
],
|
|
"leftColumn": 30,
|
|
"primaryColumns": {
|
|
"due": {
|
|
"index": 0,
|
|
"width": 150,
|
|
"id": "due",
|
|
"horizontalAlignment": "LEFT",
|
|
"verticalAlignment": "CENTER",
|
|
"columnType": "text",
|
|
"textSize": "PARAGRAPH",
|
|
"enableFilter": true,
|
|
"enableSort": true,
|
|
"isVisible": true,
|
|
"isDisabled": false,
|
|
"isCellVisible": true,
|
|
"isDerived": false,
|
|
"label": "due",
|
|
"computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.due))}}"
|
|
},
|
|
"assignee": {
|
|
"index": 1,
|
|
"width": 150,
|
|
"id": "assignee",
|
|
"horizontalAlignment": "LEFT",
|
|
"verticalAlignment": "CENTER",
|
|
"columnType": "text",
|
|
"textSize": "PARAGRAPH",
|
|
"enableFilter": true,
|
|
"enableSort": true,
|
|
"isVisible": true,
|
|
"isDisabled": false,
|
|
"isCellVisible": true,
|
|
"isDerived": false,
|
|
"label": "assignee",
|
|
"computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.assignee))}}"
|
|
},
|
|
"title": {
|
|
"index": 2,
|
|
"width": 150,
|
|
"id": "title",
|
|
"horizontalAlignment": "LEFT",
|
|
"verticalAlignment": "CENTER",
|
|
"columnType": "text",
|
|
"textSize": "PARAGRAPH",
|
|
"enableFilter": true,
|
|
"enableSort": true,
|
|
"isVisible": true,
|
|
"isDisabled": false,
|
|
"isCellVisible": true,
|
|
"isDerived": false,
|
|
"label": "title",
|
|
"computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.title))}}"
|
|
},
|
|
"id": {
|
|
"index": 4,
|
|
"width": 150,
|
|
"id": "id",
|
|
"horizontalAlignment": "LEFT",
|
|
"verticalAlignment": "CENTER",
|
|
"columnType": "text",
|
|
"textSize": "PARAGRAPH",
|
|
"enableFilter": true,
|
|
"enableSort": true,
|
|
"isVisible": true,
|
|
"isDisabled": false,
|
|
"isCellVisible": true,
|
|
"isDerived": false,
|
|
"label": "id",
|
|
"computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.id))}}"
|
|
}
|
|
},
|
|
"delimiter": ",",
|
|
"key": "5ejs55im17",
|
|
"derivedColumns": {},
|
|
"rightColumn": 61,
|
|
"textSize": "PARAGRAPH",
|
|
"widgetId": "r1m4lkt7at",
|
|
"isVisibleFilters": true,
|
|
"tableData": "{{mockApi.data.headers.Info}}",
|
|
"isVisible": true,
|
|
"label": "Data",
|
|
"searchKey": "",
|
|
"enableClientSideSearch": true,
|
|
"version": 3,
|
|
"totalRecordsCount": 0,
|
|
"parentId": "0",
|
|
"renderMode": "CANVAS",
|
|
"isLoading": false,
|
|
"horizontalAlignment": "LEFT",
|
|
"isVisibleSearch": true,
|
|
"isVisiblePagination": true,
|
|
"verticalAlignment": "CENTER",
|
|
"columnSizeMap": {
|
|
"task": 245,
|
|
"step": 62,
|
|
"status": 75,
|
|
"id": 60
|
|
}
|
|
},
|
|
{
|
|
"widgetName": "Input1",
|
|
"displayName": "Input",
|
|
"iconSVG": "/static/media/icon.9f505595.svg",
|
|
"topRow": 43,
|
|
"bottomRow": 47,
|
|
"parentRowSpace": 10,
|
|
"autoFocus": false,
|
|
"type": "INPUT_WIDGET_V2",
|
|
"hideCard": false,
|
|
"animateLoading": true,
|
|
"parentColumnSpace": 12.5625,
|
|
"dynamicTriggerPathList": [],
|
|
"resetOnSubmit": true,
|
|
"leftColumn": 18,
|
|
"dynamicBindingPathList": [
|
|
{
|
|
"key": "defaultText"
|
|
}
|
|
],
|
|
"labelStyle": "",
|
|
"inputType": "TEXT",
|
|
"isDisabled": false,
|
|
"key": "t02w4ix9o5",
|
|
"isRequired": false,
|
|
"rightColumn": 38,
|
|
"widgetId": "9timcor5m5",
|
|
"isVisible": true,
|
|
"label": "",
|
|
"allowCurrencyChange": false,
|
|
"version": 1,
|
|
"parentId": "0",
|
|
"renderMode": "CANVAS",
|
|
"isLoading": false,
|
|
"iconAlign": "left",
|
|
"defaultText": "{{JSObject1.myVar1}}"
|
|
}
|
|
]
|
|
},
|
|
"layoutOnLoadActions": [
|
|
[
|
|
{
|
|
"id": "Page1_get_schema",
|
|
"name": "get_schema",
|
|
"pluginType": "DB",
|
|
"jsonPathKeys": [],
|
|
"timeoutInMillisecond": 10000
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"id": "Page1_mockApi",
|
|
"name": "mockApi",
|
|
"pluginType": "API",
|
|
"jsonPathKeys": [],
|
|
"timeoutInMillisecond": 10000
|
|
}
|
|
]
|
|
],
|
|
"new": false
|
|
}
|
|
],
|
|
"userPermissions": []
|
|
},
|
|
"publishedPage": {
|
|
"name": "Page1",
|
|
"slug": "page1",
|
|
"layouts": [
|
|
{
|
|
"id": "Page1",
|
|
"userPermissions": [],
|
|
"dsl": {
|
|
"widgetName": "MainContainer",
|
|
"backgroundColor": "none",
|
|
"rightColumn": 1224,
|
|
"snapColumns": 16,
|
|
"detachFromLayout": true,
|
|
"widgetId": "0",
|
|
"topRow": 0,
|
|
"bottomRow": 1254,
|
|
"containerStyle": "none",
|
|
"snapRows": 33,
|
|
"parentRowSpace": 1,
|
|
"type": "CANVAS_WIDGET",
|
|
"canExtend": true,
|
|
"version": 4,
|
|
"minHeight": 1292,
|
|
"parentColumnSpace": 1,
|
|
"dynamicBindingPathList": [],
|
|
"leftColumn": 0,
|
|
"children": []
|
|
},
|
|
"new": false
|
|
}
|
|
],
|
|
"userPermissions": []
|
|
},
|
|
"new": true
|
|
}
|
|
],
|
|
"publishedDefaultPageName": "Page1",
|
|
"unpublishedDefaultPageName": "Page1",
|
|
"actionList": [
|
|
{
|
|
"id": "Page1_mockApi",
|
|
"userPermissions": [
|
|
"read:actions",
|
|
"execute:actions",
|
|
"manage:actions"
|
|
],
|
|
"gitSyncId": "61c580d685c0bd4ccf7d1716_61c580e385c0bd4ccf7d171a",
|
|
"pluginType": "API",
|
|
"pluginId": "restapi-plugin",
|
|
"unpublishedAction": {
|
|
"name": "mockApi",
|
|
"datasource": {
|
|
"userPermissions": [],
|
|
"name": "DEFAULT_REST_DATASOURCE",
|
|
"pluginId": "restapi-plugin",
|
|
"datasourceConfiguration": {
|
|
"url": "http://host.docker.internal:5001/v1/mock-api"
|
|
},
|
|
"invalids": [],
|
|
"messages": [],
|
|
"isValid": true,
|
|
"new": true
|
|
},
|
|
"pageId": "Page1",
|
|
"actionConfiguration": {
|
|
"timeoutInMillisecond": 10000,
|
|
"paginationType": "NONE",
|
|
"path": "/echo",
|
|
"headers": [
|
|
{
|
|
"key": "info",
|
|
"value": "[{\"due\":\"2021-11-23\",\"assignee\":\"Dan.Wyman@hotmail.com\",\"title\":\"Recusan\",\"id\":\"1\"},{\"due\":\"2021-11-23\",\"assignee\":\"Dashawn_Maggio30@gmail.com\",\"title\":\"Dignissimos eaque\",\"id\":\"2\"},{\"due\":\"2021-11-24\",\"assignee\":\"Curt50@gmail.com\",\"title\":\"Voluptas explicabo\",\"id\":\"3\"},{\"due\":\"2021-11-23\",\"assignee\":\"Shanna63@hotmail.com\",\"title\":\"Aut omnis.\",\"id\":\"4\"}]"
|
|
}
|
|
],
|
|
"encodeParamsToggle": true,
|
|
"queryParameters": [],
|
|
"body": "",
|
|
"httpMethod": "GET",
|
|
"pluginSpecifiedTemplates": [
|
|
{
|
|
"value": true
|
|
}
|
|
]
|
|
},
|
|
"executeOnLoad": true,
|
|
"dynamicBindingPathList": [],
|
|
"isValid": true,
|
|
"invalids": [],
|
|
"messages": [],
|
|
"jsonPathKeys": [],
|
|
"confirmBeforeExecute": false,
|
|
"userPermissions": [],
|
|
"validName": "mockApi"
|
|
},
|
|
"publishedAction": {
|
|
"datasource": {
|
|
"userPermissions": [],
|
|
"messages": [],
|
|
"isValid": true,
|
|
"new": true
|
|
},
|
|
"messages": [],
|
|
"confirmBeforeExecute": false,
|
|
"userPermissions": []
|
|
},
|
|
"new": false
|
|
},
|
|
{
|
|
"id": "Page1_get_schema",
|
|
"userPermissions": [
|
|
"read:actions",
|
|
"execute:actions",
|
|
"manage:actions"
|
|
],
|
|
"gitSyncId": "61c580d685c0bd4ccf7d1716_61c5832685c0bd4ccf7d171e",
|
|
"pluginType": "DB",
|
|
"pluginId": "postgres-plugin",
|
|
"unpublishedAction": {
|
|
"name": "get_schema",
|
|
"datasource": {
|
|
"id": "mockdata",
|
|
"userPermissions": [],
|
|
"pluginId": "postgres-plugin",
|
|
"messages": [],
|
|
"isValid": true,
|
|
"new": false
|
|
},
|
|
"pageId": "Page1",
|
|
"actionConfiguration": {
|
|
"timeoutInMillisecond": 10000,
|
|
"paginationType": "NONE",
|
|
"encodeParamsToggle": true,
|
|
"body": "SELECT schema_name FROM information_schema.schemata;",
|
|
"pluginSpecifiedTemplates": [
|
|
{
|
|
"value": true
|
|
}
|
|
]
|
|
},
|
|
"executeOnLoad": true,
|
|
"dynamicBindingPathList": [],
|
|
"isValid": true,
|
|
"invalids": [],
|
|
"messages": [],
|
|
"jsonPathKeys": [],
|
|
"confirmBeforeExecute": false,
|
|
"userPermissions": [],
|
|
"validName": "get_schema"
|
|
},
|
|
"publishedAction": {
|
|
"datasource": {
|
|
"userPermissions": [],
|
|
"messages": [],
|
|
"isValid": true,
|
|
"new": true
|
|
},
|
|
"messages": [],
|
|
"confirmBeforeExecute": false,
|
|
"userPermissions": []
|
|
},
|
|
"new": false
|
|
},
|
|
{
|
|
"id": "Page1_myFun1",
|
|
"userPermissions": [
|
|
"read:actions",
|
|
"execute:actions",
|
|
"manage:actions"
|
|
],
|
|
"gitSyncId": "61c580d685c0bd4ccf7d1716_61c58ced85c0bd4ccf7d1722",
|
|
"pluginType": "JS",
|
|
"pluginId": "js-plugin",
|
|
"unpublishedAction": {
|
|
"name": "myFun1",
|
|
"fullyQualifiedName": "JSObject1.myFun1",
|
|
"datasource": {
|
|
"userPermissions": [],
|
|
"name": "UNUSED_DATASOURCE",
|
|
"pluginId": "js-plugin",
|
|
"messages": [],
|
|
"isValid": true,
|
|
"new": true
|
|
},
|
|
"pageId": "Page1",
|
|
"collectionId": "Page1_JSObject1",
|
|
"actionConfiguration": {
|
|
"timeoutInMillisecond": 10000,
|
|
"paginationType": "NONE",
|
|
"encodeParamsToggle": true,
|
|
"body": "() => {\n\t\t//write code here\n\t\treturn JSObject1.myVar1;\n\t}",
|
|
"jsArguments": [],
|
|
"isAsync": false
|
|
},
|
|
"executeOnLoad": false,
|
|
"dynamicBindingPathList": [
|
|
{
|
|
"key": "body"
|
|
}
|
|
],
|
|
"isValid": true,
|
|
"invalids": [],
|
|
"messages": [],
|
|
"jsonPathKeys": [
|
|
"() => {\n\t\t//write code here\n\t\treturn JSObject1.myVar1;\n\t}"
|
|
],
|
|
"confirmBeforeExecute": false,
|
|
"userPermissions": [],
|
|
"validName": "JSObject1.myFun1"
|
|
},
|
|
"publishedAction": {
|
|
"datasource": {
|
|
"userPermissions": [],
|
|
"messages": [],
|
|
"isValid": true,
|
|
"new": true
|
|
},
|
|
"messages": [],
|
|
"confirmBeforeExecute": false,
|
|
"userPermissions": []
|
|
},
|
|
"new": false
|
|
},
|
|
{
|
|
"id": "Page1_myFun2",
|
|
"userPermissions": [
|
|
"read:actions",
|
|
"execute:actions",
|
|
"manage:actions"
|
|
],
|
|
"gitSyncId": "61c580d685c0bd4ccf7d1716_61c58ced85c0bd4ccf7d1724",
|
|
"pluginType": "JS",
|
|
"pluginId": "js-plugin",
|
|
"unpublishedAction": {
|
|
"name": "myFun2",
|
|
"fullyQualifiedName": "JSObject1.myFun2",
|
|
"datasource": {
|
|
"userPermissions": [],
|
|
"name": "UNUSED_DATASOURCE",
|
|
"pluginId": "js-plugin",
|
|
"messages": [],
|
|
"isValid": true,
|
|
"new": true
|
|
},
|
|
"pageId": "Page1",
|
|
"collectionId": "Page1_JSObject1",
|
|
"actionConfiguration": {
|
|
"timeoutInMillisecond": 10000,
|
|
"paginationType": "NONE",
|
|
"encodeParamsToggle": true,
|
|
"body": "() => {\n\t\t//write code here\n\t}",
|
|
"jsArguments": [],
|
|
"isAsync": false
|
|
},
|
|
"executeOnLoad": false,
|
|
"dynamicBindingPathList": [
|
|
{
|
|
"key": "body"
|
|
}
|
|
],
|
|
"isValid": true,
|
|
"invalids": [],
|
|
"messages": [],
|
|
"jsonPathKeys": [
|
|
"() => {\n\t\t//write code here\n\t}"
|
|
],
|
|
"confirmBeforeExecute": false,
|
|
"userPermissions": [],
|
|
"validName": "JSObject1.myFun2"
|
|
},
|
|
"publishedAction": {
|
|
"datasource": {
|
|
"userPermissions": [],
|
|
"messages": [],
|
|
"isValid": true,
|
|
"new": true
|
|
},
|
|
"messages": [],
|
|
"confirmBeforeExecute": false,
|
|
"userPermissions": []
|
|
},
|
|
"new": false
|
|
}
|
|
],
|
|
"actionCollectionList": [
|
|
{
|
|
"id": "Page1_JSObject1",
|
|
"userPermissions": [
|
|
"read:actions",
|
|
"execute:actions",
|
|
"manage:actions"
|
|
],
|
|
"gitSyncId": "61c580d685c0bd4ccf7d1716_61c58ced85c0bd4ccf7d1726",
|
|
"unpublishedCollection": {
|
|
"name": "JSObject1",
|
|
"pageId": "Page1",
|
|
"pluginId": "js-plugin",
|
|
"pluginType": "JS",
|
|
"actionIds": [],
|
|
"archivedActionIds": [],
|
|
"actions": [],
|
|
"archivedActions": [],
|
|
"body": "export default {\n\tmyVar1: \"Submit\",\n\tmyVar2: {},\n\tmyFun1: () => {\n\t\t//write code here\n\t\treturn this.myVar1;\n\t},\n\tmyFun2: () => {\n\t\t//write code here\n\t}\n}",
|
|
"variables": [
|
|
{
|
|
"name": "myVar1",
|
|
"value": "Submit"
|
|
},
|
|
{
|
|
"name": "myVar2",
|
|
"value": {}
|
|
}
|
|
]
|
|
},
|
|
"new": false
|
|
}
|
|
],
|
|
"editModeTheme": {
|
|
"name": "Classic",
|
|
"new": true,
|
|
"isSystemTheme": true
|
|
},
|
|
"publishedTheme": {
|
|
"name": "Classic",
|
|
"new": true,
|
|
"isSystemTheme": true
|
|
},
|
|
"publishedLayoutmongoEscapedWidgets": {},
|
|
"unpublishedLayoutmongoEscapedWidgets": {}
|
|
}
|