PromucFlow_constructor/app/client/cypress/fixtures/testdata.json
NandanAnantharamu 34f4d4fa6e
test: cypress - iframe regression tests (#28076)
iframe regression tests
2023-10-18 11:32:15 +05:30

171 lines
7.5 KiB
JSON

{
"baseUrl": "http://host.docker.internal:5001/v1",
"methods": "/mock-api?records=10",
"headerKey": "Content-Type",
"headerValue": "application/json",
"headerValueBlank": " ",
"queryKey": "page",
"queryValue": "2",
"queryAndValue": "/mock-api?records=100",
"successStatusCode": "200 OK",
"failureStatusCode": "5000",
"responsetext": "Roger Brickelberr",
"pageResponsetext": "Josh M Krantz",
"apiname": "SecondAPI",
"baseUrl2": "https://reqres.in/",
"methods1": "api/users/1",
"responsetext2": "qui est esse",
"baseUrl3": "https://reqres.in/",
"methods2": "api/users/2",
"invalidPath": "api/users/invalid",
"responsetext3": "Josh M Krantz",
"postUrl": "https://reqres.in/",
"deleteUrl": "",
"Post": "POST",
"Delete": "DELETE",
"Patch": "PATCH",
"echoMethod": "/mock-api/echo",
"getAction": "//div[contains(@class, 'rc-select-item-option')]//div[contains(text(),'GET')]",
"putAction": "//div[contains(@class, 'rc-select-item-option')]//div[contains(text(),'PUT')]",
"postAction": "//div[contains(@class, 'rc-select-item-option')]//div[contains(text(),'POST')]",
"patchAction": "//div[contains(@class, 'rc-select-item-option')]//div[contains(text(),'PATCH')]",
"deleteAction": "//div[contains(@class, 'rc-select-item-option')]//div[contains(text(),'DELETE')]",
"moustacheMethod": "{{Api.text}}",
"nextUrl": "/mock-api?records=30&page=3&size=12",
"prevUrl": "/mock-api?records=30&page=1&size=12",
"methodsWithParam": "users?page=2",
"invalidHeader": "invalid",
"invalidValue": "invalid",
"Put": "PUT",
"Get": "GET",
"buttonName": "TestNew",
"next": "/mock-api?records=30&page=3&size=12",
"prev": "/mock-api?records=30&page=1&size=12",
"apiFormDataBodyType": "FORM_URLENCODED",
"apiFormDataHeaderValue": "application/x-www-form-urlencoded",
"apiMultipartBodyType": "multi-part",
"defaultMoustacheData": "{{Input1.text",
"defaultInputWidget": "{{Table1.selectedRow.id",
"sortedColumn": "{{Table1.sortOrder.column",
"deafultDropDownWidget": [
{
"label": "{{Table1.selectedRow.email}}",
"value": "VEG"
},
{
"label": "{{Table1.tableData[2].email}}",
"value": "NONVEG"
}
],
"defaultRichtextWidget": "{{Table1.selectedRow.userName",
"defaultDropDownValue": "1",
"defaultInputQuery": "{{Query1.data[0].id",
"defaultTableQuery": "{{Query1.data",
"labelFrmQuery": "{{Query1.data[0].name",
"command": "{command}{A}{del}",
"defaultdata": "TestData",
"input1": "(//div[@class='bp3-input-group']//input)[0]",
"input2": "(//div[@class='bp3-input-group']//input)[1]",
"input3": "(//div[@class='bp3-input-group']//input)[2]",
"videoUrl": "https://www.youtube.com/watch?v=S5musXykVs0",
"videoUrl2": "https://assets.appsmith.com/widgets/bird.mp4",
"audioUrl": "https://assets.appsmith.com/widgets/birds_chirping.mp3",
"TablePagination": [
{
"id": 2381224,
"email": "michael.lawson@reqres.in",
"userName": "Michael Lawson",
"productName": "Chicken Sandwich",
"orderAmount": 4.99
},
{
"id": 2736212,
"email": "lindsay.ferguson@reqres.in",
"userName": "Lindsay Ferguson",
"productName": "Tuna Salad",
"orderAmount": 9.99
},
{
"id": 6788734,
"email": "tobias.funke@reqres.in",
"userName": "Tobias Funke",
"productName": "Beef steak",
"orderAmount": 19.99
}
],
"addInputWidgetBinding": "{{Table1.selectedRow.id",
"externalPage": "https://www.appsmith.com/",
"loadashInput": "{{_.add(3,4)",
"momentInput": "{{moment(new Date).format('yyyy')",
"atobInput": "{{atob('QQ==')",
"btoaInput": "{{btoa('A')",
"defaultInputBinding": "{{Input2.text",
"tabBinding": "{{Tabs1.selectedTab",
"pageloadBinding": "{{PageLoadApi.data[1].id}}{{Input1.text}}",
"currentRowEmail": "{{currentRow.email}}",
"currentIndex": "{{currentIndex}}",
"currentRowOrderAmt": "{{currentRow.orderAmount}}",
"momentDate": "{{moment()}}",
"defaultRowIndexBinding": "{{Table1.selectedRowIndex",
"bindingAlign": "{{currentRow.userName.indexOf('Michael') > -1 ? 'LEFT' : 'RIGHT'}}",
"bindingSize": "{{currentRow.userName.indexOf('Michael') > -1 ? 'PARAGRAPH' : 'HEADING1'}}",
"bindingNewSize": "{{currentRow.userName.indexOf('Michael') > -1 ? '14px' : '24px'}}",
"bindingVerticalAlig": "{{currentRow.userName.indexOf('Michael') > -1 ? 'TOP' : 'BOTTOM'}}",
"bindingTextColor": "{{currentRow.userName.indexOf('Michael') > -1 ? 'GREEN' : 'RED'}}",
"bindingButton": "{{currentRow.userName.indexOf('Michael') > -1 ? 'Discount' : 'NoDiscount'}}",
"bindingStyle": "{{currentRow.userName.indexOf('Michael') > -1 ? 'BOLD' : 'ITALIC'}}",
"bindingGenAlign": "{{currentRow.userName.indexOf('Michael') > -1 ? 'RIGHT' : 'LEFT'}}",
"currentRowWithIdOutside": "#{{currentRow.email}}",
"currentRowWithIdInside": "{{\"#\" + currentRow.email}}",
"defaultdataBinding": "{'Test','This'}",
"dropdownErrorMsg": "This value does not evaluate to type Array<Object>",
"tableWidgetErrorMsg": "This value does not evaluate to type Array<Object>",
"bindingDataPoint": "{{JSON.stringify(Chart1.selectedDataPoint)}}",
"bindingSeriesTitle": "{{Chart1.selectedDataPoint.seriesTitle",
"bindChartData": "{{Chart1.selectedDataPoint",
"appUrl": "https://oauth.mocklab.io/userinfo",
"clientID": "169444434892406",
"clientSecret": "505dac16a21681f277b5fde97445be18",
"accessTokenUrl": "https://oauth.mocklab.io/oauth/token",
"oauthResponse": "169444434892406",
"authorizationURL": "https://oauth.mocklab.io/oauth/authorize",
"oauth2Scopes": "testScopes",
"basicURl": "https://envyenksqii9nf3.m.pipedream.net",
"methodWithQueryParam": "/users?q=mimeType='application/vnd.google-apps.spreadsheet'",
"apiContentTypeNone": "tab--NONE",
"apiContentTypeRaw": "tab--RAW",
"apiContentTypeJson": "tab--JSON",
"apiContentTypeForm": "tab--FORM_URLENCODED",
"apiContentTypeMultiPart": "tab--MULTIPART_FORM_DATA",
"noBodyErrorMessageDiv": "#NoBodyMessageDiv",
"noBodyErrorMessage": "This request does not have a body",
"v2Key": "6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI",
"v3Key": "6LcnzQgfAAAAAMwMlQLppqx7STvZ6pZJoDMXti8k",
"invalidKey": "abc123",
"errorMsg": "Google Re-Captcha token generation failed! Please check the Re-captcha site key.",
"treeTextBindingValue": "{{TreeSelect1.selectedOptionValue}}",
"multiSelectTextBindingValue": "{{MultiSelect1.selectedOptionValues}}",
"tabBindingValue": "{{Tabs1.selectedTab}}",
"tableBindingValue": "{{Table1.selectedRow.step}}",
"switchGroupBindingValue": "{{SwitchGroup1.selectedValues}}",
"switchBindingValue": "{{Switch1.selectedValue}}",
"selectBindingValue": "{{Select1.selectedOptionValue}}",
"currencyBindingValue": "{{CurrencyInput1.value}}",
"multitreeselectBindingValue": "{{MultiTreeSelect1.selectedOptionValues}}",
"radiogroupselectBindingValue": "{{RadioGroup1.selectedOptionValue}}",
"listBindingValue": "{{List1.selectedItem.id}}",
"ratingBindingValue": "{{Rating1.value}}",
"checkboxGroupBindingValue": "{{CheckboxGroup1.selectedValues}}",
"checkboxBindingValue": "{{Checkbox1.isChecked}}",
"audioRecorderBindingValue": "{{AudioRecorder1.isVisible}}",
"audioBindingValue": "{{Audio1.autoPlay}}",
"phoneBindingValue": "{{PhoneInput1.value}}",
"fileBindingValue": "{{FilePicker1.isDirty}}",
"UPGRADEUSERNAME": "arslan+upgrade160@appsmith.com",
"UPGRADEPASSWORD": "Test@123",
"APPURL": "http://localhost:8081/app/app1/page1-63d38854252ca15b7ec9fabb",
"iframeUrl": "https://elfsight.com/social-feed-widget/iframe/",
"iframeUrlSubstring": "https://elfsight.com/",
"iframeRandomUrl": "https://www.google.com"
}