diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/git/ServerSchemaMigrationEnforcerTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/git/ServerSchemaMigrationEnforcerTest.java index dca30bd65a..8d9542cd3f 100644 --- a/app/server/appsmith-server/src/test/java/com/appsmith/server/git/ServerSchemaMigrationEnforcerTest.java +++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/git/ServerSchemaMigrationEnforcerTest.java @@ -137,12 +137,9 @@ public class ServerSchemaMigrationEnforcerTest { assertThat(exportedApplicationJsonObject.get("theme").getAsJsonObject()) .isEqualTo(importApplicationGitReferenceObject.get("theme").getAsJsonObject()); - /** - * This piece of assertion is commented out because of the flakiness - */ - // verifyMapAssertions( - // exportedApplicationJsonObject.get("actions").getAsJsonObject(), - // importApplicationGitReferenceObject.get("actions").getAsJsonObject()); + verifyMapAssertions( + exportedApplicationJsonObject.get("actions").getAsJsonObject(), + importApplicationGitReferenceObject.get("actions").getAsJsonObject()); verifyMapAssertions( exportedApplicationJsonObject.get("actionBody").getAsJsonObject(), diff --git a/app/server/appsmith-server/src/test/resources/com/appsmith/server/git/ce-automation-test.json b/app/server/appsmith-server/src/test/resources/com/appsmith/server/git/ce-automation-test.json index f346369a4f..39b3207748 100644 --- a/app/server/appsmith-server/src/test/resources/com/appsmith/server/git/ce-automation-test.json +++ b/app/server/appsmith-server/src/test/resources/com/appsmith/server/git/ce-automation-test.json @@ -25358,93 +25358,6 @@ "deleted": false, "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad79" }, - { - "pluginType": "JS", - "pluginId": "js-plugin", - "unpublishedAction": { - "name": "cat", - "fullyQualifiedName": "TC4.cat", - "datasource": { - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "invalids": [], - "messages": [], - "isAutoGenerated": false, - "deleted": false, - "policies": [], - "userPermissions": [] - }, - "pageId": "Page 2", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "() =>n", - "selfReferencingDataPaths": [], - "jsArguments": [], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [], - "messages": [], - "jsonPathKeys": [ - "() =>n" - ], - "userSetOnLoad": false, - "confirmBeforeExecute": false, - "policies": [], - "userPermissions": [], - "createdAt": "2024-04-03T11:32:39Z" - }, - "publishedAction": { - "name": "cat", - "fullyQualifiedName": "TC4.cat", - "datasource": { - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "invalids": [], - "messages": [], - "isAutoGenerated": false, - "deleted": false, - "policies": [], - "userPermissions": [] - }, - "pageId": "Page 2", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "() =>n", - "selfReferencingDataPaths": [], - "jsArguments": [], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [], - "messages": [], - "jsonPathKeys": [], - "userSetOnLoad": false, - "confirmBeforeExecute": false, - "policies": [], - "userPermissions": [], - "createdAt": "2024-04-03T11:32:39Z" - }, - "id": "Page 2_TC4.cat", - "deleted": false, - "gitSyncId": "660d3e57a59c5e33b46bace0_660d3e57a59c5e33b46bad0f" - }, { "pluginType": "API", "pluginId": "restapi-plugin",