diff --git a/app/client/cypress/e2e/Regression/ClientSide/Widgets/Modal/Modal_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/Widgets/Modal/Modal_spec.ts index f355423e91..8fc623d5cd 100644 --- a/app/client/cypress/e2e/Regression/ClientSide/Widgets/Modal/Modal_spec.ts +++ b/app/client/cypress/e2e/Regression/ClientSide/Widgets/Modal/Modal_spec.ts @@ -126,7 +126,6 @@ describe( " " + locators._widgetInDeployed(draggableWidgets.TABLE), ); - deployMode.NavigateBacktoEditor(); //Fixed height @@ -135,10 +134,6 @@ describe( deployMode.DeployApp(locators._widgetInDeployed(draggableWidgets.BUTTON)); agHelper.ClickButton("Submit"); agHelper.AssertElementVisibility(locators._modal); - - //Verify that a fixed canvas size is visible when height is selected as Fixed - agHelper.AssertProperty(locators._modal, "offsetHeight", 1094); - agHelper.AssertProperty(locators._modal, "offsetWidth", 456); agHelper.AssertElementVisibility( locators._modal + " " + diff --git a/app/client/cypress/e2e/Regression/ServerSide/ApiTests/API_Bugs_Spec.js b/app/client/cypress/e2e/Regression/ServerSide/ApiTests/API_Bugs_Spec.js index abf63f460f..58584e081e 100644 --- a/app/client/cypress/e2e/Regression/ServerSide/ApiTests/API_Bugs_Spec.js +++ b/app/client/cypress/e2e/Regression/ServerSide/ApiTests/API_Bugs_Spec.js @@ -46,13 +46,16 @@ describe("Rest Bugs tests", { tags: ["@tag.Datasource"] }, function () { agHelper.PressEscape(); //Api 3 - apiPage.CreateAndFillApi("http://numbersapi.com/random/math", "NumberFact"); + apiPage.CreateAndFillApi( + "http://host.docker.internal:8000/a.txt", + "SampleText", + ); agHelper.PressEscape(); //Api 4 apiPage.CreateAndFillApi( - "https://www.thecocktaildb.com/api/json/v1/1/search.php?s=margarita", - "CocktailDB", + "http://host.docker.internal:5001/v1/dynamicrecords/getrecordsArray", + "dynamicRecords", ); agHelper.PressEscape(); diff --git a/app/client/cypress/fixtures/IframeDsl.json b/app/client/cypress/fixtures/IframeDsl.json index e104f3c0d0..b665db1274 100644 --- a/app/client/cypress/fixtures/IframeDsl.json +++ b/app/client/cypress/fixtures/IframeDsl.json @@ -32,7 +32,7 @@ "topRow": 4, "bottomRow": 36, "parentRowSpace": 10, - "source": "https://www.example.com", + "source": "http://host.docker.internal:8000/a.txt", "type": "IFRAME_WIDGET", "hideCard": false, "borderOpacity": 100, diff --git a/app/client/cypress/fixtures/IframeOnSrcDocChange.json b/app/client/cypress/fixtures/IframeOnSrcDocChange.json index 95fcca3822..2a66c7d378 100644 --- a/app/client/cypress/fixtures/IframeOnSrcDocChange.json +++ b/app/client/cypress/fixtures/IframeOnSrcDocChange.json @@ -60,7 +60,7 @@ "topRow": 6.0, "bottomRow": 38.0, "parentRowSpace": 10.0, - "source": "https://www.example.com", + "source": "http://host.docker.internal:8000/a.txt", "type": "IFRAME_WIDGET", "hideCard": false, "borderOpacity": 100.0, diff --git a/app/client/cypress/fixtures/Listv2/Listv2JSObjects.json b/app/client/cypress/fixtures/Listv2/Listv2JSObjects.json index f7033f7bcf..b621c04914 100644 --- a/app/client/cypress/fixtures/Listv2/Listv2JSObjects.json +++ b/app/client/cypress/fixtures/Listv2/Listv2JSObjects.json @@ -391,7 +391,7 @@ "longitude": "134.8", "phone": "1234 456 789", "email": "erewt@etewt.com", - "image": "https://randomuser.me/api/portraits/med/women/39.jpg", + "image": "http://host.docker.internal:8000/photo-1492529029602-33e53698f407.jpeg", "country": "India" } }, @@ -812,7 +812,7 @@ "rightColumn": 64, "textSize": "0.875rem", "widgetId": "hasf62rs16", - "tableData": "[\n {\n \"id\": 8,\n \"gender\": \"Male2\",\n \"latitude\": \"-46.799\",\n \"longitude\": \"134.8\",\n \"dob\": null,\n \"phone\": \"1234 456 789\",\n \"email\": \"erewt@etewt.com\",\n \"image\": \"https://randomuser.me/api/portraits/med/women/39.jpg\",\n \"country\": \"India\",\n \"name\": \"Perry234\"\n },\n {\n \"id\": 14,\n \"gender\": \"Female\",\n \"latitude\": \"-55.3277\",\n \"longitude\": \"14.598\",\n \"dob\": \"1960-06-11T04:07:44.187Z\",\n \"phone\": \"(480)-579-1070\",\n \"email\": \"lucille.martinez@example.com\",\n \"image\": \"https://randomuser.me/api/portraits/med/women/41.jpg\",\n \"country\": \"Myanmar\",\n \"name\": \"Aliess123\"\n },\n {\n \"id\": 20,\n \"gender\": \"female\",\n \"latitude\": \"50.3512\",\n \"longitude\": \"-144.4759\",\n \"dob\": \"1989-03-18T05:45:11.987Z\",\n \"phone\": \"03-7420-3707\",\n \"email\": \"jennie.james@example.com\",\n \"image\": \"https://randomuser.me/api/portraits/med/women/6.jpg\",\n \"country\": \"Australia\",\n \"name\": \"Jennie James\"\n },\n {\n \"id\": 538,\n \"gender\": \"Female\",\n \"latitude\": \"234\",\n \"longitude\": \"34354534\",\n \"dob\": null,\n \"phone\": null,\n \"email\": \"prapulla.c@moolya.com\",\n \"image\": null,\n \"country\": null,\n \"name\": null\n },\n {\n \"id\": 539,\n \"gender\": \"Female\",\n \"latitude\": \"234\",\n \"longitude\": \"34354534\",\n \"dob\": null,\n \"phone\": null,\n \"email\": \"prapulla.c@moolya.com\",\n \"image\": null,\n \"country\": null,\n \"name\": null\n },\n {\n \"id\": 542,\n \"gender\": \"male\",\n \"latitude\": \"10\",\n \"longitude\": \"10\",\n \"dob\": \"2000-10-10T00:00:00Z\",\n \"phone\": null,\n \"email\": null,\n \"image\": null,\n \"country\": null,\n \"name\": null\n },\n {\n \"id\": 543,\n \"gender\": \"test\",\n \"latitude\": \"0.88\",\n \"longitude\": \"0.88\",\n \"dob\": \"2000-12-12T00:00:00Z\",\n \"phone\": null,\n \"email\": null,\n \"image\": null,\n \"country\": null,\n \"name\": null\n },\n {\n \"id\": 553,\n \"gender\": \"female\",\n \"latitude\": \"55\",\n \"longitude\": \"33\",\n \"dob\": \"2019-07-01T05:30:00Z\",\n \"phone\": \"12345678\",\n \"email\": \"1026033274@qq.com\",\n \"image\": \"\",\n \"country\": \"india\",\n \"name\": \"test\"\n },\n {\n \"id\": 554,\n \"gender\": \"male\",\n \"latitude\": \"55\",\n \"longitude\": \"22\",\n \"dob\": \"2019-07-01T05:30:00Z\",\n \"phone\": \"1234567\",\n \"email\": \"1026033274@qq.com\",\n \"image\": \"\",\n \"country\": \"state\",\n \"name\": \"teest\"\n },\n {\n \"id\": 555,\n \"gender\": \"male\",\n \"latitude\": \"55\",\n \"longitude\": \"44\",\n \"dob\": \"2019-07-01T05:30:00Z\",\n \"phone\": \"12345678\",\n \"email\": \"1026033274@qq.com\",\n \"image\": \"\",\n \"country\": \"state\",\n \"name\": \"111222\"\n },\n {\n \"id\": 556,\n \"gender\": \"female\",\n \"latitude\": \"22\",\n \"longitude\": \"11\",\n \"dob\": \"2019-07-01T05:30:00Z\",\n \"phone\": \"1234567\",\n \"email\": \"1026033274@qq.com\",\n \"image\": \"1\",\n \"country\": \"brail\",\n \"name\": \"test1\"\n },\n {\n \"id\": 558,\n \"gender\": \"Male\",\n \"latitude\": \"123,45,67.32\",\n \"longitude\": null,\n \"dob\": null,\n \"phone\": null,\n \"email\": \"subrata@appsmith.com\",\n \"image\": null,\n \"country\": null,\n \"name\": \"Subrata\"\n },\n {\n \"id\": 561,\n \"gender\": \"Male\",\n \"latitude\": null,\n \"longitude\": null,\n \"dob\": null,\n \"phone\": null,\n \"email\": \"will@gmail.com\",\n \"image\": null,\n \"country\": null,\n \"name\": \"Maro\"\n },\n {\n \"id\": 562,\n \"gender\": \"female\",\n \"latitude\": \"-46.799\",\n \"longitude\": \"134.8\",\n \"dob\": \"2020-09-09T00:00:00Z\",\n \"phone\": \"1234 456 789\",\n \"email\": \"test@gmail.com\",\n \"image\": \"https://randomuser.me/api/portraits/med/women/39.jpg\",\n \"country\": \"Australia\",\n \"name\": \"oktest\"\n },\n {\n \"id\": 566,\n \"gender\": \"femal\",\n \"latitude\": \"66\",\n \"longitude\": \"33\",\n \"dob\": \"2019-07-01T05:30:00Z\",\n \"phone\": \"123456\",\n \"email\": \"1026033274@qq.com\",\n \"image\": \"\",\n \"country\": \"china\",\n \"name\": \"test1\"\n },\n {\n \"id\": 570,\n \"gender\": \"male\",\n \"latitude\": null,\n \"longitude\": null,\n \"dob\": null,\n \"phone\": null,\n \"email\": \"balaji@appsmith.com\",\n \"image\": null,\n \"country\": null,\n \"name\": \"Balaji\"\n },\n {\n \"id\": 571,\n \"gender\": \"male\",\n \"latitude\": null,\n \"longitude\": null,\n \"dob\": null,\n \"phone\": null,\n \"email\": \"123\",\n \"image\": null,\n \"country\": null,\n \"name\": \"AAAA\"\n },\n {\n \"id\": 572,\n \"gender\": \"male\",\n \"latitude\": null,\n \"longitude\": null,\n \"dob\": null,\n \"phone\": null,\n \"email\": \"123@12.com\",\n \"image\": null,\n \"country\": null,\n \"name\": \"balaji app viewer\"\n }\n]", + "tableData": "[\n {\n \"id\": 8,\n \"gender\": \"Male2\",\n \"latitude\": \"-46.799\",\n \"longitude\": \"134.8\",\n \"dob\": null,\n \"phone\": \"1234 456 789\",\n \"email\": \"erewt@etewt.com\",\n \"image\": \"http://host.docker.internal:8000/photo-1492529029602-33e53698f407.jpeg\",\n \"country\": \"India\",\n \"name\": \"Perry234\"\n },\n {\n \"id\": 14,\n \"gender\": \"Female\",\n \"latitude\": \"-55.3277\",\n \"longitude\": \"14.598\",\n \"dob\": \"1960-06-11T04:07:44.187Z\",\n \"phone\": \"(480)-579-1070\",\n \"email\": \"lucille.martinez@example.com\",\n \"image\": \"http://host.docker.internal:8000/photo-1503469432756-4aae2e18d881.jpeg\",\n \"country\": \"Myanmar\",\n \"name\": \"Aliess123\"\n },\n {\n \"id\": 20,\n \"gender\": \"female\",\n \"latitude\": \"50.3512\",\n \"longitude\": \"-144.4759\",\n \"dob\": \"1989-03-18T05:45:11.987Z\",\n \"phone\": \"03-7420-3707\",\n \"email\": \"jennie.james@example.com\",\n \"image\": \"http://host.docker.internal:8000/photo-1547401208-4e3278cb1488.jpeg\",\n \"country\": \"Australia\",\n \"name\": \"Jennie James\"\n },\n {\n \"id\": 538,\n \"gender\": \"Female\",\n \"latitude\": \"234\",\n \"longitude\": \"34354534\",\n \"dob\": null,\n \"phone\": null,\n \"email\": \"prapulla.c@moolya.com\",\n \"image\": null,\n \"country\": null,\n \"name\": null\n },\n {\n \"id\": 539,\n \"gender\": \"Female\",\n \"latitude\": \"234\",\n \"longitude\": \"34354534\",\n \"dob\": null,\n \"phone\": null,\n \"email\": \"prapulla.c@moolya.com\",\n \"image\": null,\n \"country\": null,\n \"name\": null\n },\n {\n \"id\": 542,\n \"gender\": \"male\",\n \"latitude\": \"10\",\n \"longitude\": \"10\",\n \"dob\": \"2000-10-10T00:00:00Z\",\n \"phone\": null,\n \"email\": null,\n \"image\": null,\n \"country\": null,\n \"name\": null\n },\n {\n \"id\": 543,\n \"gender\": \"test\",\n \"latitude\": \"0.88\",\n \"longitude\": \"0.88\",\n \"dob\": \"2000-12-12T00:00:00Z\",\n \"phone\": null,\n \"email\": null,\n \"image\": null,\n \"country\": null,\n \"name\": null\n },\n {\n \"id\": 553,\n \"gender\": \"female\",\n \"latitude\": \"55\",\n \"longitude\": \"33\",\n \"dob\": \"2019-07-01T05:30:00Z\",\n \"phone\": \"12345678\",\n \"email\": \"1026033274@qq.com\",\n \"image\": \"\",\n \"country\": \"india\",\n \"name\": \"test\"\n },\n {\n \"id\": 554,\n \"gender\": \"male\",\n \"latitude\": \"55\",\n \"longitude\": \"22\",\n \"dob\": \"2019-07-01T05:30:00Z\",\n \"phone\": \"1234567\",\n \"email\": \"1026033274@qq.com\",\n \"image\": \"\",\n \"country\": \"state\",\n \"name\": \"teest\"\n },\n {\n \"id\": 555,\n \"gender\": \"male\",\n \"latitude\": \"55\",\n \"longitude\": \"44\",\n \"dob\": \"2019-07-01T05:30:00Z\",\n \"phone\": \"12345678\",\n \"email\": \"1026033274@qq.com\",\n \"image\": \"\",\n \"country\": \"state\",\n \"name\": \"111222\"\n },\n {\n \"id\": 556,\n \"gender\": \"female\",\n \"latitude\": \"22\",\n \"longitude\": \"11\",\n \"dob\": \"2019-07-01T05:30:00Z\",\n \"phone\": \"1234567\",\n \"email\": \"1026033274@qq.com\",\n \"image\": \"1\",\n \"country\": \"brail\",\n \"name\": \"test1\"\n },\n {\n \"id\": 558,\n \"gender\": \"Male\",\n \"latitude\": \"123,45,67.32\",\n \"longitude\": null,\n \"dob\": null,\n \"phone\": null,\n \"email\": \"subrata@appsmith.com\",\n \"image\": null,\n \"country\": null,\n \"name\": \"Subrata\"\n },\n {\n \"id\": 561,\n \"gender\": \"Male\",\n \"latitude\": null,\n \"longitude\": null,\n \"dob\": null,\n \"phone\": null,\n \"email\": \"will@gmail.com\",\n \"image\": null,\n \"country\": null,\n \"name\": \"Maro\"\n },\n {\n \"id\": 562,\n \"gender\": \"female\",\n \"latitude\": \"-46.799\",\n \"longitude\": \"134.8\",\n \"dob\": \"2020-09-09T00:00:00Z\",\n \"phone\": \"1234 456 789\",\n \"email\": \"test@gmail.com\",\n \"image\": \"http://host.docker.internal:8000/photo-1492529029602-33e53698f407.jpeg\",\n \"country\": \"Australia\",\n \"name\": \"oktest\"\n },\n {\n \"id\": 566,\n \"gender\": \"femal\",\n \"latitude\": \"66\",\n \"longitude\": \"33\",\n \"dob\": \"2019-07-01T05:30:00Z\",\n \"phone\": \"123456\",\n \"email\": \"1026033274@qq.com\",\n \"image\": \"\",\n \"country\": \"china\",\n \"name\": \"test1\"\n },\n {\n \"id\": 570,\n \"gender\": \"male\",\n \"latitude\": null,\n \"longitude\": null,\n \"dob\": null,\n \"phone\": null,\n \"email\": \"balaji@appsmith.com\",\n \"image\": null,\n \"country\": null,\n \"name\": \"Balaji\"\n },\n {\n \"id\": 571,\n \"gender\": \"male\",\n \"latitude\": null,\n \"longitude\": null,\n \"dob\": null,\n \"phone\": null,\n \"email\": \"123\",\n \"image\": null,\n \"country\": null,\n \"name\": \"AAAA\"\n },\n {\n \"id\": 572,\n \"gender\": \"male\",\n \"latitude\": null,\n \"longitude\": null,\n \"dob\": null,\n \"phone\": null,\n \"email\": \"123@12.com\",\n \"image\": null,\n \"country\": null,\n \"name\": \"balaji app viewer\"\n }\n]", "label": "Data", "searchKey": "", "parentId": "0", diff --git a/app/client/cypress/fixtures/tableResizedColumnsDsl.json b/app/client/cypress/fixtures/tableResizedColumnsDsl.json index 85ea1b6a2a..8747f449d3 100644 --- a/app/client/cypress/fixtures/tableResizedColumnsDsl.json +++ b/app/client/cypress/fixtures/tableResizedColumnsDsl.json @@ -62,7 +62,7 @@ ] }, { - "image": "https://source.unsplash.com/mGFHA_0TWnA/2048x620", + "image": "http://host.docker.internal:8000/photo-1492529029602-33e53698f407.jpeg", "widgetName": "Image1", "rightColumn": 64, "widgetId": "ah4cbb9o2e", diff --git a/app/client/cypress/fixtures/tableV2ResizedColumnsDsl.json b/app/client/cypress/fixtures/tableV2ResizedColumnsDsl.json index f33aef4a6c..cdf9c50cbf 100644 --- a/app/client/cypress/fixtures/tableV2ResizedColumnsDsl.json +++ b/app/client/cypress/fixtures/tableV2ResizedColumnsDsl.json @@ -62,7 +62,7 @@ ] }, { - "image": "https://source.unsplash.com/mGFHA_0TWnA/2048x620", + "image": "http://host.docker.internal:8000/photo-1503469432756-4aae2e18d881.jpeg", "widgetName": "Image1", "rightColumn": 64, "widgetId": "ah4cbb9o2e",