diff --git a/app/client/cypress/e2e/Regression/ClientSide/Widgets/DocumentViewer/DocumentViewer_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/Widgets/DocumentViewer/DocumentViewer_spec.ts index f0ea56595b..510db43eef 100644 --- a/app/client/cypress/e2e/Regression/ClientSide/Widgets/DocumentViewer/DocumentViewer_spec.ts +++ b/app/client/cypress/e2e/Regression/ClientSide/Widgets/DocumentViewer/DocumentViewer_spec.ts @@ -16,8 +16,7 @@ import EditorNavigation, { const ppt = "http://host.docker.internal:4200/ppt-on-population-pptxafa26c44-208f-46a3-89cc-8a5c020b6863.pptx"; -const pngImage = - "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRb8umIiCU_K6ac-xS-ni4y6SP7XAd8C7Ms3Q&usqp=CAU"; +const pngImage = "https://www.appsmith.com/favicon.png"; const jpgImage = "https://community.appsmith.com/sites/default/files/styles/small_thumbnail/public/2024-03/aws-logo.jpg?itok=yG4bpfFs"; const pdf = "http://host.docker.internal:4200/sample-pdf-file.pdf"; @@ -211,10 +210,7 @@ describe( agHelper.AssertElementExist( locators._widgetInDeployed("documentviewerwidget"), ); - agHelper.AssertContains( - "Current file type is not supported", - "not.exist", - ); + agHelper.AssertContains("Current file type is not supported"); deployMode.NavigateBacktoEditor(); //Should not show an jpg image file" EditorNavigation.SelectEntityByName("DocumentViewer1", EntityType.Widget); 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 86cad0ac36..e15a1a5095 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 @@ -18,9 +18,9 @@ describe( { tags: ["@tag.Widget", "@tag.Modal"] }, function () { const image = (src: string) => 'img[src="' + src + '"]'; - const jpgImg = "https://jpeg.org/images/jpegsystems-home.jpg"; - const gifImg = - "https://mir-s3-cdn-cf.behance.net/project_modules/max_1200/5eeea355389655.59822ff824b72.gif"; + const jpgImg = + "https://community.appsmith.com/sites/default/files/styles/small_thumbnail/public/2024-03/aws-logo.jpg"; + const gifImg = "https://docs.appsmith.com/img/multi-update-sql.gif"; it("1. Modal widget functionality", () => { entityExplorer.DragDropWidgetNVerify(draggableWidgets.BUTTON); diff --git a/app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/TableBugs_Spec.ts b/app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/TableBugs_Spec.ts index 89f9b2db41..76fe42474d 100644 --- a/app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/TableBugs_Spec.ts +++ b/app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV1/TableBugs_Spec.ts @@ -30,33 +30,31 @@ describe( _.deployMode.DeployApp(); //_.table.SelectTableRow(1) - _.table.ReadTableRowColumnData(0, 0).then(($cellData) => { - expect($cellData).to.eq("1376499.jpg"); + expect($cellData).contains("cube-logo_S50__hLNq.jpeg"); }); _.table.ReadTableRowColumnData(1, 0).then(($cellData) => { - expect($cellData).to.eq("https://wallpaperaccess.com/full/1688623.jpg"); + expect($cellData).to.eq( + "https://docs.appsmith.com/img/Appsmith-Login-Screen-Shows-SAML.jpg", + ); }); _.table.ReadTableRowColumnData(2, 0).then(($cellData) => { - expect($cellData).to.eq("2117775.jpg"); + expect($cellData).contains("zapier-logo_odZ9wZQ3vY.jpeg"); }); _.table.ReadTableRowColumnData(3, 0).then(($cellData) => { - expect($cellData).to.eq("https://wallpaperaccess.com/full/812632.jpg"); + expect($cellData).to.eq( + "https://docs.appsmith.com/img/replyto-logo_6yaZHFIeU.jpeg", + ); }); _.table.AssertURLColumnNavigation( 0, 0, - "https://wallpaperaccess.com/full/1376499.jpg", + "https://docs.appsmith.com/img/cube-logo_S50__hLNq.jpeg", ); - // _.table.AssertURLColumnNavigation( - // 3, - // 0, - // "https://wallpaperaccess.com/full/812632.jpg", - // ); _.deployMode.NavigateBacktoEditor(); }); @@ -73,31 +71,30 @@ describe( _.deployMode.DeployApp(); _.table.ReadTableRowColumnData(0, 0).then(($cellData) => { - expect($cellData).to.eq("1376499.jpg"); + expect($cellData).contains("cube-logo_S50__hLNq.jpeg"); }); _.table.ReadTableRowColumnData(1, 0).then(($cellData) => { - expect($cellData).to.eq("https://wallpaperaccess.com/full/1688623.jpg"); + expect($cellData).to.eq( + "https://docs.appsmith.com/img/Appsmith-Login-Screen-Shows-SAML.jpg", + ); }); _.table.ReadTableRowColumnData(2, 0).then(($cellData) => { - expect($cellData).to.eq("2117775.jpg"); + expect($cellData).contains("zapier-logo_odZ9wZQ3vY.jpeg"); }); _.table.ReadTableRowColumnData(3, 0).then(($cellData) => { - expect($cellData).to.eq("https://wallpaperaccess.com/full/812632.jpg"); + expect($cellData).to.eq( + "https://docs.appsmith.com/img/replyto-logo_6yaZHFIeU.jpeg", + ); }); _.table.AssertURLColumnNavigation( 1, 0, - "https://wallpaperaccess.com/full/1688623.jpg", + "https://docs.appsmith.com/img/Appsmith-Login-Screen-Shows-SAML.jpg", ); - // _.table.AssertURLColumnNavigation( - // 2, - // 0, - // "https://wallpaperaccess.com/full/2117775.jpg", - // ); _.deployMode.NavigateBacktoEditor(); }); @@ -114,31 +111,30 @@ describe( _.deployMode.DeployApp(); _.table.ReadTableRowColumnData(0, 0).then(($cellData) => { - expect($cellData).to.eq("1376499.jpg"); + expect($cellData).contains("cube-logo_S50__hLNq.jpeg"); }); _.table.ReadTableRowColumnData(1, 0).then(($cellData) => { - expect($cellData).to.eq("https://wallpaperaccess.com/full/1688623.jpg"); + expect($cellData).to.eq( + "https://docs.appsmith.com/img/Appsmith-Login-Screen-Shows-SAML.jpg", + ); }); _.table.ReadTableRowColumnData(2, 0).then(($cellData) => { - expect($cellData).to.eq("2117775.jpg"); + expect($cellData).contains("zapier-logo_odZ9wZQ3vY.jpeg"); }); _.table.ReadTableRowColumnData(3, 0).then(($cellData) => { - expect($cellData).to.eq("https://wallpaperaccess.com/full/812632.jpg"); + expect($cellData).to.eq( + "https://docs.appsmith.com/img/replyto-logo_6yaZHFIeU.jpeg", + ); }); _.table.AssertURLColumnNavigation( 0, 0, - "https://wallpaperaccess.com/full/1376499.jpg", + "https://docs.appsmith.com/img/cube-logo_S50__hLNq.jpeg", ); - // _.table.AssertURLColumnNavigation( - // 3, - // 0, - // "https://wallpaperaccess.com/full/812632.jpg", - // ); _.deployMode.NavigateBacktoEditor(); }); diff --git a/app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV2/table_data_change_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV2/table_data_change_spec.ts index 4433da97b7..427fa103ec 100644 --- a/app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV2/table_data_change_spec.ts +++ b/app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV2/table_data_change_spec.ts @@ -62,7 +62,7 @@ const TABLE_DATA_2 = `[ "name": "Barty Crouch", "status": "APPROVED", "gender": "", - "avatar": "https://robohash.org/sednecessitatibuset.png?size=100x100&set=set1", + "avatar": "http://host.docker.internal:4200/clouddefaultImage.png", "email": "barty.crouch@gmail.com", "address": "St Petersberg #911 4th main", "createdAt": "2020-03-16T18:00:05.000Z", @@ -73,7 +73,7 @@ const TABLE_DATA_2 = `[ "name": "Jenelle Kibbys", "status": "APPROVED", "gender": "Female", - "avatar": "https://robohash.org/quiaasperiorespariatur.bmp?size=100x100&set=set1", + "avatar": "http://host.docker.internal:4200/453-200x300.jpg", "email": "jkibby1@hp.com", "address": "85 Tennessee Plaza", "createdAt": "2019-10-04T03:22:23.000Z", @@ -84,7 +84,7 @@ const TABLE_DATA_2 = `[ "name": "Demetre", "status": "APPROVED", "gender": "Male", - "avatar": "https://robohash.org/iustooptiocum.jpg?size=100x100&set=set1", + "avatar": "http://host.docker.internal:4200/clouddefaultImage.png", "email": "aaaa@bbb.com", "address": "262 Saint Paul Park", "createdAt": "2020-05-01T17:30:50.000Z", @@ -95,7 +95,7 @@ const TABLE_DATA_2 = `[ "name": "Tobin Shellibeer", "status": "APPROVED", "gender": "Male", - "avatar": "https://robohash.org/odioeumdolores.png?size=100x100&set=set1", + "avatar": "http://host.docker.internal:4200/453-200x300.jpg", "email": "tshellibeer9@ihg.com", "address": "4 Ridgeway Lane", "createdAt": "2019-11-27T06:09:41.000Z", diff --git a/app/client/cypress/e2e/Regression/ServerSide/ApiTests/Api_XSS_Vulnerability_spec.ts b/app/client/cypress/e2e/Regression/ServerSide/ApiTests/Api_XSS_Vulnerability_spec.ts index ecd353533f..3acaf34005 100644 --- a/app/client/cypress/e2e/Regression/ServerSide/ApiTests/Api_XSS_Vulnerability_spec.ts +++ b/app/client/cypress/e2e/Regression/ServerSide/ApiTests/Api_XSS_Vulnerability_spec.ts @@ -4,7 +4,8 @@ describe( "Ensure XSS vulnerability are handled", { tags: ["@tag.Datasource"] }, () => { - const test_rest_api_url1 = "https://jsonplaceholder.typicode.com/users"; + const test_rest_api_url1 = + "http://host.docker.internal:5001/v1/mock-api?records=20"; it("1. Ensures xss scripts are not executed when an API is run.", () => { apiPage.CreateApi("FirstAPI"); diff --git a/app/client/cypress/e2e/Regression/ServerSide/OnLoadTests/OnLoadActions_Spec.ts b/app/client/cypress/e2e/Regression/ServerSide/OnLoadTests/OnLoadActions_Spec.ts index 8da531365f..d3c0632939 100644 --- a/app/client/cypress/e2e/Regression/ServerSide/OnLoadTests/OnLoadActions_Spec.ts +++ b/app/client/cypress/e2e/Regression/ServerSide/OnLoadTests/OnLoadActions_Spec.ts @@ -3,6 +3,7 @@ import { apiPage, assertHelper, dataManager, + dataSources, deployMode, entityExplorer, entityItems, @@ -53,22 +54,35 @@ describe( "RandomUser", ); + apiPage.RunAPI(); + agHelper.GetNClick(dataSources._queryResponse("JSON")); + apiPage.CreateAndFillApi( - "https://favqs.com/api/qotd", + "http://host.docker.internal:5001/v1/favqs/qotd", "InspiringQuotes", 30000, ); apiPage.EnterHeader("dependency", "{{RandomUser.data}}"); //via Params tab + apiPage.RunAPI(); + agHelper.GetNClick(dataSources._queryResponse("JSON")); apiPage.CreateAndFillApi( - "https://www.boredapi.com/api/activity", + "http://host.docker.internal:5001/v1/boredapi/activity", "Suggestions", 30000, ); - apiPage.EnterHeader("dependency", "{{InspiringQuotes.data}}"); + apiPage.EnterHeader("dependency", "{{InspiringQuotes.data.data}}"); + apiPage.RunAPI(); + agHelper.GetNClick(dataSources._queryResponse("JSON")); - apiPage.CreateAndFillApi("https://api.genderize.io", "Genderize", 30000); - apiPage.EnterParams("name", "{{RandomUser.data.results[0].name.first}}"); //via Params tab + apiPage.CreateAndFillApi( + "http://host.docker.internal:5001/v1/genderize/sampledata", + "Genderize", + 30000, + ); + apiPage.EnterParams("name", "{{RandomUser.data[0].name}}"); //via Params tab + apiPage.RunAPI(); + agHelper.GetNClick(dataSources._queryResponse("JSON")); //Adding dependency in right order matters! EditorNavigation.SelectEntityByName("Image1", EntityType.Widget); @@ -77,19 +91,19 @@ describe( EditorNavigation.SelectEntityByName("Image2", EntityType.Widget); propPane.UpdatePropertyFieldValue( "Image", - `{{RandomUser.data.results[0].picture.large}}`, + `{{RandomUser.data[0].avatar}}`, ); EditorNavigation.SelectEntityByName("Text1", EntityType.Widget); propPane.UpdatePropertyFieldValue( "Text", - `{{InspiringQuotes.data.quote.body}}\n--\n{{InspiringQuotes.data.quote.author}}\n`, + `{{InspiringQuotes.data.data.quote.body}}\n--\n{{InspiringQuotes.data.data.quote.author}}\n`, ); EditorNavigation.SelectEntityByName("Text2", EntityType.Widget); propPane.UpdatePropertyFieldValue( "Text", - `Hi, here is {{RandomUser.data.results[0].name.first}} & I'm {{RandomUser.data.results[0].dob.age}}'yo\nI live in {{RandomUser.data.results[0].location.country}}\nMy Suggestion : {{Suggestions.data.activity}}\n\nI'm {{Genderize.data.gender}}`, + `Hi, here is {{RandomUser.data[0].name}} & I'm {{RandomUser.data[0].id}}'yo\nI live in {{RandomUser.data[0].address}}\nMy Suggestion : {{Suggestions.data.data.activity}}\n\nI'm {{Genderize.data.data.gender}}`, ); deployMode.DeployApp(locators._widgetInDeployed("textwidget"), false); @@ -99,32 +113,27 @@ describe( cy.get("@getConsolidatedData").then(($response: any) => { const respBody = JSON.stringify($response.response?.body); const { pageWithMigratedDsl } = JSON.parse(respBody)?.data; - const _randomFlora = - pageWithMigratedDsl.data.layouts[0].layoutOnLoadActions[0]; - const _randomUser = - pageWithMigratedDsl.data.layouts[0].layoutOnLoadActions[1]; - const _genderize = - pageWithMigratedDsl.data.layouts[0].layoutOnLoadActions[2]; - const _suggestions = - pageWithMigratedDsl.data.layouts[0].layoutOnLoadActions[3]; - expect(JSON.parse(JSON.stringify(_randomFlora))[0]["name"]).to.eq( - "RandomFlora", - ); - expect(JSON.parse(JSON.stringify(_randomUser))[0]["name"]).to.eq( - "RandomUser", - ); - expect(JSON.parse(JSON.stringify(_genderize))[0]["name"]).to.be.oneOf([ - "Genderize", - "InspiringQuotes", - ]); - expect(JSON.parse(JSON.stringify(_genderize))[1]["name"]).to.be.oneOf([ - "Genderize", - "InspiringQuotes", - ]); - expect(JSON.parse(JSON.stringify(_suggestions))[0]["name"]).to.eq( - "Suggestions", - ); + // Extract the layoutOnLoadActions array from the first layout + const layoutActions = + pageWithMigratedDsl.data.layouts[0].layoutOnLoadActions; + + // Get individual actions from the array + const _randomFlora = layoutActions[0][0]; // RandomFlora is the first action in the first array + const _randomUser = layoutActions[1][0]; // RandomUser is the first action in the second array + const _inspiringQuotes = layoutActions[2][0]; // InspiringQuotes is the first action in the third array + const _genderize = layoutActions[3][0]; // Genderize is the first action in the fourth array + const _suggestions = layoutActions[4][0]; // Suggestions is the first action in the fifth array + + // Assertions for the API names + expect(_randomFlora.name).to.eq("RandomFlora"); + expect(_randomUser.name).to.eq("RandomUser"); + + // Check if the name is either 'Genderize' or 'InspiringQuotes' for this position + expect(_inspiringQuotes.name).to.eq("InspiringQuotes"); + expect(_genderize.name).to.eq("Genderize"); + + expect(_suggestions.name).to.eq("Suggestions"); }); deployMode.NavigateBacktoEditor(); @@ -141,7 +150,7 @@ describe( }); apiPage.CreateAndFillApi( - "https://api.genderize.io?name={{RandomUser.data.results[0].name.first}}", + "http://host.docker.internal:5001/v1/genderize/sampledata?name={{RandomUser.data[0].name}}", "Genderize", 30000, "GET", @@ -150,8 +159,10 @@ describe( ); apiPage.ValidateQueryParams({ key: "name", - value: "{{RandomUser.data.results[0].name.first}}", + value: "{{RandomUser.data[0].name}}", }); // verifies Bug 10055 + apiPage.RunAPI(); + agHelper.GetNClick(dataSources._queryResponse("JSON")); deployMode.DeployApp( locators._widgetInDeployed("textwidget"), @@ -164,32 +175,27 @@ describe( const respBody = JSON.stringify($response.response?.body); const { pageWithMigratedDsl } = JSON.parse(respBody)?.data; - const _randomFlora = - pageWithMigratedDsl.data.layouts[0].layoutOnLoadActions[0]; - const _randomUser = - pageWithMigratedDsl.data.layouts[0].layoutOnLoadActions[1]; - const _genderize = - pageWithMigratedDsl.data.layouts[0].layoutOnLoadActions[2]; - const _suggestions = - pageWithMigratedDsl.data.layouts[0].layoutOnLoadActions[3]; + // Extract layoutOnLoadActions from the first layout + const layoutActions = + pageWithMigratedDsl.data.layouts[0].layoutOnLoadActions; - expect(JSON.parse(JSON.stringify(_randomFlora))[0]["name"]).to.eq( - "RandomFlora", - ); - expect(JSON.parse(JSON.stringify(_randomUser))[0]["name"]).to.eq( - "RandomUser", - ); - expect(JSON.parse(JSON.stringify(_genderize))[0]["name"]).to.be.oneOf([ - "Genderize", - "InspiringQuotes", - ]); - expect(JSON.parse(JSON.stringify(_genderize))[1]["name"]).to.be.oneOf([ - "Genderize", - "InspiringQuotes", - ]); - expect(JSON.parse(JSON.stringify(_suggestions))[0]["name"]).to.eq( - "Suggestions", - ); + // Get the individual actions + const _randomFlora = layoutActions[0][0]; // First item in the first array + const _randomUser = layoutActions[1][0]; // First item in the second array + const _inspiringQuotes = layoutActions[2][0]; // First item in the third array + const _genderize = layoutActions[3][0]; // First item in the fourth array + const _suggestions = layoutActions[4][0]; // First item in the fifth array + + // Assertions for the API names + expect(_randomFlora.name).to.eq("RandomFlora"); + expect(_randomUser.name).to.eq("RandomUser"); + + // Check if the name is either 'Genderize' or 'InspiringQuotes' for these positions + expect(_inspiringQuotes.name).to.eq("InspiringQuotes"); + expect(_genderize.name).to.eq("Genderize"); + + // Assertions for 'Suggestions' + expect(_suggestions.name).to.eq("Suggestions"); }); }); }, diff --git a/app/client/cypress/e2e/Sanity/Datasources/MsSQL_Basic_Spec.ts b/app/client/cypress/e2e/Sanity/Datasources/MsSQL_Basic_Spec.ts index 9f97d88433..ce08c00a4f 100644 --- a/app/client/cypress/e2e/Sanity/Datasources/MsSQL_Basic_Spec.ts +++ b/app/client/cypress/e2e/Sanity/Datasources/MsSQL_Basic_Spec.ts @@ -83,16 +83,16 @@ describe( ,rating NUMERIC(3,1) ,votes INTEGER ); - INSERT INTO Simpsons(episode_id,season,episode,number_in_series,title,summary,air_date,episode_image,rating,votes) VALUES ('S1-E1',1,1,1,'Simpsons Roasting on an Open Fire','The family is forced to spend all of their savings to get Bart''s new tattoo removed, and with no money for Christmas, Homer is forced to become a store Santa.','1989-12-17','https://m.media-amazon.com/images/M/MV5BZjJjMzMwOTctODk5ZC00NWM4LTgyNjAtNjNmN2I1OTc5OTAyXkEyXkFqcGdeQXVyNTAyODkwOQ@@._V1_UY126_UX224_ALjpg',8.1,5499); - INSERT INTO Simpsons(episode_id,season,episode,number_in_series,title,summary,air_date,episode_image,rating,votes) VALUES ('S1-E2',1,2,2,'Bart the Genius','Bart ends up at a school for gifted children after cheating on an IQ test.','1990-01-14','https://m.media-amazon.com/images/M/MV5BOTA0MTk3ZjktZGFhMi00ODcxLTlkYzgtZTJiMTQ5Y2I4MzhiXkEyXkFqcGdeQXVyNTAyODkwOQ@@._V1_UY126_UX224_ALjpg',7.8,3456); - INSERT INTO Simpsons(episode_id,season,episode,number_in_series,title,summary,air_date,episode_image,rating,votes) VALUES ('S1-E3',1,3,3,'Homer''s Odyssey','After losing his job, Homer contemplates ending it all, until he discovers a new life path as a safety advocate.','1990-01-21','https://m.media-amazon.com/images/M/MV5BMzQ3M2M1YjQtNTkzNS00MDlhLWFiY2QtOWJiODZhNGJlZWMxXkEyXkFqcGdeQXVyNTAyODkwOQ@@._V1_UY126_UX224_ALjpg',7.4,3034); - INSERT INTO Simpsons(episode_id,season,episode,number_in_series,title,summary,air_date,episode_image,rating,votes) VALUES ('S1-E4',1,4,4,'There''s No Disgrace Like Home','After being embarrassed by the rest of the family at a company picnic, Homer becomes obsessed with improving their behavior towards each other.','1990-01-28','https://m.media-amazon.com/images/M/MV5BOTZmNmE1NDUtMmRhOC00ZTYyLTkzMTEtOTM5YTgwMTc5YmMxXkEyXkFqcGdeQXVyNTAyODkwOQ@@._V1_UY126_UX224_ALjpg',7.7,2978); - INSERT INTO Simpsons(episode_id,season,episode,number_in_series,title,summary,air_date,episode_image,rating,votes) VALUES ('S1-E5',1,5,5,'Bart the General','After being beaten up by Nelson Muntz one too many times, Bart turns to Grampa for help, and soon leads a rebellion against the school bully.','1990-02-04','https://m.media-amazon.com/images/M/MV5BMzk4ZDU2OTMtZjM0NC00ZWIyLWFmNmQtMjcyZGQ1OWE0ZWMyXkEyXkFqcGdeQXVyNTAyODkwOQ@@._V1_UY126_UX224_ALjpg',8.0,3023); - INSERT INTO Simpsons(episode_id,season,episode,number_in_series,title,summary,air_date,episode_image,rating,votes) VALUES ('S1-E6',1,6,6,'Moaning Lisa','A depressed Lisa''s spirit is lifted when she meets a jazz-man, Bleeding Gums Murphy.','1990-02-11','https://m.media-amazon.com/images/M/MV5BODI3ZmEzMmEtNjE2MS00MjMyLWI0MmEtMTdhMWE4YzUwMzkwXkEyXkFqcGdeQXVyNTAyODkwOQ@@._V1_UY126_UX224_ALjpg',7.6,2903); - INSERT INTO Simpsons(episode_id,season,episode,number_in_series,title,summary,air_date,episode_image,rating,votes) VALUES ('S1-E7',1,7,7,'The Call of the Simpsons','Homer takes the family camping, but it soon becomes a misadventure when they lose their equipment and Homer is mistaken for Bigfoot.','1990-02-18','https://m.media-amazon.com/images/M/MV5BOTkxMzY3Y2QtMWMyMC00NDllLTkyMTctZTY4MDFjZGExYTc1XkEyXkFqcGdeQXVyNTAyODkwOQ@@._V1_UY126_UX224_ALjpg',7.8,2807); - INSERT INTO Simpsons(episode_id,season,episode,number_in_series,title,summary,air_date,episode_image,rating,votes) VALUES ('S1-E8',1,8,8,'The Telltale Head','Bart gets more than he bargained for when he saws the head off a statue of the town''s founder.','1990-02-25','https://m.media-amazon.com/images/M/MV5BMzhhNTM3ZDYtYWQ3OS00NDU2LTk4MGEtOGZmMWUwODlmMjQyXkEyXkFqcGdeQXVyNTAyODkwOQ@@._V1_UY126_UX224_ALjpg',7.7,2733); - INSERT INTO Simpsons(episode_id,season,episode,number_in_series,title,summary,air_date,episode_image,rating,votes) VALUES ('S1-E9',1,9,9,'Life on the Fast Lane','Marge contemplates an affair with a handsome bowling instructor.','1990-03-18','https://m.media-amazon.com/images/M/MV5BNzcxYWExZWYtMzY1MC00YjhlLWFmZmUtOTQ3ODZhZTUwN2EzXkEyXkFqcGdeQXVyNTAyODkwOQ@@._V1_UY126_UX224_ALjpg',7.5,2716); - INSERT INTO Simpsons(episode_id,season,episode,number_in_series,title,summary,air_date,episode_image,rating,votes) VALUES ('S1-E10',1,10,10,'Homer''s Night Out','After a photograph of Homer canoodling with an exotic dancer is distributed throughout Springfield, he finds himself kicked out of the house by Marge.','1990-03-25','https://m.media-amazon.com/images/M/MV5BMTQ4NzU0MjY1OF5BMl5BanBnXkFtZTgwNTE4NTQ2MjE@._V1_UX224_CR0,0,224,126_ALjpg',7.3,2624);`; + INSERT INTO Simpsons(episode_id,season,episode,number_in_series,title,summary,air_date,episode_image,rating,votes) VALUES ('S1-E1',1,1,1,'Simpsons Roasting on an Open Fire','The family is forced to spend all of their savings to get Bart''s new tattoo removed, and with no money for Christmas, Homer is forced to become a store Santa.','1989-12-17','https://appsmith.com/images/M/MV5BZjJjMzMwOTctODk5ZC00NWM4LTgyNjAtNjNmN2I1OTc5OTAyXkEyXkFqcGdeQXVyNTAyODkwOQ@@._V1_UY126_UX224_ALjpg',8.1,5499); + INSERT INTO Simpsons(episode_id,season,episode,number_in_series,title,summary,air_date,episode_image,rating,votes) VALUES ('S1-E2',1,2,2,'Bart the Genius','Bart ends up at a school for gifted children after cheating on an IQ test.','1990-01-14','https://appsmith.com/images/M/MV5BOTA0MTk3ZjktZGFhMi00ODcxLTlkYzgtZTJiMTQ5Y2I4MzhiXkEyXkFqcGdeQXVyNTAyODkwOQ@@._V1_UY126_UX224_ALjpg',7.8,3456); + INSERT INTO Simpsons(episode_id,season,episode,number_in_series,title,summary,air_date,episode_image,rating,votes) VALUES ('S1-E3',1,3,3,'Homer''s Odyssey','After losing his job, Homer contemplates ending it all, until he discovers a new life path as a safety advocate.','1990-01-21','https://appsmith.com/images/M/MV5BMzQ3M2M1YjQtNTkzNS00MDlhLWFiY2QtOWJiODZhNGJlZWMxXkEyXkFqcGdeQXVyNTAyODkwOQ@@._V1_UY126_UX224_ALjpg',7.4,3034); + INSERT INTO Simpsons(episode_id,season,episode,number_in_series,title,summary,air_date,episode_image,rating,votes) VALUES ('S1-E4',1,4,4,'There''s No Disgrace Like Home','After being embarrassed by the rest of the family at a company picnic, Homer becomes obsessed with improving their behavior towards each other.','1990-01-28','https://appsmith.com/images/M/MV5BOTZmNmE1NDUtMmRhOC00ZTYyLTkzMTEtOTM5YTgwMTc5YmMxXkEyXkFqcGdeQXVyNTAyODkwOQ@@._V1_UY126_UX224_ALjpg',7.7,2978); + INSERT INTO Simpsons(episode_id,season,episode,number_in_series,title,summary,air_date,episode_image,rating,votes) VALUES ('S1-E5',1,5,5,'Bart the General','After being beaten up by Nelson Muntz one too many times, Bart turns to Grampa for help, and soon leads a rebellion against the school bully.','1990-02-04','https://appsmith.com/images/M/MV5BMzk4ZDU2OTMtZjM0NC00ZWIyLWFmNmQtMjcyZGQ1OWE0ZWMyXkEyXkFqcGdeQXVyNTAyODkwOQ@@._V1_UY126_UX224_ALjpg',8.0,3023); + INSERT INTO Simpsons(episode_id,season,episode,number_in_series,title,summary,air_date,episode_image,rating,votes) VALUES ('S1-E6',1,6,6,'Moaning Lisa','A depressed Lisa''s spirit is lifted when she meets a jazz-man, Bleeding Gums Murphy.','1990-02-11','https://appsmith.com/images/M/MV5BODI3ZmEzMmEtNjE2MS00MjMyLWI0MmEtMTdhMWE4YzUwMzkwXkEyXkFqcGdeQXVyNTAyODkwOQ@@._V1_UY126_UX224_ALjpg',7.6,2903); + INSERT INTO Simpsons(episode_id,season,episode,number_in_series,title,summary,air_date,episode_image,rating,votes) VALUES ('S1-E7',1,7,7,'The Call of the Simpsons','Homer takes the family camping, but it soon becomes a misadventure when they lose their equipment and Homer is mistaken for Bigfoot.','1990-02-18','https://appsmith.com/images/M/MV5BOTkxMzY3Y2QtMWMyMC00NDllLTkyMTctZTY4MDFjZGExYTc1XkEyXkFqcGdeQXVyNTAyODkwOQ@@._V1_UY126_UX224_ALjpg',7.8,2807); + INSERT INTO Simpsons(episode_id,season,episode,number_in_series,title,summary,air_date,episode_image,rating,votes) VALUES ('S1-E8',1,8,8,'The Telltale Head','Bart gets more than he bargained for when he saws the head off a statue of the town''s founder.','1990-02-25','https://appsmith.com/images/M/MV5BMzhhNTM3ZDYtYWQ3OS00NDU2LTk4MGEtOGZmMWUwODlmMjQyXkEyXkFqcGdeQXVyNTAyODkwOQ@@._V1_UY126_UX224_ALjpg',7.7,2733); + INSERT INTO Simpsons(episode_id,season,episode,number_in_series,title,summary,air_date,episode_image,rating,votes) VALUES ('S1-E9',1,9,9,'Life on the Fast Lane','Marge contemplates an affair with a handsome bowling instructor.','1990-03-18','https://appsmith.com/images/M/MV5BNzcxYWExZWYtMzY1MC00YjhlLWFmZmUtOTQ3ODZhZTUwN2EzXkEyXkFqcGdeQXVyNTAyODkwOQ@@._V1_UY126_UX224_ALjpg',7.5,2716); + INSERT INTO Simpsons(episode_id,season,episode,number_in_series,title,summary,air_date,episode_image,rating,votes) VALUES ('S1-E10',1,10,10,'Homer''s Night Out','After a photograph of Homer canoodling with an exotic dancer is distributed throughout Springfield, he finds himself kicked out of the house by Marge.','1990-03-25','https://appsmith.com/images/M/MV5BMTQ4NzU0MjY1OF5BMl5BanBnXkFtZTgwNTE4NTQ2MjE@._V1_UX224_CR0,0,224,126_ALjpg',7.3,2624);`; dataSources.EnterQuery(query); dataSources.RunQuery(); }); diff --git a/app/client/cypress/fixtures/TestDataSet1.json b/app/client/cypress/fixtures/TestDataSet1.json index cb390bc6c8..9032f9db78 100644 --- a/app/client/cypress/fixtures/TestDataSet1.json +++ b/app/client/cypress/fixtures/TestDataSet1.json @@ -441,19 +441,19 @@ ], "TableURLColumnType": [ { - "image": "https://wallpaperaccess.com/full/1376499.jpg", + "image": "https://docs.appsmith.com/img/cube-logo_S50__hLNq.jpeg", "userName": "Michael Lawson" }, { - "image": "https://wallpaperaccess.com/full/1688623.jpg", + "image": "https://docs.appsmith.com/img/Appsmith-Login-Screen-Shows-SAML.jpg", "userName": "Lindsay Ferguson" }, { - "image": "https://wallpaperaccess.com/full/2117775.jpg", + "image": "https://docs.appsmith.com/img/zapier-logo_odZ9wZQ3vY.jpeg", "userName": "Byron Fields" }, { - "image": "https://wallpaperaccess.com/full/812632.jpg", + "image": "https://docs.appsmith.com/img/replyto-logo_6yaZHFIeU.jpeg", "userName": "Toby William" } ], diff --git a/app/client/cypress/fixtures/modalWidgetTestApp.json b/app/client/cypress/fixtures/modalWidgetTestApp.json index 93186b6d0f..3b2f53cf18 100644 --- a/app/client/cypress/fixtures/modalWidgetTestApp.json +++ b/app/client/cypress/fixtures/modalWidgetTestApp.json @@ -510,7 +510,7 @@ "leftColumn": 0.0, "defaultImage": "https://assets.appsmith.com/widgets/default.png", "key": "an3dz32jnz", - "image": "https://jpeg.org/images/jpegsystems-home.jpg", + "image": "https://community.appsmith.com/sites/default/files/styles/small_thumbnail/public/2024-03/aws-logo.jpg", "isDeprecated": false, "rightColumn": 16.0, "objectFit": "cover", @@ -1075,7 +1075,7 @@ "imageShape": "RECTANGLE", "leftColumn": 32.0, "dynamicBindingPathList": [{ "key": "borderRadius" }], - "defaultImage": "https://mir-s3-cdn-cf.behance.net/project_modules/max_1200/5eeea355389655.59822ff824b72.gif", + "defaultImage": "https://docs.appsmith.com/img/multi-update-sql.gif", "key": "an3dz32jnz", "image": "", "isDeprecated": false, @@ -4225,7 +4225,7 @@ "leftColumn": 0.0, "defaultImage": "https://assets.appsmith.com/widgets/default.png", "key": "an3dz32jnz", - "image": "https://jpeg.org/images/jpegsystems-home.jpg", + "image": "https://community.appsmith.com/sites/default/files/styles/small_thumbnail/public/2024-03/aws-logo.jpg", "isDeprecated": false, "rightColumn": 16.0, "objectFit": "cover", @@ -4790,7 +4790,7 @@ "imageShape": "RECTANGLE", "leftColumn": 32.0, "dynamicBindingPathList": [{ "key": "borderRadius" }], - "defaultImage": "https://mir-s3-cdn-cf.behance.net/project_modules/max_1200/5eeea355389655.59822ff824b72.gif", + "defaultImage": "https://docs.appsmith.com/img/multi-update-sql.gif", "key": "an3dz32jnz", "image": "", "isDeprecated": false, diff --git a/app/client/cypress/fixtures/onPageLoadActionsDsl.json b/app/client/cypress/fixtures/onPageLoadActionsDsl.json index fce6d97f48..a79f4df707 100644 --- a/app/client/cypress/fixtures/onPageLoadActionsDsl.json +++ b/app/client/cypress/fixtures/onPageLoadActionsDsl.json @@ -34,7 +34,7 @@ "imageShape": "RECTANGLE", "leftColumn": 8, "dynamicBindingPathList": [], - "defaultImage": "http://host.docker.internal:4200/clouddefaultImage.png", + "defaultImage": "https://www.appsmith.com/favicon.png", "key": "nyx7m0wdr7", "image": "", "rightColumn": 54, @@ -122,7 +122,7 @@ "imageShape": "RECTANGLE", "leftColumn": 8, "dynamicBindingPathList": [], - "defaultImage": "http://host.docker.internal:4200/clouddefaultImage.png", + "defaultImage": "https://www.appsmith.com/favicon.png", "key": "agtoehwrk0", "image": "", "rightColumn": 27,