-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: partial import export areas covered (#37661)
Adding tests for partial import/export To be done into a new app To be done into a new page GitConnected App and importApp testing https://docs.google.com/spreadsheets/d/1Vq5vRUyAMv2npPv4j41omzZrYcRUb8LEOhNVu_O4OE8/edit?gid=428365096#gid=428365096 /ok-to-test tags="@tag.All" <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes - **New Features** - Introduced a comprehensive suite of end-to-end tests for validating partial import and export functionality. - Added new JSON configurations for API actions and application components to enhance import/export capabilities, including structured representations for widgets and actions. - **Improvements** - Updated test specification paths to reflect the new focus on partial import/export tests. - Expanded the set of locators for Cypress tests to improve interaction with entity items and specific row data in tables. These updates aim to improve the reliability and functionality of the import/export processes within the application. <!-- end of auto-generated comment: release notes by coderabbit.ai --> <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/12035486686> > Commit: 5c3d72b > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=12035486686&attempt=2" target="_blank">Cypress dashboard</a>. > Tags: `@tag.All` > Spec: > <hr>Wed, 27 Nov 2024 06:19:10 UTC <!-- end of auto-generated comment: Cypress test results --> --------- Co-authored-by: “NandanAnantharamu” <“nandan@thinkify.io”>
- Loading branch information
1 parent
803c80d
commit ff3909a
Showing
5 changed files
with
236 additions
and
0 deletions.
There are no files selected for viewing
231 changes: 231 additions & 0 deletions
231
app/client/cypress/e2e/Regression/ClientSide/PartialImportExport/PartialImportRegularApp.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,231 @@ | ||
import { | ||
agHelper, | ||
entityExplorer, | ||
homePage, | ||
partialImportExport, | ||
entityItems, | ||
locators, | ||
gitSync, | ||
apiPage, | ||
} from "../../../../support/Objects/ObjectsCore"; | ||
import { PageLeftPane } from "../../../../support/Pages/EditorNavigation"; | ||
import PageList from "../../../../support/Pages/PageList"; | ||
|
||
const fixtureName = "ImportExport.json"; | ||
|
||
describe( | ||
"Partial import and export functionality", | ||
{ tags: ["@tag.ImportExport", "@tag.Git"] }, | ||
() => { | ||
before(() => { | ||
agHelper.GenerateUUID(); | ||
partialImportExport.OpenImportModal(); | ||
homePage.ImportApp(`PartialImportExport/${fixtureName}`, "", true); | ||
homePage.RenameApplication("ImportExport"); | ||
entityExplorer.RenameEntityFromExplorer( | ||
"Page1", | ||
"Home", | ||
false, | ||
entityItems.Page, | ||
); | ||
}); | ||
|
||
it("1. Should export all the selected elements and import it to new Page", () => { | ||
partialImportExport.OpenExportModal(); | ||
|
||
// Export Widgets | ||
partialImportExport.PartiallyExportFile( | ||
4, | ||
partialImportExport.locators.export.modelContents.widgetsSection, | ||
["Table1", "Button1"], | ||
); | ||
|
||
// Export Queries | ||
partialImportExport.OpenExportModal(); | ||
partialImportExport.PartiallyExportFile( | ||
2, | ||
partialImportExport.locators.export.modelContents.queriesSection, | ||
["Api1"], | ||
); | ||
|
||
PageList.AddNewPage("New blank page"); | ||
partialImportExport.OpenImportModal(); | ||
|
||
// Import Widgets | ||
partialImportExport.OpenImportModal(); | ||
partialImportExport.ImportPartiallyExportedFile( | ||
"PartialWidgetExport.json", | ||
"Widgets", | ||
["Table1", "Button1"], | ||
); | ||
|
||
// Import Queries | ||
partialImportExport.OpenImportModal(); | ||
partialImportExport.ImportPartiallyExportedFile( | ||
"PartialQueryExport.json", | ||
"Queries", | ||
["Api1"], | ||
); | ||
|
||
agHelper.selectAndValidateWidgetNameAndProperty({ | ||
widgetName: "Table1", | ||
propFieldName: "Table data", | ||
valueToValidate: "{{Api1.data}}", | ||
}); | ||
|
||
PageLeftPane.switchSegment("Queries"); | ||
agHelper.GetNClick(locators._entityItem); | ||
apiPage.RunAPI(); | ||
PageLeftPane.switchSegment("UI"); | ||
agHelper.AssertElementExist(locators._rowData); | ||
}); | ||
|
||
it("2. Should be able to import again in the same Page", () => { | ||
partialImportExport.OpenImportModal(); | ||
partialImportExport.ImportPartiallyExportedFile( | ||
"PartialWidgetExport.json", | ||
"Widgets", | ||
["Table1", "Button1"], | ||
); | ||
|
||
agHelper.selectAndValidateWidgetNameAndProperty({ | ||
widgetName: "Table1", | ||
propFieldName: "Table data", | ||
valueToValidate: "{{Api1.data}}", | ||
}); | ||
|
||
agHelper.AssertElementLength( | ||
`${locators._widgetInDeployed("tablewidgetv2")}`, | ||
2, | ||
); | ||
agHelper.AssertElementLength( | ||
`${locators._widgetInDeployed("buttonwidget")}`, | ||
2, | ||
); | ||
}); | ||
|
||
it("3. Should import the Page into new application", () => { | ||
homePage.NavigateToHome(); | ||
homePage.CreateNewApplication(); | ||
|
||
// Import Widgets | ||
partialImportExport.OpenImportModal(); | ||
partialImportExport.ImportPartiallyExportedFile( | ||
"PartialWidgetExport.json", | ||
"Widgets", | ||
["Table1", "Button1"], | ||
); | ||
|
||
// Import Queries | ||
partialImportExport.OpenImportModal(); | ||
partialImportExport.ImportPartiallyExportedFile( | ||
"PartialQueryExport.json", | ||
"Queries", | ||
["Api1"], | ||
); | ||
|
||
agHelper.selectAndValidateWidgetNameAndProperty({ | ||
widgetName: "Table1", | ||
propFieldName: "Table data", | ||
valueToValidate: "{{Api1.data}}", | ||
}); | ||
|
||
PageLeftPane.switchSegment("Queries"); | ||
agHelper.GetNClick(locators._entityItem); | ||
apiPage.RunAPI(); | ||
PageLeftPane.switchSegment("UI"); | ||
agHelper.AssertElementExist(locators._rowData); | ||
}); | ||
|
||
it("4. Should import the Page into new workspace", () => { | ||
homePage.CreateNewWorkspace("", true); | ||
|
||
homePage.CreateNewApplication(); | ||
|
||
// Import Widgets | ||
partialImportExport.OpenImportModal(); | ||
partialImportExport.ImportPartiallyExportedFile( | ||
"PartialWidgetExport.json", | ||
"Widgets", | ||
["Table1", "Button1"], | ||
); | ||
|
||
// Import Queries | ||
partialImportExport.OpenImportModal(); | ||
partialImportExport.ImportPartiallyExportedFile( | ||
"PartialQueryExport.json", | ||
"Queries", | ||
["Api1"], | ||
); | ||
|
||
agHelper.selectAndValidateWidgetNameAndProperty({ | ||
widgetName: "Table1", | ||
propFieldName: "Table data", | ||
valueToValidate: "{{Api1.data}}", | ||
}); | ||
|
||
PageLeftPane.switchSegment("Queries"); | ||
agHelper.GetNClick(locators._entityItem); | ||
apiPage.RunAPI(); | ||
PageLeftPane.switchSegment("UI"); | ||
agHelper.AssertElementExist(locators._rowData); | ||
}); | ||
|
||
it("5. Import to Git branch", () => { | ||
homePage.NavigateToHome(); | ||
homePage.CreateNewApplication(); | ||
gitSync.CreateNConnectToGit(); | ||
gitSync.CreateGitBranch("New_Branch"); | ||
gitSync.CreateGitBranch(); | ||
|
||
partialImportExport.OpenImportModal(); | ||
|
||
// Import Widgets | ||
partialImportExport.OpenImportModal(); | ||
partialImportExport.ImportPartiallyExportedFile( | ||
"PartialWidgetExport.json", | ||
"Widgets", | ||
["Table1", "Button1"], | ||
); | ||
|
||
// Import Queries | ||
partialImportExport.OpenImportModal(); | ||
partialImportExport.ImportPartiallyExportedFile( | ||
"PartialQueryExport.json", | ||
"Queries", | ||
["Api1"], | ||
); | ||
|
||
agHelper.selectAndValidateWidgetNameAndProperty({ | ||
widgetName: "Table1", | ||
propFieldName: "Table data", | ||
valueToValidate: "{{Api1.data}}", | ||
}); | ||
|
||
gitSync.CommitAndPush(); | ||
gitSync.SwitchGitBranch("New_Branch"); | ||
|
||
// Import Widgets | ||
partialImportExport.OpenImportModal(); | ||
partialImportExport.ImportPartiallyExportedFile( | ||
"PartialWidgetExport.json", | ||
"Widgets", | ||
["Table1", "Button1"], | ||
); | ||
|
||
// Import Queries | ||
partialImportExport.OpenImportModal(); | ||
partialImportExport.ImportPartiallyExportedFile( | ||
"PartialQueryExport.json", | ||
"Queries", | ||
["Api1"], | ||
); | ||
|
||
agHelper.selectAndValidateWidgetNameAndProperty({ | ||
widgetName: "Table1", | ||
propFieldName: "Table data", | ||
valueToValidate: "{{Api1.data}}", | ||
}); | ||
}); | ||
}, | ||
); |
1 change: 1 addition & 0 deletions
1
app/client/cypress/fixtures/PartialImportExport/ImportExport.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"artifactJsonType":"APPLICATION","clientSchemaVersion":1,"serverSchemaVersion":11,"customJSLibList":[],"actionList":[{"id":"Home_Api1","pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Api1","datasource":{"userPermissions":[],"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":"http://host.docker.internal:5001"},"invalids":[],"messages":[],"isValid":true},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","path":"/v1/mock-api","headers":[],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[{"key":"records","value":"10"}],"body":"","bodyFormData":[],"httpMethod":"GET","httpVersion":"HTTP11","pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":true,"dynamicBindingPathList":[],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":[],"confirmBeforeExecute":false,"userPermissions":[]},"publishedAction":{"datasource":{"userPermissions":[],"messages":[],"isValid":true},"messages":[],"confirmBeforeExecute":false,"userPermissions":[]}}],"actionCollectionList":[{"id":"Home_JSObject1","unpublishedCollection":{"name":"JSObject1","pageId":"Home","pluginId":"js-plugin","pluginType":"JS","actions":[],"archivedActions":[],"body":"export default {\n\tgenPDF: () => {\n\t\tconst doc = new jspdf.jsPDF();\n\tdoc.text('Users', 20, 20);\n\t\tdoc.table(20, 30, Table1.tableData, Table1.columnOrder, {autoSize: true});\n\t\tdownload(doc.output(), 'users_list.pdf');\n\t}\n}","variables":[],"userPermissions":[]}},{"id":"Home_JSObject2","unpublishedCollection":{"name":"JSObject2","pageId":"Home","pluginId":"js-plugin","pluginType":"JS","actions":[],"archivedActions":[],"body":"export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tmyFun1 () {\n\t\tshowAlert(moment().daysInMonth().toString());\n\t},\n\tasync myFun2 () {\n\t\t//\tuse async-await or promises\n\t\t//\tawait storeValue('varName', 'hello world')\n\t}\n}","variables":[{"name":"myVar1","value":"[]"},{"name":"myVar2","value":"{}"}],"userPermissions":[]}}],"widgets":"{\"layoutSystemType\":\"FIXED\",\"widgets\":[{\"hierarchy\":4,\"list\":[{\"isVisible\":true,\"type\":\"TABLE_WIDGET_V2\",\"flexVerticalAlignment\":\"start\",\"responsiveBehavior\":\"fill\",\"minWidth\":450,\"canFreezeColumn\":true,\"columnUpdatedAt\":1732544015069,\"animateLoading\":true,\"defaultSelectedRowIndex\":0,\"defaultSelectedRowIndices\":[0],\"label\":\"Data\",\"widgetName\":\"Table1\",\"searchKey\":\"\",\"textSize\":\"0.875rem\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"totalRecordsCount\":0,\"defaultPageSize\":0,\"dynamicPropertyPathList\":[{\"key\":\"tableData\"}],\"borderColor\":\"#E0DEDE\",\"borderWidth\":\"1\",\"dynamicBindingPathList\":[{\"key\":\"accentColor\"},{\"key\":\"borderRadius\"},{\"key\":\"boxShadow\"},{\"key\":\"tableData\"},{\"key\":\"primaryColumns.address.computedValue\"},{\"key\":\"primaryColumns.avatar.computedValue\"},{\"key\":\"primaryColumns.email.computedValue\"},{\"key\":\"primaryColumns.gender.computedValue\"},{\"key\":\"primaryColumns.id.computedValue\"},{\"key\":\"primaryColumns.name.computedValue\"},{\"key\":\"primaryColumns.status.computedValue\"}],\"primaryColumns\":{\"address\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":0,\"width\":150,\"originalId\":\"address\",\"id\":\"address\",\"alias\":\"address\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"text\",\"textSize\":\"0.875rem\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"address\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"address\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\"},\"avatar\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":1,\"width\":150,\"originalId\":\"avatar\",\"id\":\"avatar\",\"alias\":\"avatar\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"text\",\"textSize\":\"0.875rem\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"avatar\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"avatar\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\"},\"email\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":2,\"width\":150,\"originalId\":\"email\",\"id\":\"email\",\"alias\":\"email\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"text\",\"textSize\":\"0.875rem\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"email\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"email\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\"},\"gender\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":3,\"width\":150,\"originalId\":\"gender\",\"id\":\"gender\",\"alias\":\"gender\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"text\",\"textSize\":\"0.875rem\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"gender\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"gender\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\"},\"id\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":4,\"width\":150,\"originalId\":\"id\",\"id\":\"id\",\"alias\":\"id\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"number\",\"textSize\":\"0.875rem\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"id\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"id\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\"},\"name\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":5,\"width\":150,\"originalId\":\"name\",\"id\":\"name\",\"alias\":\"name\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"text\",\"textSize\":\"0.875rem\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"name\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"name\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\"},\"status\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":6,\"width\":150,\"originalId\":\"status\",\"id\":\"status\",\"alias\":\"status\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"text\",\"textSize\":\"0.875rem\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"status\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"status\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\"}},\"tableData\":\"{{Api1.data}}\",\"columnWidthMap\":{},\"columnOrder\":[\"address\",\"avatar\",\"email\",\"gender\",\"id\",\"name\",\"status\"],\"enableClientSideSearch\":true,\"isVisibleSearch\":true,\"isVisibleFilters\":false,\"isVisibleDownload\":true,\"isVisiblePagination\":true,\"isSortable\":true,\"delimiter\":\",\",\"version\":2,\"inlineEditingSaveOption\":\"ROW_LEVEL\",\"customIsLoading\":false,\"customIsLoadingValue\":\"\",\"key\":\"kf8hr71nup\",\"needsErrorInfo\":false,\"widgetId\":\"u35g21sru2\",\"renderMode\":\"CANVAS\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"boxShadow\":\"{{appsmith.theme.boxShadow.appBoxShadow}}\",\"childStylesheet\":{\"button\":{\"buttonColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"boxShadow\":\"none\"},\"menuButton\":{\"menuColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"boxShadow\":\"none\"},\"iconButton\":{\"buttonColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"boxShadow\":\"none\"},\"editActions\":{\"saveButtonColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"saveBorderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"discardButtonColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"discardBorderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\"}},\"isLoading\":false,\"parentColumnSpace\":8.65625,\"parentRowSpace\":10,\"leftColumn\":11,\"rightColumn\":45,\"topRow\":11,\"bottomRow\":39,\"mobileLeftColumn\":11,\"mobileRightColumn\":45,\"mobileTopRow\":11,\"mobileBottomRow\":39,\"parentId\":\"0\",\"dynamicTriggerPathList\":[]}],\"parentId\":\"0\",\"widgetId\":\"u35g21sru2\",\"widgetPositionInfo\":null},{\"hierarchy\":4,\"list\":[{\"isVisible\":true,\"type\":\"BUTTON_WIDGET\",\"animateLoading\":true,\"text\":\"Submit\",\"buttonVariant\":\"PRIMARY\",\"placement\":\"CENTER\",\"widgetName\":\"Button1\",\"isDisabled\":false,\"isDefaultClickDisabled\":true,\"disabledWhenInvalid\":false,\"resetFormOnClick\":false,\"recaptchaType\":\"V3\",\"version\":1,\"responsiveBehavior\":\"hug\",\"minWidth\":120,\"key\":\"q8mlo01tzz\",\"needsErrorInfo\":false,\"widgetId\":\"imzxuk30nh\",\"renderMode\":\"CANVAS\",\"buttonColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"boxShadow\":\"none\",\"isLoading\":false,\"parentColumnSpace\":8.65625,\"parentRowSpace\":10,\"leftColumn\":24,\"rightColumn\":40,\"topRow\":44,\"bottomRow\":48,\"mobileLeftColumn\":24,\"mobileRightColumn\":40,\"mobileTopRow\":44,\"mobileBottomRow\":48,\"parentId\":\"0\",\"dynamicBindingPathList\":[{\"key\":\"buttonColor\"},{\"key\":\"borderRadius\"}],\"onClick\":\"{{JSObject1.genPDF();}}\",\"dynamicTriggerPathList\":[{\"key\":\"onClick\"}]}],\"parentId\":\"0\",\"widgetId\":\"imzxuk30nh\",\"widgetPositionInfo\":null}],\"flexLayers\":[]}"} |
1 change: 1 addition & 0 deletions
1
app/client/cypress/fixtures/PartialImportExport/PartialQueryExport.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"artifactJsonType":"APPLICATION","clientSchemaVersion":1,"serverSchemaVersion":11,"actionList":[{"id":"Home_Api1","pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Api1","fullyQualifiedName":"Api1","datasource":{"userPermissions":[],"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":"http://host.docker.internal:5001"},"invalids":[],"messages":[],"isValid":true},"pageId":"Home","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","path":"/v1/mock-api","headers":[],"autoGeneratedHeaders":[],"encodeParamsToggle":true,"queryParameters":[{"key":"records","value":"10"}],"body":"","bodyFormData":[],"httpMethod":"GET","httpVersion":"HTTP11","pluginSpecifiedTemplates":[{"value":true}],"formData":{"apiContentType":"none"}},"executeOnLoad":true,"dynamicBindingPathList":[],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":[],"confirmBeforeExecute":false,"userPermissions":[]},"publishedAction":{"name":"Api1","fullyQualifiedName":"Api1","datasource":{"userPermissions":[],"messages":[],"isValid":true},"pageId":"Home","messages":[],"confirmBeforeExecute":false,"userPermissions":[]}}],"widgets":""} |
Oops, something went wrong.