PromucFlow_constructor/app/client/cypress/fixtures/testdata.json
2020-11-04 20:23:13 +05:30

178 lines
5.0 KiB
JSON

{
"baseUrl": "https://mock-api.appsmith.com/",
"methods": "users",
"headerKey": "Content-Type",
"headerValue": "application/json",
"headerValueBlank": " ",
"queryKey": "page",
"queryValue": "2",
"queryAndValue": "users?page=2",
"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",
"methodput": "api/users/2",
"methodpost": "api/users",
"methodpatch": "api/users/2",
"methoddelete": "1",
"putAction": "//div[contains(@id,'react-select') and contains(text(),'PUT')]",
"postAction": "//div[contains(@id,'react-select') and contains(text(),'POST')]",
"patchAction": "//div[contains(@id,'react-select') and contains(text(),'PATCH')]",
"deleteAction": "//div[contains(@id,'react-select') and contains(text(),'DELETE')]",
"moustacheMethod": "{{Api.text}}",
"nextUrl": ".data.next}}",
"prevUrl": ".data.previous}}",
"methodsWithParam": "users?page=2",
"invalidHeader": "invalid",
"invalidValue": "invalid",
"Put": "PUT",
"Get": "GET",
"next": "?page=2&pageSize=10",
"prev": "?page=1&pageSize=10",
"apiFormDataBodyType": "x-www-form-urlencoded",
"defaultMoustacheData": "{{Input1.text",
"defaultInputWidget": "{{Table1.selectedRow.id",
"deafultDropDownWidget": [
{
"label": "{{Table1.selectedRow.email}}",
"value": "VEG"
},
{
"label": "{{Table1.tableData[1].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",
"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
},
{
"id": 7434532,
"email": "byron.fields@reqres.in",
"userName": "Byron Fields",
"productName": "Chicken Sandwich",
"orderAmount": 4.99
},
{
"id": 7434532,
"email": "ryan.holmes@reqres.in",
"userName": "Ryan Holmes",
"productName": "Avocado Panini",
"orderAmount": 7.99
},
{
"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
},
{
"id": 7434532,
"email": "byron.fields@reqres.in",
"userName": "Byron Fields",
"productName": "Chicken Sandwich",
"orderAmount": 4.99
},
{
"id": 7434532,
"email": "ryan.holmes@reqres.in",
"userName": "Ryan Holmes",
"productName": "Avocado Panini",
"orderAmount": 7.99
},
{
"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
},
{
"id": 7434532,
"email": "byron.fields@reqres.in",
"userName": "Byron Fields",
"productName": "Chicken Sandwich",
"orderAmount": 4.99
},
{
"id": 7434532,
"email": "ryan.holmes@reqres.in",
"userName": "Ryan Holmes",
"productName": "Avocado Panini",
"orderAmount": 7.99
}
],
"addInputWidgetBinding": "{{Table1.selectedRow.id",
"externalPage": "https://www.appsmith.com/"
}